public abstract class FieldDefinition extends Topic
Modifier and Type | Field and Description |
---|---|
static int |
FIELD_TYPE_IDENTITY |
static int |
FIELD_TYPE_NAME |
static int |
FIELD_TYPE_OCCURRENCE |
static int |
FIELD_TYPE_QUERY |
static int |
FIELD_TYPE_ROLE |
Modifier | Constructor and Description |
---|---|
protected |
FieldDefinition(TopicIF topic,
TopicMap tm) |
Modifier and Type | Method and Description |
---|---|
abstract void |
addValue(Topic topic,
Object _value,
LifeCycleListener listener) |
boolean |
equals(Object obj) |
Cardinality |
getCardinality()
Returns the cardinality of the field on this topic type.
|
static FieldDefinition |
getFieldDefinition(String fieldId,
int fieldType,
TopicMap tm) |
static FieldDefinition |
getFieldDefinition(String fieldId,
TopicMap tm) |
static FieldDefinition |
getFieldDefinition(TopicIF fieldTopic,
TopicMap tm) |
abstract String |
getFieldName()
Returns the name of this field definition.
|
abstract int |
getFieldType() |
abstract LocatorIF |
getLocator() |
String |
getValidationType()
Returns the validation type.
|
abstract Collection<? extends Object> |
getValues(Topic topic) |
FieldsView |
getValueView(FieldsView view) |
ViewModes |
getViewModes(FieldsView view) |
int |
hashCode() |
abstract void |
removeValue(Topic topic,
Object _value,
LifeCycleListener listener) |
void |
setCardinality(Cardinality cardinality)
Sets the cardinality of the field on this topic type.
|
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 static final int FIELD_TYPE_ROLE
public static final int FIELD_TYPE_OCCURRENCE
public static final int FIELD_TYPE_NAME
public static final int FIELD_TYPE_IDENTITY
public static final int FIELD_TYPE_QUERY
public abstract int getFieldType()
public abstract String getFieldName()
public abstract LocatorIF getLocator()
public ViewModes getViewModes(FieldsView view)
public FieldsView getValueView(FieldsView view)
public Cardinality getCardinality()
public void setCardinality(Cardinality cardinality)
public String getValidationType()
public abstract Collection<? extends Object> getValues(Topic topic)
public abstract void addValue(Topic topic, Object _value, LifeCycleListener listener)
public abstract void removeValue(Topic topic, Object _value, LifeCycleListener listener)
public static FieldDefinition getFieldDefinition(String fieldId, TopicMap tm)
public static FieldDefinition getFieldDefinition(String fieldId, int fieldType, TopicMap tm)
public static FieldDefinition getFieldDefinition(TopicIF fieldTopic, TopicMap tm)