net.sf.farrago.cwm.behavioral
Interface CwmMethod

All Superinterfaces:
CwmBehavioralFeature, CwmElement, CwmFeature, CwmModelElement, RefBaseObject, RefFeatured, RefObject
All Known Subinterfaces:
CwmProcedure, FemRoutine
All Known Implementing Classes:
CwmMethod$Hib, CwmProcedure$Hib, FemRoutine$Hib

public interface CwmMethod
extends CwmBehavioralFeature

Method object instance interface. Method is the implementation of an Operation. It specifies the algorithm or procedure that effects the results of an Operation.

Note: This type should not be subclassed, implemented or directly instantiated by clients. It is generated from a MOF metamodel and implemented by Enki or MDR.


Method Summary
 CwmProcedureExpression getBody()
          Returns the value of attribute body.
 CwmOperation getSpecification()
          Returns the value of reference specification.
 void setBody(CwmProcedureExpression newValue)
          Sets the value of body attribute.
 void setSpecification(CwmOperation newValue)
          Sets the value of specification reference.
 
Methods inherited from interface net.sf.farrago.cwm.behavioral.CwmBehavioralFeature
getParameter, isQuery, setQuery
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmFeature
getOwner, getOwnerScope, setOwner, setOwnerScope
 
Methods inherited from interface net.sf.farrago.cwm.core.CwmModelElement
getClientDependency, getConstraint, getImporter, getName, getNamespace, getVisibility, setName, setNamespace, setVisibility
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getBody

CwmProcedureExpression getBody()
Returns the value of attribute body. A specification of the Method in some appropriate form (such as a programming language). The exact form of a Method?s specification and knowledge of the language in which it is described is outside the scope of the CWM.

Returns:
Value of attribute body.

setBody

void setBody(CwmProcedureExpression newValue)
Sets the value of body attribute. See getBody() for description on the attribute.

Parameters:
newValue - New value to be set.

getSpecification

CwmOperation getSpecification()
Returns the value of reference specification.

Returns:
Value of reference specification.

setSpecification

void setSpecification(CwmOperation newValue)
Sets the value of specification reference. See getSpecification() for description on the attribute.

Parameters:
newValue - New value to be set.