Package ontopoly.model
Class QueryField
- java.lang.Object
-
- ontopoly.model.Topic
-
- ontopoly.model.FieldDefinition
-
- ontopoly.model.QueryField
-
public class QueryField extends FieldDefinition
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 Constructor Description QueryField(TopicIF topic, TopicMap tm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddValue(Topic topic, Object _value, LifeCycleListener listener)Not supported.booleanequals(Object obj)StringgetFieldName()Returns the name of this field definition.intgetFieldType()LocatorIFgetLocator()List<Object>getValues(Topic topic)Returns 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, setCardinality
-
Methods 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
-
-
-
-
Method Detail
-
getFieldType
public int getFieldType()
- Specified by:
getFieldTypein classFieldDefinition- Returns:
- an int that identifies this fieldType
-
getFieldName
public String getFieldName()
Description copied from class:FieldDefinitionReturns the name of this field definition.- Specified by:
getFieldNamein classFieldDefinition
-
getLocator
public LocatorIF getLocator()
- Specified by:
getLocatorin classFieldDefinition
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classFieldDefinition
-
getValues
public List<Object> getValues(Topic topic)
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
public void addValue(Topic topic, Object _value, LifeCycleListener listener)
Not supported.- Specified by:
addValuein classFieldDefinition
-
removeValue
public void removeValue(Topic topic, Object _value, LifeCycleListener listener)
Not supported.- Specified by:
removeValuein classFieldDefinition
-
-