|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--net.windward.datasource.MetaDataElement
This represents a node of metadata used by AutoTag. This data can be SQL tables, XML lists, or a data element in a user created datasource.
| Field Summary | |
static int |
DATA_BLOB
A binary BLOB. |
static int |
DATA_DATETIME
A date and time. |
static int |
DATA_DECIMAL
A decimal number (usually money). |
static int |
DATA_DOUBLE
A floating point number. |
static int |
DATA_LONG
An integer. |
static int |
DATA_OTHER
A type of data that does not fit any of the pre-defined types. |
static int |
DATA_STRING
A string. |
static int |
TYPE_ATTRIBUTE
An XML attribute or equivilent. |
static int |
TYPE_COLUMN
A SQL column or equivilent. |
static int |
TYPE_NODE
An XML node or equivilent. |
static int |
TYPE_OTHER
A type of node that does not fit any of the pre-defined types. |
static int |
TYPE_STAT
The statistics of a query such as the number of nodes returned. |
static int |
TYPE_STATUS
The status of a datasource such as an error was returned on a query. |
static int |
TYPE_TABLE
A SQL table or equivilent. |
static int |
TYPE_TABLES
A SQL set of tables or equivilent. |
| Constructor Summary | |
MetaDataElement(java.lang.String name,
java.lang.String select,
java.lang.String description,
int dataType,
int metaType)
Create a MetaData object. |
|
MetaDataElement(java.lang.String name,
java.lang.String select,
java.lang.String description,
int dataType,
int metaType,
MetaDataElement[] children)
Create a MetaData object. |
|
| Method Summary | |
MetaDataElement[] |
getChildren()
The children nodes of this node. |
int |
getDataType()
One of the DATA_* constants. |
java.lang.String |
getDescription()
The description of the node from the datasource metadata. |
int |
getMetaType()
One of the TYPE_* constants. |
java.lang.String |
getName()
The name of the node such as the table or column name. |
java.lang.String |
getSelect()
The select that created this node. |
void |
setChildren(MetaDataElement[] children)
The children nodes of this node. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DATA_OTHER
public static final int DATA_LONG
public static final int DATA_DOUBLE
public static final int DATA_STRING
public static final int DATA_BLOB
public static final int DATA_DECIMAL
public static final int DATA_DATETIME
public static final int TYPE_OTHER
public static final int TYPE_TABLES
public static final int TYPE_TABLE
public static final int TYPE_COLUMN
public static final int TYPE_NODE
public static final int TYPE_ATTRIBUTE
public static final int TYPE_STATUS
public static final int TYPE_STAT
| Constructor Detail |
public MetaDataElement(java.lang.String name,
java.lang.String select,
java.lang.String description,
int dataType,
int metaType)
name - The name of the node such as the table or column name.select - The select that created this node. This can be null.description - The description of the node from the datasource metadata. Null if there is no description.dataType - One of the DATA_* constants.metaType - One of the TYPE_* constants.
public MetaDataElement(java.lang.String name,
java.lang.String select,
java.lang.String description,
int dataType,
int metaType,
MetaDataElement[] children)
name - The name of the node such as the table or column name.select - The select that created this node. This can be null.description - The description of the node from the datasource metadata. Null if there is no description.dataType - One of the DATA_* constants.metaType - One of the TYPE_* constants.children - The children nodes of this node. For example the column nodes are children of the table node.| Method Detail |
public java.lang.String getName()
public java.lang.String getSelect()
public java.lang.String getDescription()
public int getDataType()
public int getMetaType()
public MetaDataElement[] getChildren()
public void setChildren(MetaDataElement[] children)
children - The children nodes of this node. For example the column nodes are children of the table node.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||