Class Event
java.lang.Object
cruise.umple.compiler.Event
NEW CLASS****************************************
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddOrMoveParamAt(MethodParameter aParam, int index) booleanaddParam(MethodParameter aParam) booleanaddParamAt(MethodParameter aParam, int index) clone()Please maintain this method if you're going to add new features to Events.booleancompareWithAnotherEvent(Event inEvent) static Eventvoiddelete()booleangetArgs()booleanbooleanfor code generation only e.g.booleanString args = null;getName()getParam(int index) The event parameters.TODO: how do you specify milliseconds etc.getType()The type of the method.booleaninthashCode()booleanintindexOfParam(MethodParameter aParam) booleanbooleanbooleanbooleanstatic intintbooleanremoveParam(MethodParameter aParam) booleansetAutoTransition(boolean aAutoTransition) booleansetIsInternal(boolean aIsInternal) booleansetIsTimer(boolean aIsTimer) booleanstatic voidsetNextAutoTransitionId(int value) booleansetTimerInSeconds(String aTimerInSeconds) booleanbooleansetUnspecified(boolean aUnspecified) toString()
-
Constructor Details
-
Event
-
-
Method Details
-
setName
-
setIsTimer
public boolean setIsTimer(boolean aIsTimer) -
setAutoTransition
public boolean setAutoTransition(boolean aAutoTransition) -
setTimerInSeconds
-
setIsInternal
public boolean setIsInternal(boolean aIsInternal) -
setUnspecified
public boolean setUnspecified(boolean aUnspecified) -
setType
-
getName
-
getIsTimer
public boolean getIsTimer()String args = null; -
getAutoTransition
public boolean getAutoTransition() -
getTimerInSeconds
TODO: how do you specify milliseconds etc. -
getIsInternal
public boolean getIsInternal()for code generation only e.g. ouside scope of nested state -
getUnspecified
public boolean getUnspecified() -
getType
The type of the method. -
isIsTimer
public boolean isIsTimer() -
isAutoTransition
public boolean isAutoTransition() -
isIsInternal
public boolean isIsInternal() -
isUnspecified
public boolean isUnspecified() -
getParam
-
getParams
The event parameters. -
numberOfParams
public int numberOfParams() -
hasParams
public boolean hasParams() -
indexOfParam
-
minimumNumberOfParams
public static int minimumNumberOfParams() -
addParam
-
removeParam
-
addParamAt
-
addOrMoveParamAt
-
equals
-
hashCode
-
delete
public void delete() -
createAutoTransition
-
setNextAutoTransitionId
public static void setNextAutoTransitionId(int value) -
getArgs
-
compareWithAnotherEvent
-
clone
-
toString
-