Package jadex.bdiv3.model
Class MCondition
- java.lang.Object
- 
- jadex.bdiv3.model.MElement
- 
- jadex.bdiv3.model.MCondition
 
 
- 
 public class MCondition extends MElement Model element for conditions.
- 
- 
Field SummaryFields Modifier and Type Field Description protected ConstructorInfoctargetThe target constructor.protected java.util.List<EventType>eventsThe events this condition depends on.protected UnparsedExpressionexpressionExpression.protected MethodInfomtargetThe target method.- 
Fields inherited from class jadex.bdiv3.model.MElementCAPABILITY_SEPARATOR, description, name
 
- 
 - 
Constructor SummaryConstructors Constructor Description MCondition()Bean Constructor.MCondition(UnparsedExpression exp)Create a new mcondition.MCondition(java.lang.String name, java.util.List<EventType> events)Create a new mcondition.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEvent(EventType event)Add an event.ConstructorInfogetConstructorTarget()Get the ctarget.java.util.List<EventType>getEvents()Get the events.UnparsedExpressiongetExpression()Get the expression.MethodInfogetMethodTarget()Get the mtarget.voidinitEvents(MParameterElement owner)Init the event, when loaded from xml.voidsetConstructorTarget(ConstructorInfo ctarget)Set the ctarget.voidsetEvents(java.util.List<EventType> events)The events to set.voidsetExpression(UnparsedExpression expression)Set the expression.voidsetMethodTarget(MethodInfo mtarget)Set the mtarget.- 
Methods inherited from class jadex.bdiv3.model.MElementequals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
 
- 
 
- 
- 
- 
Field Detail- 
eventsprotected java.util.List<EventType> events The events this condition depends on.
 - 
mtargetprotected MethodInfo mtarget The target method.
 - 
ctargetprotected ConstructorInfo ctarget The target constructor.
 - 
expressionprotected UnparsedExpression expression Expression.
 
- 
 - 
Constructor Detail- 
MConditionpublic MCondition() Bean Constructor.
 - 
MConditionpublic MCondition(UnparsedExpression exp) Create a new mcondition.
 - 
MConditionpublic MCondition(java.lang.String name, java.util.List<EventType> events)Create a new mcondition.
 
- 
 - 
Method Detail- 
getMethodTargetpublic MethodInfo getMethodTarget() Get the mtarget.- Returns:
- The mtarget.
 
 - 
setMethodTargetpublic void setMethodTarget(MethodInfo mtarget) Set the mtarget.- Parameters:
- mtarget- The mtarget to set.
 
 - 
getConstructorTargetpublic ConstructorInfo getConstructorTarget() Get the ctarget.- Returns:
- The ctarget.
 
 - 
setConstructorTargetpublic void setConstructorTarget(ConstructorInfo ctarget) Set the ctarget.- Parameters:
- ctarget- The ctarget to set.
 
 - 
getEventspublic java.util.List<EventType> getEvents() Get the events.- Returns:
- The events.
 
 - 
initEventspublic void initEvents(MParameterElement owner) Init the event, when loaded from xml.
 - 
setEventspublic void setEvents(java.util.List<EventType> events) The events to set.- Parameters:
- events- The events to set
 
 - 
addEventpublic void addEvent(EventType event) Add an event.- Parameters:
- event- The event.
 
 - 
getExpressionpublic UnparsedExpression getExpression() Get the expression.
 - 
setExpressionpublic void setExpression(UnparsedExpression expression) Set the expression.
 
- 
 
-