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.
- Version:
- 1.01
- Author:
- Ronald Bourret, Technical University of Darmstadt
-
column
- Column object of the column being mapped.
-
multiValued
- True if the column is mapped to an attribute and that attribute can
be multi-valued (IDREFS, NMTOKENS, or ENTITIES).
-
orderColumn
- Column object of the column that contains order information for the
mapped column.
-
prefixedProperty
- Prefixed name of the element type or attribute to which the column
is mapped.
-
property
- Unprefixed name of the element type or attribute to which the column
is mapped.
-
type
- What the column is mapped to: TYPE_TOELEMENTTYPE, TYPE_TOATTRIBUTE,
or TYPE_TOPCDATA.
-
TYPE_TOATTRIBUTE
- Map the column to an attribute.
-
TYPE_TOELEMENTTYPE
- Map the column to an element type.
-
TYPE_TOPCDATA
- Map the column to PCDATA.
-
ColumnMap()
- Construct a ColumnMap with default values.
-
ColumnMap(int, Column, Column, String, String, boolean)
- Construct a ColumnMap with the specified values.
TYPE_TOELEMENTTYPE
public static final int TYPE_TOELEMENTTYPE
- Map the column to an element type.
TYPE_TOATTRIBUTE
public static final int TYPE_TOATTRIBUTE
- Map the column to an attribute.
TYPE_TOPCDATA
public static final int TYPE_TOPCDATA
- Map the column to PCDATA.
type
public int type
- What the column is mapped to: TYPE_TOELEMENTTYPE, TYPE_TOATTRIBUTE,
or TYPE_TOPCDATA.
column
public Column column
- Column object of the column being mapped.
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.
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
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
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.
ColumnMap
public ColumnMap()
- Construct a ColumnMap with default values.
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