Class Entity

java.lang.Object
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 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

      protected final 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<Field> ifields
    • cfields

      protected List<Field> cfields
    • rfields

      protected List<Field> rfields
    • requiresTopic

      protected boolean requiresTopic
    • extents

      protected List<String> extents
  • Method Details

    • 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<Field> getCharacteristicFields()
    • getIdentityFields

      public List<Field> getIdentityFields()
    • getRoleFields

      public List<Field> getRoleFields()
    • addField

      public void addField(Field field)
    • requiresTopic

      public boolean requiresTopic()
    • getExtentQueries

      public List<String> getExtentQueries()
    • addExtentQuery

      public void addExtentQuery(String extentQuery)
    • removeExtentQuery

      public void removeExtentQuery(String extentQuery)