public class UFakeHDSTable
extends UFakeTable
Constructor and Description |
---|
UFakeHDSTable(java.lang.String name) |
UFakeHDSTable(java.lang.String name,
UFakeHDSTable parent) |
Modifier and Type | Method and Description |
---|---|
void |
appendColumn(java.lang.String name,
java.lang.String fullName,
boolean isFldInWhere,
int sqlType,
java.lang.String format,
boolean array,
boolean attribute,
int colIndex) |
UFakeHDSTable |
findTableByName(java.lang.String name) |
java.util.Vector |
getAllCols()
Gets the current table's columns and includes all columns of the sub tables whose attribute property is true.
|
boolean |
getAttrib()
Returns "Attributes" property value which is defined in the table node of HDS data source in the catalog resource tree.
|
java.util.Vector |
getChildren()
Gets all children, including tables and columns.
|
java.util.Vector |
getCols()
Gets the table's columns.
|
java.lang.String |
getFullName()
Gets the table's full name.
|
java.lang.String |
getName() |
java.util.Vector |
getRealTabs()
Gets sub tables which does not include the sub tables whose "Attributes" property is true.
|
InputStreamFactory |
getStreamFactory()
Refers to jet.datasource.InputStreamFactory.
|
java.lang.String |
getTableName()
Gets the table's name.
|
java.util.Vector |
getTabs()
Gets all child tables.
|
java.lang.String |
getURI() |
void |
setAttrib(boolean isAttrib)
Sets "Attributes" property value.
|
void |
setStreamFactory(InputStreamFactory streamFactory)
Refers to jet.datasource.InputStreamFactory.
|
void |
setURI(java.lang.String uri) |
public UFakeHDSTable(java.lang.String name)
public UFakeHDSTable(java.lang.String name, UFakeHDSTable parent)
public void appendColumn(java.lang.String name, java.lang.String fullName, boolean isFldInWhere, int sqlType, java.lang.String format, boolean array, boolean attribute, int colIndex)
public void setURI(java.lang.String uri)
uri
- URI of an XML data resource.
This URI reference is as defined by RFC 2396: Uniform Resource Identifiers (URI): Generic Syntax, amended by RFC 2732: Format for Literal IPv6 Addresses in URLs.public java.lang.String getURI()
public java.lang.String getName()
public java.lang.String getFullName()
public java.lang.String getTableName()
public java.util.Vector getCols()
public java.util.Vector getTabs()
public UFakeHDSTable findTableByName(java.lang.String name)
public java.util.Vector getChildren()
public void setAttrib(boolean isAttrib)
isAttrib
- "Attributes" property value which is defined in the table node of HDS data source in the catalog resource tree.
If true, it indicates that we will take all columns in this table as the column of the parent table.public boolean getAttrib()
public java.util.Vector getAllCols()
public java.util.Vector getRealTabs()
public InputStreamFactory getStreamFactory()
public void setStreamFactory(InputStreamFactory streamFactory)