@Override
	public DBRecord createRecord(String name, String comments, long categoryID, byte size,
			long sourceArchiveID, long sourceDataTypeID, long lastChangeTime) throws IOException {
		long tableKey = enumTable.getKey();
		long key = DataTypeManagerDB.createKey(DataTypeManagerDB.ENUM, tableKey);
		DBRecord record = V1_ENUM_SCHEMA.createRecord(key);
		record.setString(V1_ENUM_NAME_COL, name);
		record.setString(V1_ENUM_COMMENT_COL, comments);
		record.setLongValue(V1_ENUM_CAT_COL, categoryID);
		record.setByteValue(V1_ENUM_SIZE_COL, size);
		record.setLongValue(V1_ENUM_SOURCE_ARCHIVE_ID_COL, sourceArchiveID);
		record.setLongValue(V1_ENUM_UNIVERSAL_DT_ID_COL, sourceDataTypeID);
		record.setLongValue(V1_ENUM_SOURCE_SYNC_TIME_COL, lastChangeTime);
		record.setLongValue(V1_ENUM_LAST_CHANGE_TIME_COL, lastChangeTime);
		enumTable.putRecord(record);
		return record;
	}
Gets a version 1 adapter for the Enumeration database table.
@param handle handle to the database containing the table.
@param tablePrefix prefix to be used with default table name
@param create true if this constructor should create the table.
@throws VersionException if the table's version does not match the expected version
for this adapter.
@throws IOException an IO error occured during table creation
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/EnumDBAdapterV1.java