public class OccurrenceField extends FieldDefinition
FIELD_TYPE_IDENTITY, FIELD_TYPE_NAME, FIELD_TYPE_OCCURRENCE, FIELD_TYPE_QUERY, FIELD_TYPE_ROLE| Constructor and Description |
|---|
OccurrenceField(TopicIF topic,
TopicMap tm) |
OccurrenceField(TopicIF topic,
TopicMap tm,
OccurrenceType occurrenceType) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Topic topic,
Object _value,
LifeCycleListener listener) |
boolean |
equals(Object obj) |
DataType |
getDataType()
Returns the data type of the occurrence type.
|
String |
getFieldName()
Returns the name of this field definition.
|
int |
getFieldType() |
int |
getHeight()
Returns the assigned height of the occurrence text field.
|
LocatorIF |
getLocator() |
OccurrenceType |
getOccurrenceType()
Gets the occurrence type to which this field is assigned.
|
List<OccurrenceIF> |
getValues(Topic topic) |
int |
getWidth()
Returns the assigned width of the occurrence text field.
|
void |
removeValue(Topic topic,
Object _value,
LifeCycleListener listener) |
getCardinality, getFieldDefinition, getFieldDefinition, getFieldDefinition, getValidationType, getValueView, getViewModes, hashCode, setCardinalityaddTopicType, copyCharacteristics, findDependentObjects, getDependentObjects, getFieldInstances, getFieldInstances, getId, getMostSpecificTopicType, getName, getTopicIF, getTopicMap, getTopicTypes, isAssociationType, isFieldDefinition, isInstanceOf, isInstanceOf, isNameType, isOccurrenceType, isOntologyTopic, isOntologyType, isPrivateSystemTopic, isPublicSystemTopic, isRoleType, isSystemTopic, isTopicMap, isTopicType, remove, removeTopicType, toStringpublic OccurrenceField(TopicIF topic, TopicMap tm, OccurrenceType occurrenceType)
public int getFieldType()
getFieldType in class FieldDefinitionpublic String getFieldName()
FieldDefinitiongetFieldName in class FieldDefinitionpublic LocatorIF getLocator()
getLocator in class FieldDefinitionpublic boolean equals(Object obj)
equals in class FieldDefinitionpublic OccurrenceType getOccurrenceType()
public DataType getDataType()
public int getHeight()
public int getWidth()
public List<OccurrenceIF> getValues(Topic topic)
getValues in class FieldDefinitionpublic void addValue(Topic topic, Object _value, LifeCycleListener listener)
addValue in class FieldDefinitionpublic void removeValue(Topic topic, Object _value, LifeCycleListener listener)
removeValue in class FieldDefinition