private void doSetValueAt(Object aValue, int row, int column, MemoryBlock block) {

		switch (column) {
			case NAME:
				setName(block, (String) aValue);
				break;
			case READ: {
				program.withTransaction("Set Read State", () -> {
					boolean value = ((Boolean) aValue).booleanValue();
					block.setRead(value);
					provider.setStatusText("");
				});
				break;
			}
			case WRITE: {
				program.withTransaction("Set Write State", () -> {
					boolean value = ((Boolean) aValue).booleanValue();
					block.setWrite(value);
					provider.setStatusText("");
				});
				break;
			}
			case EXECUTE: {
				program.withTransaction("Set Execute State", () -> {
					boolean value = ((Boolean) aValue).booleanValue();
					block.setExecute(value);
					provider.setStatusText("");
				});
				break;
			}
			case VOLATILE: {
				program.withTransaction("Set Volatile State", () -> {
					boolean value = ((Boolean) aValue).booleanValue();
					block.setVolatile(value);
					provider.setStatusText("");
				});
				break;
			}
			case ARTIFICIAL: {
				program.withTransaction("Set Artificial State", () -> {
					boolean value = ((Boolean) aValue).booleanValue();
					block.setArtificial(value);
					provider.setStatusText("");
				});
				break;
			}
			case INIT:
				MemoryBlockType blockType = block.getType();
				if (blockType == MemoryBlockType.BIT_MAPPED ||
					blockType == MemoryBlockType.BYTE_MAPPED) {
					showMessage("Cannot change intialized memory state of a mapped Block");
					break;
				}
				provider.setStatusText("");
				boolean booleanValue = ((Boolean) aValue).booleanValue();
				if (booleanValue) {
					initializeBlock(block);
				}
				else {
					revertBlockToUninitialized(block);
				}
				break;
			case SOURCE:
				break;
			case COMMENT:
				setComment(block, (String) aValue);
				break;
			default:
				break;
		}
		fireTableRowsUpdated(row, column);
	}
Table Model for a Table where each entry represents a MemoryBlock from a Program's Memory.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/memory/MemoryMapModel.java