|
|||||||||
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 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()
ITotallerNode
Returns the node's subnodes.
getChildren
in interface ITotallerNode
TotallerNodes
object containing the node's subnodes.public int getFirstRecordKey()
ITotallerNode
Returns the key from the first record that the node contains.
getFirstRecordKey
in interface ITotallerNode
int
that specifies the key from the first record that the node contains.public IGroupPath getGroupPath()
ITotallerNode
Returns the path of the node in the totaller tree.
getGroupPath
in interface ITotallerNode
IGroupPath
object containing the path of the node in the totaller tree.public java.lang.String getName()
ITotallerNode
Returns the name of the node. This is equivalent to the group's name.
getName
in interface ITotallerNode
String
containing the name of the node.public TotallerNodeOptions getOptions()
ITotallerNode
Returns the options for the totaller node.
getOptions
in interface ITotallerNode
TotallerNodeOptions
object containing the options for the totaller node.public int getRecordCount()
ITotallerNode
Returns the number of records that the node contains.
getRecordCount
in interface ITotallerNode
int
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.IOException
public void setChildren(TotallerNodes newVal)
ITotallerNode
Sets the node's subnodes.
setChildren
in interface ITotallerNode
newVal
- A TotallerNodes
object containing the node's subnodes.public void setFirstRecordKey(int newVal)
ITotallerNode
Sets the key from the first record that the node contains.
setFirstRecordKey
in interface ITotallerNode
newVal
- An int
that specifies the key from the first record that the node contains.public void setGroupPath(IGroupPath newVal)
ITotallerNode
Sets the path of the node in the totaller tree.
setGroupPath
in interface ITotallerNode
newVal
- An IGroupPath
object containing the path of the node in the totaller tree.public void setName(java.lang.String name)
ITotallerNode
Sets the name of the node. This is equivalent to the group's name.
setName
in interface ITotallerNode
name
- A String
containing the name of the node.public void setOptions(TotallerNodeOptions newVal)
ITotallerNode
Sets the options for the totaller node.
setOptions
in interface ITotallerNode
newVal
- A TotallerNodeOptions
object containing the options for the totaller node.public void setRecordCount(int newVal)
ITotallerNode
Sets the number of records that the node contains.
setRecordCount
in interface ITotallerNode
newVal
- 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 |