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
protected  java.lang.String atype
           
protected  java.util.List cfields
           
protected  ValueIF condition
           
protected  int etype
           
protected  java.util.List extents
           
protected  java.lang.String id
           
protected  java.util.List ifields
           
protected  java.lang.Boolean primary
           
protected  Relation relation
           
protected  boolean requiresTopic
           
protected  java.util.List rfields
           
protected  java.lang.String[] scope
           
static int TYPE_ASSOCIATION
           
static int TYPE_TOPIC
           
protected  java.lang.String[] types
           
 
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()
           
 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 setScope(java.lang.String[] scope)
           
 void setTypes(java.lang.String[] types)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

etype

protected int etype

relation

protected Relation relation

primary

protected java.lang.Boolean primary

id

protected java.lang.String id

condition

protected ValueIF condition

atype

protected java.lang.String atype

types

protected java.lang.String[] types

scope

protected java.lang.String[] scope

ifields

protected java.util.List ifields

cfields

protected java.util.List cfields

rfields

protected java.util.List rfields

requiresTopic

protected boolean requiresTopic

extents

protected java.util.List extents
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)

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-2012 Ontopia.