Package jadex.bdiv3.model
Class MDeliberation
- java.lang.Object
-
- jadex.bdiv3.model.MDeliberation
-
public class MDeliberation extends java.lang.Object
Model element for inhibitions.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
cardinalityone
The cardinality.protected boolean
droponinhibit
The drop on inhibit flag.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 Summary
Constructors Constructor Description MDeliberation()
Bean Constructor.MDeliberation(java.util.Set<java.lang.String> inhnames, java.util.Map<java.lang.String,MethodInfo> inhmethods, boolean cardinalityone, boolean droponinhibit)
Create a new deliberation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.boolean
isDropOnInhibit()
Get the drop on inhibit flag.void
setCardinalityOne(boolean cardinalityone)
Set the cardinalityone.void
setDropOnInhibit(boolean droponinhibit)
Set the drop on inhibit flag.void
setInhibitionMethods(java.util.Map<java.lang.String,MethodInfo> inhmethods)
Set the inhmethods.void
setInhibitions(java.util.Set<MGoal> inhibitions)
Set the inhibitions.
-
-
-
Field Detail
-
cardinalityone
protected boolean cardinalityone
The cardinality.
-
droponinhibit
protected boolean droponinhibit
The drop on inhibit flag.
-
inhibitions
protected java.util.Set<MGoal> inhibitions
The inhibited goal types.
-
inhmethods
protected java.util.Map<java.lang.String,MethodInfo> inhmethods
The methods for checking inhibitions.
-
inhnames
protected java.util.Set<java.lang.String> inhnames
The inhnames.
-
inhexpressions
protected java.util.Map<java.lang.String,UnparsedExpression> inhexpressions
The methods for checking inhibitions.
-
-
Constructor Detail
-
MDeliberation
public MDeliberation()
Bean Constructor.
-
MDeliberation
public MDeliberation(java.util.Set<java.lang.String> inhnames, java.util.Map<java.lang.String,MethodInfo> inhmethods, boolean cardinalityone, boolean droponinhibit)
Create a new deliberation.
-
-
Method Detail
-
isCardinalityOne
public boolean isCardinalityOne()
Get the cardinalityone.- Returns:
- The cardinalityone.
-
setCardinalityOne
public void setCardinalityOne(boolean cardinalityone)
Set the cardinalityone.- Parameters:
cardinalityone
- The cardinalityone to set.
-
isDropOnInhibit
public boolean isDropOnInhibit()
Get the drop on inhibit flag.- Returns:
- the droponinhibit flag.
-
setDropOnInhibit
public void setDropOnInhibit(boolean droponinhibit)
Set the drop on inhibit flag.- Parameters:
droponinhibit
- The droponinhibit to set.
-
getInhibitions
public java.util.Set<MGoal> getInhibitions(MCapability capa)
Get the inhibited.- Returns:
- The inhibited.
-
setInhibitions
public void setInhibitions(java.util.Set<MGoal> inhibitions)
Set the inhibitions.- Parameters:
inhibitions
- The inhibited to set.
-
getInhibitionMethods
public java.util.Map<java.lang.String,MethodInfo> getInhibitionMethods()
Get the inhmethods.- Returns:
- The inhmethods.
-
setInhibitionMethods
public void setInhibitionMethods(java.util.Map<java.lang.String,MethodInfo> inhmethods)
Set the inhmethods.- Parameters:
inhmethods
- The inhmethods to set.
-
addInhibitionName
public void addInhibitionName(java.lang.String inhname)
Add an inhibition name.- Parameters:
inhname
- The inhibition name.
-
addInhibitionExpression
public void addInhibitionExpression(UnparsedExpression inhexp)
Add an inhibition expression.- Parameters:
inhname
- The inhibition expression.
-
getInhibitionExpressions
public java.util.Map<java.lang.String,UnparsedExpression> getInhibitionExpressions()
Get the inhibition expressions.- Returns:
- The inhexpressions
-
-