Class MHardConstraint
- java.lang.Object
- 
- jadex.bridge.nonfunctional.hardconstraints.MHardConstraint
 
- 
 public class MHardConstraint extends java.lang.ObjectA hard constraint for non-functional properties.
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringCONSTANTThe value should remain constant.static java.lang.StringGREATERThe value should be greater than the given value.static java.lang.StringGREATER_OR_EQUALThe value should be greater than or equal to the given value.static java.lang.StringLESSThe value should be less than the given value.static java.lang.StringLESS_OR_EQUALThe value should be less than or equal to the given value.protected java.lang.StringoperatorOperator used to evaluate the value.protected java.lang.StringpropnameName of the property.protected UnparsedExpressionvalueExpected value.
 - 
Constructor SummaryConstructors Constructor Description MHardConstraint()Creates a hard constraint for non-functional properties.MHardConstraint(java.lang.String propname, java.lang.String operator, UnparsedExpression value)Creates a hard constraint for non-functional properties.MHardConstraint(java.lang.String propname, java.lang.String operand, java.lang.String value)Creates a hard constraint for non-functional properties.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetOperator()Gets the operator.java.lang.StringgetPropertyName()Gets the propname.UnparsedExpressiongetValue()Gets the value.voidsetOperator(java.lang.String operator)Sets the operand.voidsetPropname(java.lang.String propname)Sets the propname.voidsetValue(UnparsedExpression value)Sets the value.
 
- 
- 
- 
Field Detail- 
CONSTANTpublic static final java.lang.String CONSTANT The value should remain constant.- See Also:
- Constant Field Values
 
 - 
GREATERpublic static final java.lang.String GREATER The value should be greater than the given value.- See Also:
- Constant Field Values
 
 - 
LESSpublic static final java.lang.String LESS The value should be less than the given value.- See Also:
- Constant Field Values
 
 - 
GREATER_OR_EQUALpublic static final java.lang.String GREATER_OR_EQUAL The value should be greater than or equal to the given value.- See Also:
- Constant Field Values
 
 - 
LESS_OR_EQUALpublic static final java.lang.String LESS_OR_EQUAL The value should be less than or equal to the given value.- See Also:
- Constant Field Values
 
 - 
propnameprotected java.lang.String propname Name of the property.
 - 
valueprotected UnparsedExpression value Expected value.
 - 
operatorprotected java.lang.String operator Operator used to evaluate the value.
 
- 
 - 
Constructor Detail- 
MHardConstraintpublic MHardConstraint() Creates a hard constraint for non-functional properties.
 - 
MHardConstraintpublic MHardConstraint(java.lang.String propname, java.lang.String operand, java.lang.String value)Creates a hard constraint for non-functional properties.
 - 
MHardConstraintpublic MHardConstraint(java.lang.String propname, java.lang.String operator, UnparsedExpression value)Creates a hard constraint for non-functional properties.
 
- 
 - 
Method Detail- 
getPropertyNamepublic java.lang.String getPropertyName() Gets the propname.- Returns:
- The propname.
 
 - 
setPropnamepublic void setPropname(java.lang.String propname) Sets the propname.- Parameters:
- propname- The propname to set.
 
 - 
getValuepublic UnparsedExpression getValue() Gets the value.- Returns:
- The value.
 
 - 
setValuepublic void setValue(UnparsedExpression value) Sets the value.- Parameters:
- value- The value to set.
 
 - 
getOperatorpublic java.lang.String getOperator() Gets the operator.- Returns:
- The operator.
 
 - 
setOperatorpublic void setOperator(java.lang.String operator) Sets the operand.- Parameters:
- operand- The operand to set.
 
 
- 
 
-