public class RMConditionList extends RMCondition implements java.beans.PropertyChangeListener
RMCondition.DateConstraint, RMCondition.Operator
Constructor and Description |
---|
RMConditionList()
Creates a composite condition.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getDateConstraint, getIgnoreCase, getLeftSide, getOperator, getOperators, getRightSide, getValue, isNegated, setDateConstraint, setIgnoreCase, setLeftSide, setNegated, setOperator, setRightSide, setRightSideValues
addListener, addPropertyChangeListener, animUpdate, firePropertyChange, firePropertyChange, getListener, getListenerCount, getListeners, isFirePropertyChangeEnabled, isUndoing, removeListener, removePropertyChangeListener, setFirePropertyChangeEnabled, setUndoing
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.PropertyChangeListener
public boolean equals(java.lang.Object anObj)
equals
in class RMCondition
public 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 RMCondition
public java.lang.String toString()
toString
in class RMCondition