|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.virginia.dcjs.relational.ColumnMetaData
Contains column information as used by TupleMetaData.
* Its contents can also be exported to XML in compliance with the
* recorset.xsd schema by calling its toXML
* method.
| Constructor Summary | |
ColumnMetaData()
|
|
ColumnMetaData(java.lang.String name,
java.lang.String type,
int size)
|
|
| Method Summary | |
java.lang.Object |
clone()
Clone this Column meta data * @return Object clone of this Column meta data |
boolean |
equals(java.lang.Object other)
Determine if this object and the provided one are equivalent. |
java.lang.String |
getName()
Obtain the name of the field this column represents * @return Field name of the column |
int |
getSize()
Obtain the size of data this column represents * @return Field width of the column in characters |
java.lang.String |
getType()
Obtain the type of data this column represents * @return Field type of the column |
java.lang.String |
toString()
Provide this column's information * @return Column information in the format |
java.lang.String |
toXML(java.lang.String ns)
Provide this column's meta data in XML in compliance with the * recorset.xsd schema's columnMetaData
* tag element. |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ColumnMetaData()
public ColumnMetaData(java.lang.String name,
java.lang.String type,
int size)
name - Field name of the column
* @param type Type of the column
* @param size Width of the column in characters| Method Detail |
public java.lang.Object clone()
public java.lang.String getName()
public java.lang.String getType()
public int getSize()
public boolean equals(java.lang.Object other)
ColumnMetaData object to check for equality.
* @return True for equivalent meta data objects, false otherwise.
public java.lang.String toString()
public java.lang.String toXML(java.lang.String ns)
recorset.xsd schema's columnMetaData
* tag element.
* @param ns Namespace prefix, if desired, or null
* otherwise.
* @return XML equivalent of this column's meta data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||