public class CodeTableProperty extends AbstractCodeTable implements RecordDefinitionProperty
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME |
| Constructor and Description |
|---|
CodeTableProperty() |
addValue, addValue, addValues, close, getId, getId, getId, getId, getIdByValue, getIdentifiers, getIdExact, getIdExact, getIdExact, getIdValueCache, getName, getNextId, getPropertyChangeSupport, getSwingEditor, getValue, getValueById, getValues, isCapitalizeWords, isCaseSensitive, isEmpty, setCapitalizeWords, setCaseSensitive, setName, setSwingEditorpublic static final String PROPERTY_NAME
public static final CodeTableProperty getProperty(RecordDefinition recordDefinition)
public void addFieldAlias(String columnName)
public void addValue(Record code)
public CodeTableProperty clone()
clone in interface RecordDefinitionPropertyclone in class AbstractCodeTableprotected Identifier createId(List<Object> values)
public Map<Identifier,List<Object>> getCodes()
getCodes in interface CodeTablegetCodes in class AbstractCodeTablepublic String getCreationTimestampFieldName()
public List<String> getFieldAliases()
getFieldAliases in interface CodeTablegetFieldAliases in class AbstractCodeTablepublic String getIdFieldName()
getIdFieldName in interface CodeTablepublic Map<String,? extends Object> getMap(Identifier id)
getMap in interface CodeTablegetMap in class AbstractCodeTablepublic String getModificationTimestampFieldName()
public String getPropertyName()
getPropertyName in interface RecordDefinitionPropertypublic Record getRecord(Identifier id)
public RecordDefinition getRecordDefinition()
getRecordDefinition in interface RecordDefinitionPropertypublic RecordStore getRecordStore()
public String getTypeName()
public <V> V getValue(Object id)
getValue in interface CodeTablegetValue in class AbstractCodeTablepublic List<String> getValueFieldNames()
getValueFieldNames in interface CodeTablegetValueFieldNames in class AbstractCodeTablepublic boolean isCreateMissingCodes()
public boolean isLoadAll()
public boolean isLoaded()
isLoaded in interface CodeTableisLoaded in class AbstractCodeTablepublic boolean isLoading()
isLoading in interface CodeTableisLoading in class AbstractCodeTablepublic void loadAll()
protected Identifier loadId(List<Object> values, boolean createId)
loadId in class AbstractCodeTableprotected List<Object> loadValues(Object id)
loadValues in class AbstractCodeTablepublic void refresh()
refresh in interface CodeTablerefresh in class AbstractCodeTablepublic void setCreateMissingCodes(boolean createMissingCodes)
public void setCreationTimestampFieldName(String creationTimestampFieldName)
public void setIdFieldName(String idFieldName)
public void setLoadAll(boolean loadAll)
public void setLoadMissingCodes(boolean loadMissingCodes)
public void setModificationTimestampFieldName(String modificationTimestampFieldName)
public void setRecordDefinition(RecordDefinition recordDefinition)
setRecordDefinition in interface RecordDefinitionPropertypublic void setValueFieldName(String valueColumns)
public void setValueFieldNames(String... valueColumns)
Copyright © 2015 Revolution Systems Inc.. All rights reserved.