Class EBXField
- java.lang.Object
-
- com.orchestranetworks.addon.dint.schema.EBXField
-
-
Constructor Summary
Constructors Constructor Description EBXField()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description EBXField
getChildForeignKeyField(com.orchestranetworks.schema.Path pathInAdaptation)
Returns the child foreign key field if this is a composite foreign key.java.util.Iterator<com.orchestranetworks.schema.Path>
getChildrenForeignKeyPaths()
Returns an iterator of all child foreign key paths if this is a composite foreign key.EBXField
getEnumLabelField()
Returns enumeration label field if this field is a enumeration field.EBXField
getForeignKeyLabelField()
Returns foreign key label field if this field is a foreign key field.abstract com.orchestranetworks.schema.SchemaNode
getSchemaNode()
Returns the schema node of this field.boolean
isComplex()
Returnstrue
if this field is a complex field.boolean
isEnum()
Returnstrue
if this field is a enumeration field.boolean
isEnumLabel()
Returnstrue
if this field is a enumeration label field.boolean
isForeignKey()
Returnstrue
if this field is a foreign key field.boolean
isForeignKeyLabel()
Returnstrue
if this field is a foreign key label field.boolean
isPrimaryKey()
Returnstrue
if this field is a primary key.boolean
isPrimaryKeyLabelIncluded()
Returnstrue
if this field is a record label field.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.orchestranetworks.addon.dint.schema.Field
getDataType, getIndex, getLabel, getPath, getTablePath, isMultiValued
-
-
-
-
Method Detail
-
getSchemaNode
public abstract com.orchestranetworks.schema.SchemaNode getSchemaNode()
Returns the schema node of this field.
-
isPrimaryKey
public boolean isPrimaryKey()
Returnstrue
if this field is a primary key.
-
isForeignKey
public boolean isForeignKey()
Returnstrue
if this field is a foreign key field.
-
isComplex
public boolean isComplex()
Returnstrue
if this field is a complex field.
-
isEnum
public boolean isEnum()
Returnstrue
if this field is a enumeration field.
-
isPrimaryKeyLabelIncluded
public boolean isPrimaryKeyLabelIncluded()
Returnstrue
if this field is a record label field.
-
isForeignKeyLabel
public boolean isForeignKeyLabel()
Returnstrue
if this field is a foreign key label field.
-
isEnumLabel
public boolean isEnumLabel()
Returnstrue
if this field is a enumeration label field.
-
getEnumLabelField
public EBXField getEnumLabelField()
Returns enumeration label field if this field is a enumeration field.- Throws:
java.lang.IllegalStateException
- If this field is not enumeration field.
-
getForeignKeyLabelField
public EBXField getForeignKeyLabelField()
Returns foreign key label field if this field is a foreign key field.- Throws:
java.lang.IllegalStateException
- If this field is not foreign key field.
-
getChildrenForeignKeyPaths
public java.util.Iterator<com.orchestranetworks.schema.Path> getChildrenForeignKeyPaths()
Returns an iterator of all child foreign key paths if this is a composite foreign key.- See Also:
getChildForeignKeyField(Path)
-
getChildForeignKeyField
public EBXField getChildForeignKeyField(com.orchestranetworks.schema.Path pathInAdaptation)
Returns the child foreign key field if this is a composite foreign key.- Throws:
java.lang.IllegalStateException
- If this field is not foreign key field.- See Also:
getChildrenForeignKeyPaths()
-
-