org.ocltf.model
Interface OperationFacade

All Superinterfaces:
ElementFacade

public interface OperationFacade
extends ElementFacade

Specifies a "facade" for an underlying operation.

Author:
Chad Brandon

Method Summary
 java.util.Collection getArgumentTypes()
          Retrieves the argument type(s) for the specified operation.
 ClassifierFacade getOwner()
          Returns the 'owner' of this operation (the ClassiferFacade type).
 java.util.Collection getParameters()
          Retrieves a Collection of all ParameterFacades that his OperationFacade contains.
 ClassifierFacade getReturnType()
          Gets the return type of the underlying operation as a ClassifierFacade.
 java.util.Collection getReturnTypes()
          Retrieves the return type(s) for the specified operation
 java.lang.String getVisibilityModifier()
          Gets the visibility modifier (i.e, public, private, etc.)
 boolean isQuery()
          Returns true if the operation is an operation and if it is a query.
 
Methods inherited from interface org.ocltf.model.ElementFacade
findConstraint, findTagValue, getConstraints, getFullyQualifiedName, getGeneralizations, getId, getName, getPackageName, getStereotypeNames, getTaggedValues, getType
 

Method Detail

getReturnTypes

public java.util.Collection getReturnTypes()
Retrieves the return type(s) for the specified operation

Returns:
Collection - the possible return types.

getParameters

public java.util.Collection getParameters()
Retrieves a Collection of all ParameterFacades that his OperationFacade contains.

Returns:
Collection all of the ParameterFacades representing the Parameters

getVisibilityModifier

public java.lang.String getVisibilityModifier()
Gets the visibility modifier (i.e, public, private, etc.)

Returns:
String - the visibility as a string.

getReturnType

public ClassifierFacade getReturnType()
Gets the return type of the underlying operation as a ClassifierFacade.

Returns:
ClassifierFacade - the return type;

getArgumentTypes

public java.util.Collection getArgumentTypes()
Retrieves the argument type(s) for the specified operation.

Returns:
Collection - the collection of argument types.

isQuery

public boolean isQuery()
Returns true if the operation is an operation and if it is a query.

Returns:
true if its a query, false otherwise

getOwner

public ClassifierFacade getOwner()
Returns the 'owner' of this operation (the ClassiferFacade type).

Returns:
ClassifierFacade the owner


Copyright © 2003-2004 Chad Brandon. All Rights Reserved.