All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class de.tudarmstadt.ito.xmldbms.ColumnMap

java.lang.Object
   |
   +----de.tudarmstadt.ito.xmldbms.ColumnMap

public class ColumnMap
extends Object
Maps a column to an element type, attribute, or PCDATA; not for general use.

ColumnMaps are stored in TableMaps.


Variable Index

 o column
Column object of the column being mapped.
 o multiValued
True if the column is mapped to an attribute and that attribute can be multi-valued (IDREFS, NMTOKENS, or ENTITIES).
 o orderColumn
Column object of the column that contains order information for the mapped column.
 o prefixedProperty
Prefixed name of the element type or attribute to which the column is mapped.
 o property
Unprefixed name of the element type or attribute to which the column is mapped.
 o type
What the column is mapped to: TYPE_TOELEMENTTYPE, TYPE_TOATTRIBUTE, or TYPE_TOPCDATA.
 o TYPE_TOATTRIBUTE
Map the column to an attribute.
 o TYPE_TOELEMENTTYPE
Map the column to an element type.
 o TYPE_TOPCDATA
Map the column to PCDATA.

Constructor Index

 o ColumnMap()
Construct a ColumnMap with default values.
 o ColumnMap(int, Column, Column, String, String, boolean)
Construct a ColumnMap with the specified values.

Variables

 o TYPE_TOELEMENTTYPE
 public static final int TYPE_TOELEMENTTYPE
Map the column to an element type.

 o TYPE_TOATTRIBUTE
 public static final int TYPE_TOATTRIBUTE
Map the column to an attribute.

 o TYPE_TOPCDATA
 public static final int TYPE_TOPCDATA
Map the column to PCDATA.

 o type
 public int type
What the column is mapped to: TYPE_TOELEMENTTYPE, TYPE_TOATTRIBUTE, or TYPE_TOPCDATA.

 o column
 public Column column
Column object of the column being mapped.

 o orderColumn
 public Column orderColumn
Column object of the column that contains order information for the mapped column. Null if the there is no order information associated with the mapped column.

 o property
 public String property
Unprefixed name of the element type or attribute to which the column is mapped. Null if the column is mapped to PCDATA. In the future, this and prefixedProperty should be replaced with an NSName.

See Also:
usePrefixes
 o prefixedProperty
 public String prefixedProperty
Prefixed name of the element type or attribute to which the column is mapped. Null if the column is mapped to PCDATA. In the future, this and property should be replaced with an NSName.

See Also:
usePrefixes
 o multiValued
 public boolean multiValued
True if the column is mapped to an attribute and that attribute can be multi-valued (IDREFS, NMTOKENS, or ENTITIES). Otherwise false.

Constructors

 o ColumnMap
 public ColumnMap()
Construct a ColumnMap with default values.

 o ColumnMap
 public ColumnMap(int type,
                  Column column,
                  Column orderColumn,
                  String property,
                  String prefixedProperty,
                  boolean multiValued)
Construct a ColumnMap with the specified values.


All Packages  Class Hierarchy  This Package  Previous  Next  Index