javax.rad.model.condition
Class BaseCondition
java.lang.Object
javax.rad.model.condition.BaseCondition
- All Implemented Interfaces:
- Serializable, Cloneable, ICondition
- Direct Known Subclasses:
- CompareCondition, Not, OperatorCondition
public abstract class BaseCondition
- extends Object
- implements ICondition, Serializable, Cloneable
The BaseCondition is the default implementation of ICondition. It
offers the possibility to use the Or and And operator with other
conditions.
- See Also:
- Serialized Form
|
Method Summary |
And |
and(ICondition pCondition)
It connects with an logic AND the specified ICondition. |
ICondition |
clone()
Return a clone of the specific ICondition. |
Or |
or(ICondition pCondition)
It connects with an logic OR the specified ICondition. |
BaseCondition
public BaseCondition()
and
public And and(ICondition pCondition)
- It connects with an logic AND the specified
ICondition.
- Specified by:
and in interface ICondition
- Parameters:
pCondition - the ICondition to add
- Returns:
- this
ICondition itself as result.
or
public Or or(ICondition pCondition)
- It connects with an logic OR the specified
ICondition.
- Specified by:
or in interface ICondition
- Parameters:
pCondition - the ICondition to add
- Returns:
- this
ICondition itself as result.
clone
public ICondition clone()
- Return a clone of the specific ICondition.
- Specified by:
clone in interface ICondition- Overrides:
clone in class Object
- Returns:
- a clone of the specific ICondition.
Copyright © 2009 SIB Visions GmbH. All Rights Reserved.