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