Package cruise.umple.compiler
Class UmpleInterface
java.lang.Object
cruise.umple.compiler.UmpleElement
cruise.umple.compiler.UmpleClassifier
cruise.umple.compiler.UmpleInterface
public class UmpleInterface extends UmpleClassifier
Represents a interface.
Like a class, but can't have any concrete methods, attributes or associations.
-
Constructor Summary
Constructors Constructor Description UmpleInterface(java.lang.String aName, UmpleModel aSourceModel)
-
Method Summary
Methods inherited from class cruise.umple.compiler.UmpleClassifier
addConstant, addConstantAt, addDepend, addDependAt, addMethod, addMethodAt, addModelConstraint, addModelConstraintAt, addOrMoveConstantAt, addOrMoveDependAt, addOrMoveMethodAt, addOrMoveModelConstraintAt, getConstant, getConstants, getDepend, getDepends, getDistributeTechnology, getExtendsToken, getIsDistributable, getMethod, getMethods, getModelConstraint, getModelConstraints, getRelativePath, getSourceModel, hasConstants, hasDepends, hasExtendsToken, hasMethod, hasMethods, hasModelConstraints, indexOfConstant, indexOfDepend, indexOfMethod, indexOfModelConstraint, isIsDistributable, minimumNumberOfConstants, minimumNumberOfDepends, minimumNumberOfMethods, minimumNumberOfModelConstraints, numberOfConstants, numberOfDepends, numberOfMethods, numberOfModelConstraints, removeConstant, removeDepend, removeMethod, removeModelConstraint, setDistributeTechnology, setExtendsToken, setIsDistributable, setSourceModel, toString
Methods inherited from class cruise.umple.compiler.UmpleElement
addEndPosition, addEndPositionAt, addNamespace, addOrMoveEndPositionAt, addOrMovePositionAt, addPosition, addPositionAt, appendExtraCode, appendExtraCode, appendExtraCode, getCoordinates, getDisplayColor, getEndPosition, getEndPositions, getExtraCode, getHasMainMethod, getIsInternal, getModifier, getName, getNamespace, getNameSpace, getNamespaces, getPackageName, getPosition, getPositions, hasEndPositions, hasExtraCode, hasNamespaces, hasPositions, indexOfEndPosition, indexOfNamespace, indexOfPosition, isHasMainMethod, isIsInternal, isUmpleClass, isUmpleTrait, minimumNumberOfEndPositions, minimumNumberOfPositions, numberOfEndPositions, numberOfNamespaces, numberOfPositions, removeEndPosition, removeNamespace, removePosition, resetExtraCode, setCoordinates, setDisplayColor, setHasMainMethod, setIsInternal, setModifier, setName, setNameSpace, setPackageName
-
Constructor Details
-
Method Details
-
getExtendsInterface
-
getExtendsInterface
-
numberOfExtendsInterface
public int numberOfExtendsInterface() -
hasExtendsInterface
public boolean hasExtendsInterface() -
indexOfExtendsInterface
-
getComment
-
getComments
The comments associated with the Umple Interface (such as the Javadoc above it). -
numberOfComments
public int numberOfComments() -
hasComments
public boolean hasComments() -
indexOfComment
-
getRequirement
-
getRequirements
-
numberOfRequirements
public int numberOfRequirements() -
hasRequirements
public boolean hasRequirements() -
indexOfRequirement
-
getUmpleTestCase
-
getUmpleTestCases
-
numberOfUmpleTestCases
public int numberOfUmpleTestCases() -
hasUmpleTestCases
public boolean hasUmpleTestCases() -
indexOfUmpleTestCase
-
minimumNumberOfExtendsInterface
public static int minimumNumberOfExtendsInterface() -
addExtendsInterface
-
removeExtendsInterface
-
addExtendsInterfaceAt
-
addOrMoveExtendsInterfaceAt
-
minimumNumberOfComments
public static int minimumNumberOfComments() -
addComment
-
removeComment
-
addCommentAt
-
addOrMoveCommentAt
-
minimumNumberOfRequirements
public static int minimumNumberOfRequirements() -
addRequirement
-
removeRequirement
-
addRequirementAt
-
addOrMoveRequirementAt
-
minimumNumberOfUmpleTestCases
public static int minimumNumberOfUmpleTestCases() -
addUmpleTestCase
-
removeUmpleTestCase
-
addUmpleTestCaseAt
-
addOrMoveUmpleTestCaseAt
-
delete
public void delete()- Overrides:
delete
in classUmpleClassifier
-
isUmpleInterface
public boolean isUmpleInterface()- Overrides:
isUmpleInterface
in classUmpleElement
-