|
ReportMill 12 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.reportmill.base.RMObject
com.reportmill.datasource.RMCondition
com.reportmill.datasource.RMConditionList
public class RMConditionList
This condition subclass represents a list of conditions.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.reportmill.datasource.RMCondition |
|---|
RMCondition.DateConstraint, RMCondition.Operator |
| Constructor Summary | |
|---|---|
RMConditionList()
Creates a composite condition. |
|
| Method Summary | |
|---|---|
RMConditionList |
addCondition(RMCondition.Operator anOperator,
RMCondition aCondition)
Adds a condition. |
RMConditionList |
addCondition(RMCondition.Operator anOperator,
RMCondition aCondition,
int anIndex)
Adds a condition at given index. |
RMConditionList |
clone()
Standard clone implementation. |
boolean |
equals(java.lang.Object anObj)
Standard equals implementation. |
RMConditionList |
fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
XML Unarchival. |
RMCondition |
getCondition(int anIndex)
Returns the condition at the given index. |
int |
getConditionCount()
Returns the number of conditions in this composite. |
java.util.List<RMCondition> |
getConditions()
Returns the conditions. |
RMCondition.Operator |
getOperator(int anIndex)
Returns the operator at the given index. |
java.util.List<RMCondition.Operator> |
getOperators()
Returns the operators. |
int |
indexOfCondition(RMCondition aCondition)
Returns the index of a given condition. |
void |
propertyChange(java.beans.PropertyChangeEvent anEvent)
Catches child property changes and forwards them to our listener. |
RMCondition |
removeCondition(int anIndex)
Removes a condition from a given index. |
int |
removeCondition(RMCondition aCondition)
Removes the given condition. |
void |
setOperator(RMCondition.Operator anOperator,
int anIndex)
Sets the operator at the given index. |
java.lang.String |
toString()
Returns a string for condition. |
com.reportmill.archiver.RXElement |
toXML(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
XML Archival. |
| Methods inherited from class com.reportmill.datasource.RMCondition |
|---|
getDateConstraint, getIgnoreCase, getLeftSide, getOperator, getOperators, getRightSide, getValue, isNegated, setDateConstraint, setIgnoreCase, setLeftSide, setNegated, setOperator, setRightSide, setRightSideValues |
| Methods inherited from class com.reportmill.base.RMObject |
|---|
addListener, addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, getListener, getListenerCount, getListeners, isFirePropertyChangeEnabled, isUndoing, removeListener, removePropertyChangeListener, setFirePropertyChangeEnabled, setUndoing |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RMConditionList()
| Method Detail |
|---|
public java.util.List<RMCondition.Operator> getOperators()
public java.util.List<RMCondition> getConditions()
public int getConditionCount()
public RMCondition getCondition(int anIndex)
public RMConditionList addCondition(RMCondition.Operator anOperator,
RMCondition aCondition)
public RMConditionList addCondition(RMCondition.Operator anOperator,
RMCondition aCondition,
int anIndex)
public RMCondition removeCondition(int anIndex)
public int removeCondition(RMCondition aCondition)
public int indexOfCondition(RMCondition aCondition)
public RMCondition.Operator getOperator(int anIndex)
public void setOperator(RMCondition.Operator anOperator,
int anIndex)
public void propertyChange(java.beans.PropertyChangeEvent anEvent)
propertyChange in interface java.beans.PropertyChangeListenerpublic boolean equals(java.lang.Object anObj)
equals in class RMConditionpublic RMConditionList clone()
clone in class RMCondition
public com.reportmill.archiver.RXElement toXML(com.reportmill.archiver.RXArchiver anArchiver,
java.lang.Object anOwner)
toXML in class RMCondition
public RMConditionList fromXML(com.reportmill.archiver.RXArchiver anArchiver,
com.reportmill.archiver.RXElement anElement,
java.lang.Object anOwner)
fromXML in class RMConditionpublic java.lang.String toString()
toString in class RMCondition
|
ReportMill 12 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||