Class Constraint
- java.lang.Object
-
- org.drools.impact.analysis.model.left.Constraint
-
- Direct Known Subclasses:
MapConstraint
public class Constraint extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstraint.Type
-
Constructor Summary
Constructors Constructor Description Constraint()Constraint(Constraint.Type type, String property, Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetProperty()Constraint.TypegetType()ObjectgetValue()voidsetProperty(String property)voidsetType(Constraint.Type type)voidsetValue(Object value)StringtoString()
-
-
-
Field Detail
-
type
protected Constraint.Type type
-
property
protected String property
-
value
protected Object value
-
-
Constructor Detail
-
Constraint
public Constraint()
-
Constraint
public Constraint(Constraint.Type type, String property, Object value)
-
-
Method Detail
-
getType
public Constraint.Type getType()
-
setType
public void setType(Constraint.Type type)
-
getProperty
public String getProperty()
-
setProperty
public void setProperty(String property)
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
-