public class MHardConstraint extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONSTANT
The value should remain constant.
|
static String |
GREATER
The value should be greater than the given value.
|
static String |
GREATER_OR_EQUAL
The value should be greater than or equal to the given value.
|
static String |
LESS
The value should be less than the given value.
|
static String |
LESS_OR_EQUAL
The value should be less than or equal to the given value.
|
Constructor and Description |
---|
MHardConstraint()
Creates a hard constraint for non-functional properties.
|
MHardConstraint(String propname,
String operand,
String value)
Creates a hard constraint for non-functional properties.
|
MHardConstraint(String propname,
String operator,
UnparsedExpression value)
Creates a hard constraint for non-functional properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getOperator()
Gets the operator.
|
String |
getPropertyName()
Gets the propname.
|
UnparsedExpression |
getValue()
Gets the value.
|
void |
setOperator(String operator)
Sets the operand.
|
void |
setPropname(String propname)
Sets the propname.
|
void |
setValue(UnparsedExpression value)
Sets the value.
|
public static final String CONSTANT
public static final String GREATER
public static final String LESS
public static final String GREATER_OR_EQUAL
public static final String LESS_OR_EQUAL
public MHardConstraint()
public MHardConstraint(String propname, String operand, String value)
public MHardConstraint(String propname, String operator, UnparsedExpression value)
public String getPropertyName()
public void setPropname(String propname)
propname
- The propname to set.public UnparsedExpression getValue()
public void setValue(UnparsedExpression value)
value
- The value to set.public String getOperator()
public void setOperator(String operator)
operand
- The operand to set.Copyright © 2013. All Rights Reserved.