Package net.ontopia.topicmaps.db2tm
Class Entity
java.lang.Object
net.ontopia.topicmaps.db2tm.Entity
INTERNAL: Relation mapping concept that represents topic or
association definitions. This class refer directly to the
and elements in the XML schema. This class is used
only internally and is not intended to be used by end-users.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtentQuery(String extentQuery) voidvoidcompile()intgetId()String[]getScope()String[]getTypes()booleanvoidremoveExtentQuery(String extentQuery) booleanvoidsetAssociationType(String atype) voidsetConditionValue(ValueIF condition) voidsetEntityType(int etype) voidvoidsetPrimary(Boolean primary) voidvoid
-
Field Details
-
TYPE_TOPIC
public static final int TYPE_TOPIC- See Also:
-
TYPE_ASSOCIATION
public static final int TYPE_ASSOCIATION- See Also:
-
etype
protected int etype -
relation
-
-
id
-
condition
-
atype
-
types
-
scope
-
ifields
-
cfields
-
rfields
-
requiresTopic
protected boolean requiresTopic -
extents
-
-
Method Details
-
compile
public void compile() -
getRelation
-
getEntityType
public int getEntityType() -
setEntityType
public void setEntityType(int etype) -
isPrimary
public boolean isPrimary() -
setPrimary
-
getId
-
setId
-
getConditionValue
-
setConditionValue
-
getAssociationType
-
setAssociationType
-
getTypes
-
setTypes
-
getScope
-
setScope
-
getCharacteristicFields
-
getIdentityFields
-
getRoleFields
-
addField
-
requiresTopic
public boolean requiresTopic() -
getExtentQueries
-
addExtentQuery
-
removeExtentQuery
-