All Packages Class Hierarchy This Package Previous Next Index
Class de.tudarmstadt.ito.xmldbms.PropertyMap
java.lang.Object
|
+----de.tudarmstadt.ito.xmldbms.PropertyMap
- public class PropertyMap
- extends Object
Maps an element type, attribute, or PCDATA as a property; not for general use.
PropertyMap contains information about an element type-as-property,
attribute, or PCDATA: how it is mapped, what table/column it is mapped
to, etc. Note that the name of the mapped element type or attribute is
not actually stored in the class; PropertyMaps are stored in hash tables
in ClassMaps that are keyed by element type or attribute name.
- Version:
- 1.01
- Author:
- Ronald Bourret, Technical University of Darmstadt
-
column
- A Column object describing the column to which the property is mapped.
-
linkInfo
- A LinkInfo object containing the information needed to link the
class table to the property table.
-
multiValued
- True if the property is a multi-valued attribute (IDREFS, NMTOKENS, or
ENTITIES); otherwise false.
-
name
- Name of the property.
-
orderInfo
- An OrderInfo object describing the column containing the order
information for the property.
-
table
- A Table object describing the property table.
-
type
- The map type: TYPE_TOCOLUMN or TYPE_TOPROPERTYTABLE.
-
TYPE_TOCOLUMN
- Map the property to a column in the class table.
-
TYPE_TOPROPERTYTABLE
- Map the property to a column in a separate property table.
-
PropertyMap()
-
TYPE_TOCOLUMN
public static final int TYPE_TOCOLUMN
- Map the property to a column in the class table.
TYPE_TOPROPERTYTABLE
public static final int TYPE_TOPROPERTYTABLE
- Map the property to a column in a separate property table.
name
public NSName name
- Name of the property. This is the element or attribute name; it is
ignored for PCDATA. It includes full namespace information.
type
public int type
- The map type: TYPE_TOCOLUMN or TYPE_TOPROPERTYTABLE.
table
public Table table
- A Table object describing the property table. This is null if the
property is mapped to a column in the class table.
linkInfo
public LinkInfo linkInfo
- A LinkInfo object containing the information needed to link the
class table to the property table. Null if the property is mapped to
a column in the class table.
column
public Column column
- A Column object describing the column to which the property is mapped.
Depending on the type variable, this column is either in the class
table or a separate property table.
orderInfo
public OrderInfo orderInfo
- An OrderInfo object describing the column containing the order
information for the property. If there is no order information, this
object still exists, but has its orderColumn member set to null.
multiValued
public boolean multiValued
- True if the property is a multi-valued attribute (IDREFS, NMTOKENS, or
ENTITIES); otherwise false.
PropertyMap
public PropertyMap()
All Packages Class Hierarchy This Package Previous Next Index