Package cruise.umple.compiler
Class ActiveMethod
java.lang.Object
cruise.umple.compiler.ActiveMethod
public class ActiveMethod
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActiveMethod.ActiveType
-
Constructor Summary
Constructors Constructor Description ActiveMethod(java.lang.String aModifier, java.lang.String aName, java.lang.String aType, ActiveDirectionHandler aMethodBody, ActiveMethod aInverseMethodBody)
-
Method Summary
-
Constructor Details
-
ActiveMethod
public ActiveMethod(java.lang.String aModifier, java.lang.String aName, java.lang.String aType, ActiveDirectionHandler aMethodBody, ActiveMethod aInverseMethodBody)
-
-
Method Details
-
setModifier
public boolean setModifier(java.lang.String aModifier) -
setName
public boolean setName(java.lang.String aName) -
setType
public boolean setType(java.lang.String aType) -
setPosition
-
setCodePosition
-
setEndPosition
-
setMethodBody
-
setInverseMethodBody
-
getModifier
public java.lang.String getModifier() -
getName
public java.lang.String getName() -
getType
public java.lang.String getType() -
getPosition
-
getCodePosition
-
getEndPosition
-
getMethodBody
-
getInverseMethodBody
-
getActiveTypeFullName
public java.lang.String getActiveTypeFullName() -
getActiveType
-
setActiveType
-
getWatchList
-
getWatchList
-
numberOfWatchList
public int numberOfWatchList() -
hasWatchList
public boolean hasWatchList() -
indexOfWatchList
-
getMethodParameter
-
getMethodParameters
-
numberOfMethodParameters
public int numberOfMethodParameters() -
hasMethodParameters
public boolean hasMethodParameters() -
indexOfMethodParameter
-
getComment
-
getComments
-
numberOfComments
public int numberOfComments() -
hasComments
public boolean hasComments() -
indexOfComment
-
getRequirement
-
getRequirements
-
numberOfRequirements
public int numberOfRequirements() -
hasRequirements
public boolean hasRequirements() -
indexOfRequirement
-
getUmpleClass
-
hasUmpleClass
public boolean hasUmpleClass() -
minimumNumberOfWatchList
public static int minimumNumberOfWatchList() -
addWatchList
-
removeWatchList
-
addWatchListAt
-
addOrMoveWatchListAt
-
minimumNumberOfMethodParameters
public static int minimumNumberOfMethodParameters() -
addMethodParameter
-
removeMethodParameter
-
addMethodParameterAt
-
addOrMoveMethodParameterAt
-
minimumNumberOfComments
public static int minimumNumberOfComments() -
addComment
-
removeComment
-
addCommentAt
-
addOrMoveCommentAt
-
minimumNumberOfRequirements
public static int minimumNumberOfRequirements() -
addRequirement
-
removeRequirement
-
addRequirementAt
-
addOrMoveRequirementAt
-
setUmpleClass
-
delete
public void delete() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-