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

Variable Index

 o column
A Column object describing the column to which the property is mapped.
 o linkInfo
A LinkInfo object containing the information needed to link the class table to the property table.
 o multiValued
True if the property is a multi-valued attribute (IDREFS, NMTOKENS, or ENTITIES); otherwise false.
 o name
Name of the property.
 o orderInfo
An OrderInfo object describing the column containing the order information for the property.
 o table
A Table object describing the property table.
 o type
The map type: TYPE_TOCOLUMN or TYPE_TOPROPERTYTABLE.
 o TYPE_TOCOLUMN
Map the property to a column in the class table.
 o TYPE_TOPROPERTYTABLE
Map the property to a column in a separate property table.

Constructor Index

 o PropertyMap()

Variables

 o TYPE_TOCOLUMN
 public static final int TYPE_TOCOLUMN
Map the property to a column in the class table.

 o TYPE_TOPROPERTYTABLE
 public static final int TYPE_TOPROPERTYTABLE
Map the property to a column in a separate property table.

 o 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.

 o type
 public int type
The map type: TYPE_TOCOLUMN or TYPE_TOPROPERTYTABLE.

 o 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.

 o 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.

 o 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.

 o 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.

 o multiValued
 public boolean multiValued
True if the property is a multi-valued attribute (IDREFS, NMTOKENS, or ENTITIES); otherwise false.

Constructors

 o PropertyMap
 public PropertyMap()

All Packages  Class Hierarchy  This Package  Previous  Next  Index