|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.Table
public class Table
This object implements a table from a database. The data contained in the
table may be accessed through the getDataFields
method. When possible, use the ITable interface to manipulate this
object.
| Constructor Summary | |
|---|---|
Table()
Constructor for a Table object. |
|
Table(ITable src)
Constructor for a Table object that creates a copy of an ITable object. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
java.lang.String |
getAlias()
Returns the alias that is used to identify the table. |
IConnection |
getConnection()
For internal use only |
IConnectionInfo |
getConnectionInfo()
Returns information about the connection to the database that the table belongs to. |
Fields |
getDataFields()
Returns the data fields that the table contains. |
java.lang.String |
getDescription()
Returns a description of the table. |
Indexes |
getIndexes()
For internal use only |
boolean |
getIsLinkable()
For internal use only |
java.lang.String |
getName()
Returns the name of the table. |
java.lang.String |
getQualifiedName()
Returns the fully qualified name of the table. |
boolean |
hasContent(java.lang.Object srcTable)
|
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
setAlias(java.lang.String alias)
Sets the alias that is used to identify the table. |
void |
setConnection(IConnection connection)
For internal use only |
void |
setConnectionInfo(IConnectionInfo connectionInfo)
Sets information about the connection to the database that the table belongs to. |
void |
setDataFields(Fields dataFields)
Sets the data fields that the table contains. |
void |
setDescription(java.lang.String description)
Sets the description of the table. |
void |
setIndexes(Indexes indexes)
For internal use only |
void |
setIsLinkable(boolean isLinkable)
For internal use only |
void |
setName(java.lang.String name)
Sets the name of the table. |
void |
setQualifiedName(java.lang.String qualifiedName)
Sets the fully qualified name of the table. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Table(ITable src)
src - the table to copypublic Table()
| Method Detail |
|---|
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only.
public void endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only.
public java.lang.String getAlias()
ITableReturns the alias that is used to identify the table. The alias may be different than the name of the table.
getAlias in interface ITableString containing the alias that is used to identify the table.public IConnectionInfo getConnectionInfo()
ITableReturns information about the connection to the database that the table belongs to.
getConnectionInfo in interface ITableIConnectionInfo object that contains information about the
connection to the database that the table belongs to.public Fields getDataFields()
ITableReturns the data fields that the table contains.
getDataFields in interface ITableFields object containing the data fields that the table contains.public java.lang.String getDescription()
ITableReturns a description of the table.
getDescription in interface ITableString containing a description of the table.public java.lang.String getName()
ITableReturns the name of the table.
getName in interface ITableString containing the name of the table.public java.lang.String getQualifiedName()
ITableReturns the fully qualified name of the table.
getQualifiedName in interface ITableString containing the fully qualified name of the table.public Indexes getIndexes()
ITable
getIndexes in interface ITablepublic boolean hasContent(java.lang.Object srcTable)
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only.
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOExceptionpublic void setAlias(java.lang.String alias)
ITableSets the alias that is used to identify the table. This may not be the same as the name of the table.
setAlias in interface ITablealias - A String containing the alias that is used to identify the table.public void setConnectionInfo(IConnectionInfo connectionInfo)
ITableSets information about the connection to the database that the table belongs to.
setConnectionInfo in interface ITableconnectionInfo - An IConnectionInfo object that contains information
about the connection to the database that the table belongs to.public void setDataFields(Fields dataFields)
ITableSets the data fields that the table contains.
setDataFields in interface ITabledataFields - A Fields object containing the data fields that the table
contains.public void setDescription(java.lang.String description)
ITableSets the description of the table.
setDescription in interface ITabledescription - A String containing a description of the table.public void setName(java.lang.String name)
ITableSets the name of the table.
setName in interface ITablename - A String containing the name of the table.public void setQualifiedName(java.lang.String qualifiedName)
ITableSets the fully qualified name of the table.
setQualifiedName in interface ITablequalifiedName - A String containing the fully qualified name of the
table.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
public void setIndexes(Indexes indexes)
ITable
setIndexes in interface ITablepublic IConnection getConnection()
getConnection in interface ITablepublic void setConnection(IConnection connection)
setConnection in interface ITablepublic boolean getIsLinkable()
ITable
getIsLinkable in interface ITablepublic void setIsLinkable(boolean isLinkable)
ITable
setIsLinkable in interface ITable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||