net.ontopia.topicmaps.db2tm
Class Field
java.lang.Object
net.ontopia.topicmaps.db2tm.Field
public class Field
- extends java.lang.Object
INTERNAL: Relation mapping concept that refers to a field
definition belonging to an entity. There are two categories of
fields: identity fields and characteristic fields.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE_SUBJECT_LOCATOR
public static final int TYPE_SUBJECT_LOCATOR
- See Also:
- Constant Field Values
TYPE_SUBJECT_IDENTIFIER
public static final int TYPE_SUBJECT_IDENTIFIER
- See Also:
- Constant Field Values
TYPE_ITEM_IDENTIFIER
public static final int TYPE_ITEM_IDENTIFIER
- See Also:
- Constant Field Values
TYPE_TOPIC_NAME
public static final int TYPE_TOPIC_NAME
- See Also:
- Constant Field Values
TYPE_OCCURRENCE
public static final int TYPE_OCCURRENCE
- See Also:
- Constant Field Values
TYPE_PLAYER
public static final int TYPE_PLAYER
- See Also:
- Constant Field Values
TYPE_ASSOCIATION_ROLE
public static final int TYPE_ASSOCIATION_ROLE
- See Also:
- Constant Field Values
ftype
protected int ftype
entity
protected Entity entity
column
protected java.lang.String column
pattern
protected java.lang.String pattern
type
protected java.lang.String type
scope
protected java.lang.String[] scope
datatype
protected java.lang.String datatype
atype
protected java.lang.String atype
rtype
protected java.lang.String rtype
player
protected java.lang.String player
oroles
protected java.util.List oroles
OPTIONAL_DEFAULT
public static final int OPTIONAL_DEFAULT
- See Also:
- Constant Field Values
OPTIONAL_TRUE
public static final int OPTIONAL_TRUE
- See Also:
- Constant Field Values
OPTIONAL_FALSE
public static final int OPTIONAL_FALSE
- See Also:
- Constant Field Values
optional
protected int optional
cvalue
protected ValueIF cvalue
compile
public void compile()
getEntity
public Entity getEntity()
getFieldType
public int getFieldType()
getColumn
public java.lang.String getColumn()
setColumn
public void setColumn(java.lang.String column)
getPattern
public java.lang.String getPattern()
setPattern
public void setPattern(java.lang.String pattern)
getType
public java.lang.String getType()
setType
public void setType(java.lang.String type)
getDatatype
public java.lang.String getDatatype()
setDatatype
public void setDatatype(java.lang.String datatype)
getScope
public java.lang.String[] getScope()
setScope
public void setScope(java.lang.String[] scope)
getOptional
public int getOptional()
setOptional
public void setOptional(boolean optional)
getAssociationType
public java.lang.String getAssociationType()
setAssociationType
public void setAssociationType(java.lang.String atype)
getRoleType
public java.lang.String getRoleType()
setRoleType
public void setRoleType(java.lang.String rtype)
getPlayer
public java.lang.String getPlayer()
setPlayer
public void setPlayer(java.lang.String player)
addOtherRoleField
public void addOtherRoleField(Field orole)
getOtherRoleFields
public java.util.List getOtherRoleFields()
getValue
public java.lang.String getValue(java.lang.String[] tuple)
compileValue
protected void compileValue()
Copyright © 2000-2012 Ontopia.