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


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.

Value of attribute body.


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

newValue - New value to be set.


CwmOperation getSpecification()
Returns the value of reference specification.

Value of reference specification.


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

newValue - New value to be set.