net.ontopia.topicmaps.db2tm
Class Entity

java.lang.Object
  extended by net.ontopia.topicmaps.db2tm.Entity

public class Entity
extends java.lang.Object

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
static int TYPE_ASSOCIATION
           
static int TYPE_TOPIC
           
 
Method Summary
 void addExtentQuery(java.lang.String extentQuery)
           
 void addField(Field field)
           
 void compile()
           
 java.lang.String getAssociationType()
           
 java.util.List getCharacteristicFields()
           
 ValueIF getConditionValue()
           
 int getEntityType()
           
 java.util.List getExtentQueries()
           
 java.lang.String getId()
           
 java.util.List getIdentityFields()
           
 Relation getRelation()
           
 java.util.List getRoleFields()
           
 java.lang.String[] getScope()
           
 java.lang.String[] getTypes()
           
 boolean isPrimary()
           
 boolean isRepeatable()
           
 void removeExtentQuery(java.lang.String extentQuery)
           
 boolean requiresTopic()
           
 void setAssociationType(java.lang.String atype)
           
 void setConditionValue(ValueIF condition)
           
 void setEntityType(int etype)
           
 void setId(java.lang.String id)
           
 void setPrimary(java.lang.Boolean primary)
           
 void setRepeatable(java.lang.Boolean repeatable)
           
 void setScope(java.lang.String[] scope)
           
 void setTypes(java.lang.String[] types)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_TOPIC

public static final int TYPE_TOPIC
See Also:
Constant Field Values

TYPE_ASSOCIATION

public static final int TYPE_ASSOCIATION
See Also:
Constant Field Values
Method Detail

compile

public void compile()

getRelation

public Relation getRelation()

getEntityType

public int getEntityType()

setEntityType

public void setEntityType(int etype)

isPrimary

public boolean isPrimary()

setPrimary

public void setPrimary(java.lang.Boolean primary)

isRepeatable

public boolean isRepeatable()

setRepeatable

public void setRepeatable(java.lang.Boolean repeatable)

getId

public java.lang.String getId()

setId

public void setId(java.lang.String id)

getConditionValue

public ValueIF getConditionValue()

setConditionValue

public void setConditionValue(ValueIF condition)

getAssociationType

public java.lang.String getAssociationType()

setAssociationType

public void setAssociationType(java.lang.String atype)

getTypes

public java.lang.String[] getTypes()

setTypes

public void setTypes(java.lang.String[] types)

getScope

public java.lang.String[] getScope()

setScope

public void setScope(java.lang.String[] scope)

getCharacteristicFields

public java.util.List getCharacteristicFields()

getIdentityFields

public java.util.List getIdentityFields()

getRoleFields

public java.util.List getRoleFields()

addField

public void addField(Field field)

requiresTopic

public boolean requiresTopic()

getExtentQueries

public java.util.List getExtentQueries()

addExtentQuery

public void addExtentQuery(java.lang.String extentQuery)

removeExtentQuery

public void removeExtentQuery(java.lang.String extentQuery)


Copyright © 2000-2009 Ontopia.