|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.ide.common.client.modeldriven.brl.CompositeFieldConstraint
public class CompositeFieldConstraint
This is a field constraint that may span multiple fields.
Field Summary | |
---|---|
static String |
COMPOSITE_TYPE_AND
Means that ALL of the children constraints must resolve to be true. |
static String |
COMPOSITE_TYPE_OR
Means that any of the children can resolve to be true. |
String |
compositeJunctionType
The type of composite that it is. |
FieldConstraint[] |
constraints
This is the child field constraints of the composite. |
Constructor Summary | |
---|---|
CompositeFieldConstraint()
|
Method Summary | |
---|---|
void |
addConstraint(FieldConstraint constraint)
|
FieldConstraint |
getConstraint(int index)
|
int |
getNumberOfConstraints()
|
void |
removeConstraint(int idx)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPOSITE_TYPE_OR
public static final String COMPOSITE_TYPE_AND
public String compositeJunctionType
public FieldConstraint[] constraints
Constructor Detail |
---|
public CompositeFieldConstraint()
Method Detail |
---|
public void addConstraint(FieldConstraint constraint)
addConstraint
in interface HasConstraints
public void removeConstraint(int idx)
removeConstraint
in interface HasConstraints
public FieldConstraint getConstraint(int index)
getConstraint
in interface HasConstraints
public int getNumberOfConstraints()
getNumberOfConstraints
in interface HasConstraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |