|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.crystaldecisions.sdk.occa.report.data.GroupOptionsConditionFormulas
public class GroupOptionsConditionFormulas
This class stores a collection of condition formulas for properties of the
GroupOptions object. A group option condition formula allows you to dynamically change
the group sort order.
| Constructor Summary | |
|---|---|
GroupOptionsConditionFormulas()
|
|
GroupOptionsConditionFormulas(GroupOptionsConditionFormulas src)
|
|
| Method Summary | |
|---|---|
void |
clear()
Removes all of the formulas. |
java.lang.Object |
clone(boolean deepClone)
|
void |
copyTo(java.lang.Object destObject,
boolean deepCopy)
|
int |
count()
|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
|
void |
endElement(java.lang.String eleName,
java.util.Map objState)
|
IDataConditionFormula |
get(java.lang.Object key)
For internal use only. |
IDataConditionFormula |
getFormula(GroupOptionsConditionFormulaType type)
Returns the specified condition formula. |
boolean |
hasContent(java.lang.Object objFormulas)
|
void |
put(java.lang.Object key,
IDataConditionFormula newFormula)
For internal use only. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
|
void |
remove(GroupOptionsConditionFormulaType type)
Removes the specified condition formula from the collection. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
|
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
|
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
|
void |
setFormula(GroupOptionsConditionFormulaType type,
IDataConditionFormula newFormula)
Sets the specified condition formula. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupOptionsConditionFormulas(GroupOptionsConditionFormulas src)
public GroupOptionsConditionFormulas()
| Method Detail |
|---|
public IDataConditionFormula getFormula(GroupOptionsConditionFormulaType type)
Returns the specified condition formula.
type - A GroupOptionsConditionFormulaType object containing a number that corresponds
to the enumerator ID of the formula to be returned.
IDataConditionFormula object containing the specified condition formula.
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
public void remove(GroupOptionsConditionFormulaType type)
Removes the specified condition formula from the collection.
type - A GroupOptionsConditionFormulaType object containing a number that corresponds
to the enumerator ID of the formula to be removed from the collection.
public void setFormula(GroupOptionsConditionFormulaType type,
IDataConditionFormula newFormula)
Sets the specified condition formula.
The condition formula must be a constant numeric type. Other constant formula types and parameter fields can by used as operands. When the formula is evaluated, both the field value type and the value range are checked.
To stay within the value range, set the sort direction to the constant enumerator or the value that specifies ascending order, descending order, or the original order that the data was put into the database. Other values are invalid.
type - A GroupOptionsConditionFormulaType object containing a number that corresponds to the enumerator ID.newFormula - A IDataConditionFormula object containing the new formula to be added to the collection.public void clear()
Removes all of the formulas.
public java.lang.Object clone(boolean deepClone)
public void copyTo(java.lang.Object destObject,
boolean deepCopy)
public int count()
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
public void endElement(java.lang.String eleName,
java.util.Map objState)
public IDataConditionFormula get(java.lang.Object key)
For internal use only.
public boolean hasContent(java.lang.Object objFormulas)
public void put(java.lang.Object key,
IDataConditionFormula newFormula)
For internal use only.
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
java.io.IOException
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||