com.change_vision.jude.api.inf.model
Interface IOperation

com.change_vision.jude.api.inf.model.IOperation
All Implemented Interfaces:
IElement, INamedElement

public IOperation
extends INamedElement

Interface for Operation.


Method Summary
abstract  IParameter[] getParameters()
          Get Parameters.
abstract  IClass getReturnType()
          Get Return Type.
abstract  String getReturnTypeExpression()
          Get Return Type Expression.
abstract  boolean isAbstract()
          Check if it is abstract.
abstract  boolean isLeaf()
          Check if it is able to overwrite (final in Java language).
abstract  boolean isStatic()
          Check if it is static.
 
Methods inherited from class com.change_vision.jude.api.inf.model.INamedElement
getClientDependencies, getConstraints, getDefinition, getDiagrams, getName, getSupplierDependencies, isPackageVisibility, isPrivateVisibility, isProtectedVisibility, isPublicVisibility
 
Methods inherited from class com.change_vision.jude.api.inf.model.IElement
getComments, getId, getOwner, getStereotypes, getTaggedValues
 

Method Detail

getParameters

public abstract IParameter[] getParameters()
Get Parameters.

Returns:
the array of Parameters. Return the empty array in case there is none.

getReturnType

public abstract IClass getReturnType()
Get Return Type.

Returns:
Return Type. Return null in case there is none.

getReturnTypeExpression

public abstract String getReturnTypeExpression()
Get Return Type Expression.

Returns:
String Type Expression. Return empty string ("") there is none.

isLeaf

public abstract boolean isLeaf()
Check if it is able to overwrite (final in Java language).

Returns:
true cannot overwrite / false it is able to overwrite

isAbstract

public abstract boolean isAbstract()
Check if it is abstract.

Returns:
true it is abstract / false it is not abstract

isStatic

public abstract boolean isStatic()
Check if it is static.

Returns:
true it is an operation of static / false it is not an operation of static