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.
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 |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
QueryField
public QueryField(TopicIF topic,
TopicMap tm)
getFieldType
public int getFieldType()
- Specified by:
getFieldType
in class FieldDefinition
- Returns:
- an int that identifies this fieldType
getFieldName
public java.lang.String getFieldName()
- Description copied from class:
FieldDefinition
- Returns the name of this field definition.
- Specified by:
getFieldName
in class FieldDefinition
getLocator
public LocatorIF getLocator()
- Specified by:
getLocator
in class FieldDefinition
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class FieldDefinition
getValues
public java.util.List<java.lang.Object> getValues(Topic topic)
- Returns the result from executing the values query.
- Specified by:
getValues
in class FieldDefinition
- Parameters:
topic
- the topic from which the values is retrieved.
- Returns:
- a collection of objects.
addValue
public void addValue(Topic topic,
java.lang.Object _value,
LifeCycleListener listener)
- Not supported.
- Specified by:
addValue
in class FieldDefinition
removeValue
public void removeValue(Topic topic,
java.lang.Object _value,
LifeCycleListener listener)
- Not supported.
- Specified by:
removeValue
in class FieldDefinition
Copyright © 2000-2012 Ontopia.