public static class GroupConstraint.Distribution extends Object
Constructor and Description |
---|
Distribution(GroupConstraint.ConstraintTypeInterface type,
String preference) |
Modifier and Type | Method and Description |
---|---|
<P> P |
getParameter() |
int |
getPenalty() |
String |
getPreference() |
GroupConstraint.ConstraintTypeInterface |
getType() |
boolean |
isHard() |
boolean |
isPositive() |
boolean |
isProhibited() |
boolean |
isRequired() |
public Distribution(GroupConstraint.ConstraintTypeInterface type, String preference)
public GroupConstraint.ConstraintTypeInterface getType()
public int getPenalty()
public boolean isRequired()
public boolean isProhibited()
public boolean isHard()
public String getPreference()
public boolean isPositive()
public <P> P getParameter()