Package ontopoly.model
Class OccurrenceField
java.lang.Object
ontopoly.model.Topic
ontopoly.model.FieldDefinition
ontopoly.model.OccurrenceField
Represents an occurrence field.
-
Field Summary
Fields inherited from class ontopoly.model.FieldDefinition
FIELD_TYPE_IDENTITY, FIELD_TYPE_NAME, FIELD_TYPE_OCCURRENCE, FIELD_TYPE_QUERY, FIELD_TYPE_ROLE -
Constructor Summary
ConstructorsConstructorDescriptionOccurrenceField(TopicIF topic, TopicMap tm) OccurrenceField(TopicIF topic, TopicMap tm, OccurrenceType occurrenceType) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Topic topic, Object _value, LifeCycleListener listener) booleanReturns the data type of the occurrence type.Returns the name of this field definition.intintReturns the assigned height of the occurrence text field.Gets the occurrence type to which this field is assigned.intgetWidth()Returns the assigned width of the occurrence text field.voidremoveValue(Topic topic, Object _value, LifeCycleListener listener) Methods inherited from class ontopoly.model.FieldDefinition
getCardinality, getFieldDefinition, getFieldDefinition, getFieldDefinition, getValidationType, getValueView, getViewModes, hashCode, setCardinalityMethods inherited from class ontopoly.model.Topic
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
-
Constructor Details
-
OccurrenceField
-
OccurrenceField
-
-
Method Details
-
getFieldType
public int getFieldType()- Specified by:
getFieldTypein classFieldDefinition- Returns:
- an int that identifies this fieldType
-
getFieldName
Description copied from class:FieldDefinitionReturns the name of this field definition.- Specified by:
getFieldNamein classFieldDefinition
-
getLocator
- Specified by:
getLocatorin classFieldDefinition
-
equals
- Overrides:
equalsin classFieldDefinition
-
getOccurrenceType
Gets the occurrence type to which this field is assigned.- Returns:
- the occurrence type.
-
getDataType
Returns the data type of the occurrence type. -
getHeight
public int getHeight()Returns the assigned height of the occurrence text field. -
getWidth
public int getWidth()Returns the assigned width of the occurrence text field. -
getValues
- Specified by:
getValuesin classFieldDefinition
-
addValue
- Specified by:
addValuein classFieldDefinition
-
removeValue
- Specified by:
removeValuein classFieldDefinition
-