public class MCondition extends MElement
| Modifier and Type | Field and Description | 
|---|---|
| protected ConstructorInfo | ctargetThe target constructor. | 
| protected java.util.List<EventType> | eventsThe events this condition depends on. | 
| protected UnparsedExpression | expressionExpression. | 
| protected MethodInfo | mtargetThe target method. | 
CAPABILITY_SEPARATOR, description, name| Constructor and Description | 
|---|
| MCondition()Bean Constructor. | 
| MCondition(java.lang.String name,
          java.util.List<EventType> events)Create a new mcondition. | 
| MCondition(UnparsedExpression exp)Create a new mcondition. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addEvent(EventType event)Add an event. | 
| ConstructorInfo | getConstructorTarget()Get the ctarget. | 
| java.util.List<EventType> | getEvents()Get the events. | 
| UnparsedExpression | getExpression()Get the expression. | 
| MethodInfo | getMethodTarget()Get the mtarget. | 
| void | initEvents(MParameterElement owner)Init the event, when loaded from xml. | 
| void | setConstructorTarget(ConstructorInfo ctarget)Set the ctarget. | 
| void | setEvents(java.util.List<EventType> events)The events to set. | 
| void | setExpression(UnparsedExpression expression)Set the expression. | 
| void | setMethodTarget(MethodInfo mtarget)Set the mtarget. | 
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toStringprotected java.util.List<EventType> events
protected MethodInfo mtarget
protected ConstructorInfo ctarget
protected UnparsedExpression expression
public MCondition()
public MCondition(UnparsedExpression exp)
public MCondition(java.lang.String name,
                  java.util.List<EventType> events)
public MethodInfo getMethodTarget()
public void setMethodTarget(MethodInfo mtarget)
mtarget - The mtarget to set.public ConstructorInfo getConstructorTarget()
public void setConstructorTarget(ConstructorInfo ctarget)
ctarget - The ctarget to set.public java.util.List<EventType> getEvents()
public void initEvents(MParameterElement owner)
public void setEvents(java.util.List<EventType> events)
events - The events to setpublic void addEvent(EventType event)
event - The event.public UnparsedExpression getExpression()
public void setExpression(UnparsedExpression expression)