|
|||||||||
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,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
doControllerModification(java.lang.Object newObject)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
void |
enumerateMembers(IMemberVisitor visitor)
|
java.lang.String |
getAlias()
Returns the alias that is used to identify the table. |
IConnection |
getConnection()
|
IConnectionInfo |
getConnectionInfo()
Returns information about the connection to the database that the table belongs to. |
ControllableMixin |
getControllableMixin()
|
Fields<IField> |
getDataFields()
Returns the data fields that the table contains. |
java.lang.String |
getDescription()
Returns a description of the table. |
Indexes |
getIndexes()
|
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)
|
boolean |
isDirectlyControllable()
|
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(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
save(com.crystaldecisions.xml.serialization.XMLWriter writer,
java.lang.String sTag,
com.crystaldecisions.xml.serialization.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)
|
void |
setConnectionInfo(IConnectionInfo connectionInfo)
Sets information about the connection to the database that the table belongs to. |
void |
setDataFields(Fields<IField> 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)
|
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, com.crystaldecisions.xml.serialization.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()
ITable
Returns the alias that is used to identify the table. This may not be the same as the name of the table.
getAlias
in interface ITable
String
containing the alias that is used to identify the table.public IConnectionInfo getConnectionInfo()
ITable
Returns information about the connection to the database that the table belongs to.
getConnectionInfo
in interface ITable
IConnectionInfo
object that contains information about the
connection to the database that the table belongs to.public Fields<IField> getDataFields()
ITable
Returns the data fields that the table contains.
getDataFields
in interface ITable
Fields
object containing the data fields that the table contains.public java.lang.String getDescription()
ITable
Returns a description of the table.
getDescription
in interface ITable
String
containing a description of the table.public java.lang.String getName()
ITable
Returns the name of the table.
getName
in interface ITable
String
containing the name of the table.public java.lang.String getQualifiedName()
ITable
Returns the fully qualified name of the table.
getQualifiedName
in interface ITable
String
containing the fully qualified name of the table.public Indexes getIndexes()
getIndexes
in interface ITable
public 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(com.crystaldecisions.xml.serialization.XMLWriter writer, com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt) throws java.io.IOException
For internal use only.
java.io.IOException
public void save(com.crystaldecisions.xml.serialization.XMLWriter writer, java.lang.String sTag, com.crystaldecisions.xml.serialization.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.IOException
public void setAlias(java.lang.String alias)
ITable
Sets the alias that is used to identify the table. This may not be the same as the name of the table.
setAlias
in interface ITable
alias
- A String
containing the alias that is used to identify the table.public void setConnectionInfo(IConnectionInfo connectionInfo)
ITable
Sets information about the connection to the database that the table belongs to.
setConnectionInfo
in interface ITable
connectionInfo
- An IConnectionInfo
object that contains information
about the connection to the database that the table belongs to.public void setDataFields(Fields<IField> dataFields)
ITable
Sets the data fields that the table contains.
setDataFields
in interface ITable
dataFields
- A Fields
object containing the data fields that the table
contains.public void setDescription(java.lang.String description)
ITable
Sets the description of the table.
setDescription
in interface ITable
description
- A String
containing a description of the table.public void setName(java.lang.String name)
ITable
Sets the name of the table.
setName
in interface ITable
name
- A String
containing the name of the table.public void setQualifiedName(java.lang.String qualifiedName)
ITable
Sets the fully qualified name of the table.
setQualifiedName
in interface ITable
qualifiedName
- 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)
setIndexes
in interface ITable
public ControllableMixin getControllableMixin()
public void doControllerModification(java.lang.Object newObject) throws ReportSDKException
ReportSDKException
public boolean isDirectlyControllable()
public void enumerateMembers(IMemberVisitor visitor)
public IConnection getConnection()
getConnection
in interface ITable
public void setConnection(IConnection connection)
setConnection
in interface ITable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |