net.ontopia.topicmaps.db2tm
Class Entity

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

public class Entity
extends 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  String atype
           
protected  List cfields
           
protected  ValueIF condition
           
protected  int etype
           
protected  List extents
           
protected  String id
           
protected  List ifields
           
protected  Boolean primary
           
protected  Relation relation
           
protected  boolean requiresTopic
           
protected  List rfields
           
protected  String[] scope
           
static int TYPE_ASSOCIATION
           
static int TYPE_TOPIC
           
protected  String[] types
           
 
Method Summary
 void addExtentQuery(String extentQuery)
           
 void addField(Field field)
           
 void compile()
           
 String getAssociationType()
           
 List getCharacteristicFields()
           
 ValueIF getConditionValue()
           
 int getEntityType()
           
 List getExtentQueries()
           
 String getId()
           
 List getIdentityFields()
           
 Relation getRelation()
           
 List getRoleFields()
           
 String[] getScope()
           
 String[] getTypes()
           
 boolean isPrimary()
           
 void removeExtentQuery(String extentQuery)
           
 boolean requiresTopic()
           
 void setAssociationType(String atype)
           
 void setConditionValue(ValueIF condition)
           
 void setEntityType(int etype)
           
 void setId(String id)
           
 void setPrimary(Boolean primary)
           
 void setScope(String[] scope)
           
 void setTypes(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 Boolean primary

id

protected String id

condition

protected ValueIF condition

atype

protected String atype

types

protected String[] types

scope

protected String[] scope

ifields

protected List ifields

cfields

protected List cfields

rfields

protected List rfields

requiresTopic

protected boolean requiresTopic

extents

protected 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(Boolean primary)

getId

public String getId()

setId

public void setId(String id)

getConditionValue

public ValueIF getConditionValue()

setConditionValue

public void setConditionValue(ValueIF condition)

getAssociationType

public String getAssociationType()

setAssociationType

public void setAssociationType(String atype)

getTypes

public String[] getTypes()

setTypes

public void setTypes(String[] types)

getScope

public String[] getScope()

setScope

public void setScope(String[] scope)

getCharacteristicFields

public List getCharacteristicFields()

getIdentityFields

public List getIdentityFields()

getRoleFields

public List getRoleFields()

addField

public void addField(Field field)

requiresTopic

public boolean requiresTopic()

getExtentQueries

public List getExtentQueries()

addExtentQuery

public void addExtentQuery(String extentQuery)

removeExtentQuery

public void removeExtentQuery(String extentQuery)


Copyright © 2000-2012 Ontopia.