Package ontopoly.model
Class QueryField
java.lang.Object
ontopoly.model.Topic
ontopoly.model.FieldDefinition
ontopoly.model.QueryField
Represents a query 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddValue(Topic topic, Object _value, LifeCycleListener listener) Not supported.booleanReturns the name of this field definition.intReturns the result from executing the values query.voidremoveValue(Topic topic, Object _value, LifeCycleListener listener) Not supported.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
-
QueryField
-
-
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
-
getValues
Returns the result from executing the values query.- Specified by:
getValuesin classFieldDefinition- Parameters:
topic- the topic from which the values is retrieved.- Returns:
- a collection of objects.
-
addValue
Not supported.- Specified by:
addValuein classFieldDefinition
-
removeValue
Not supported.- Specified by:
removeValuein classFieldDefinition
-