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, setCardinality
addTopicType, 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, toString
public OccurrenceField(TopicIF topic, TopicMap tm, OccurrenceType occurrenceType)
public int getFieldType()
getFieldType
in class FieldDefinition
public String getFieldName()
FieldDefinition
getFieldName
in class FieldDefinition
public LocatorIF getLocator()
getLocator
in class FieldDefinition
public boolean equals(Object obj)
equals
in class FieldDefinition
public OccurrenceType getOccurrenceType()
public DataType getDataType()
public int getHeight()
public int getWidth()
public List<OccurrenceIF> getValues(Topic topic)
getValues
in class FieldDefinition
public void addValue(Topic topic, Object _value, LifeCycleListener listener)
addValue
in class FieldDefinition
public void removeValue(Topic topic, Object _value, LifeCycleListener listener)
removeValue
in class FieldDefinition