public class MDeliberation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
cardinalityone
The cardinality.
|
protected java.util.Map<java.lang.String,UnparsedExpression> |
inhexpressions
The methods for checking inhibitions.
|
protected java.util.Set<MGoal> |
inhibitions
The inhibited goal types.
|
protected java.util.Map<java.lang.String,MethodInfo> |
inhmethods
The methods for checking inhibitions.
|
protected java.util.Set<java.lang.String> |
inhnames
The inhnames.
|
Constructor and Description |
---|
MDeliberation()
Bean Constructor.
|
MDeliberation(java.util.Set<java.lang.String> inhnames,
java.util.Map<java.lang.String,MethodInfo> inhmethods,
boolean cardinalityone)
Create a new deliberation.
|
Modifier and Type | Method and Description |
---|---|
void |
addInhibitionExpression(UnparsedExpression inhexp)
Add an inhibition expression.
|
void |
addInhibitionName(java.lang.String inhname)
Add an inhibition name.
|
java.util.Map<java.lang.String,UnparsedExpression> |
getInhibitionExpressions()
Get the inhibition expressions.
|
java.util.Map<java.lang.String,MethodInfo> |
getInhibitionMethods()
Get the inhmethods.
|
java.util.Set<MGoal> |
getInhibitions(MCapability capa)
Get the inhibited.
|
boolean |
isCardinalityOne()
Get the cardinalityone.
|
void |
setCardinalityOne(boolean cardinalityone)
Set the cardinalityone.
|
void |
setInhibitionMethods(java.util.Map<java.lang.String,MethodInfo> inhmethods)
Set the inhmethods.
|
void |
setInhibitions(java.util.Set<MGoal> inhibitions)
Set the inhibitions.
|
protected boolean cardinalityone
protected java.util.Set<MGoal> inhibitions
protected java.util.Map<java.lang.String,MethodInfo> inhmethods
protected java.util.Set<java.lang.String> inhnames
protected java.util.Map<java.lang.String,UnparsedExpression> inhexpressions
public MDeliberation()
public MDeliberation(java.util.Set<java.lang.String> inhnames, java.util.Map<java.lang.String,MethodInfo> inhmethods, boolean cardinalityone)
public boolean isCardinalityOne()
public void setCardinalityOne(boolean cardinalityone)
cardinalityone
- The cardinalityone to set.public java.util.Set<MGoal> getInhibitions(MCapability capa)
public void setInhibitions(java.util.Set<MGoal> inhibitions)
inhibitions
- The inhibited to set.public java.util.Map<java.lang.String,MethodInfo> getInhibitionMethods()
public void setInhibitionMethods(java.util.Map<java.lang.String,MethodInfo> inhmethods)
inhmethods
- The inhmethods to set.public void addInhibitionName(java.lang.String inhname)
inhname
- The inhibition name.public void addInhibitionExpression(UnparsedExpression inhexp)
inhname
- The inhibition expression.public java.util.Map<java.lang.String,UnparsedExpression> getInhibitionExpressions()