|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.TotallerNode
public class TotallerNode
This object implements a node from the totaller tree. A totaller node contains the records for a
particular group in the report. Since groups may contain groups, a node may contains child nodes:
the TotallerNode.getChildren() method is used for this purpose. When possible, use the ITotallerNode
interface to manipulate this object.
| Constructor Summary | |
|---|---|
TotallerNode()
|
|
TotallerNode(ITotallerNode src)
|
|
| 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 |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
TotallerNodes |
getChildren()
Returns the node's subnodes. |
int |
getFirstRecordKey()
Returns the key from the first record that the node contains. |
IGroupPath |
getGroupPath()
Returns the path of the node in the totaller tree. |
java.lang.String |
getName()
Returns the name of the node. |
TotallerNodeOptions |
getOptions()
Returns the options for the totaller node. |
int |
getRecordCount()
Returns the number of records that the node contains. |
boolean |
hasContent(java.lang.Object srcNode)
|
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(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
For internal use only. |
void |
setChildren(TotallerNodes newVal)
Sets the node's subnodes. |
void |
setFirstRecordKey(int newVal)
Sets the key from the first record that the node contains. |
void |
setGroupPath(IGroupPath newVal)
Sets the path of the node in the totaller tree. |
void |
setName(java.lang.String name)
Sets the name of the node. |
void |
setOptions(TotallerNodeOptions newVal)
Sets the options for the totaller node. |
void |
setRecordCount(int newVal)
Sets the number of records that the node contains. |
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 TotallerNode(ITotallerNode src)
public TotallerNode()
| 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 TotallerNodes getChildren()
ITotallerNodeReturns the node's subnodes.
getChildren in interface ITotallerNodeTotallerNodes object containing the node's subnodes.public int getFirstRecordKey()
ITotallerNodeReturns the key from the first record that the node contains.
getFirstRecordKey in interface ITotallerNodeint that specifies the key from the first record that the node contains.public IGroupPath getGroupPath()
ITotallerNodeReturns the path of the node in the totaller tree.
getGroupPath in interface ITotallerNodeIGroupPath object containing the path of the node in the totaller tree.public java.lang.String getName()
ITotallerNodeReturns the name of the node. This is equivalent to the group's name.
getName in interface ITotallerNodeString containing the name of the node.public TotallerNodeOptions getOptions()
ITotallerNodeReturns the options for the totaller node.
getOptions in interface ITotallerNodeTotallerNodeOptions object containing the options for the totaller node.public int getRecordCount()
ITotallerNodeReturns the number of records that the node contains.
getRecordCount in interface ITotallerNodeint that specifies the number of records that the node contains.public boolean hasContent(java.lang.Object srcNode)
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(com.crystaldecisions.xml.serialization.XMLWriter writer,
com.crystaldecisions.xml.serialization.XMLSerializationContext ctxt)
throws java.io.IOException
For internal use only.
java.io.IOExceptionpublic void setChildren(TotallerNodes newVal)
ITotallerNodeSets the node's subnodes.
setChildren in interface ITotallerNodenewVal - A TotallerNodes object containing the node's subnodes.public void setFirstRecordKey(int newVal)
ITotallerNodeSets the key from the first record that the node contains.
setFirstRecordKey in interface ITotallerNodenewVal - An int that specifies the key from the first record that the node contains.public void setGroupPath(IGroupPath newVal)
ITotallerNodeSets the path of the node in the totaller tree.
setGroupPath in interface ITotallerNodenewVal - An IGroupPath object containing the path of the node in the totaller tree.public void setName(java.lang.String name)
ITotallerNodeSets the name of the node. This is equivalent to the group's name.
setName in interface ITotallerNodename - A String containing the name of the node.public void setOptions(TotallerNodeOptions newVal)
ITotallerNodeSets the options for the totaller node.
setOptions in interface ITotallerNodenewVal - A TotallerNodeOptions object containing the options for the totaller node.public void setRecordCount(int newVal)
ITotallerNodeSets the number of records that the node contains.
setRecordCount in interface ITotallerNodenewVal - An int that specifies the number of records that the node contains.
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||