net.sf.farrago.cwm.behavioral
Interface CwmMethodClass
- All Superinterfaces:
- RefBaseObject, RefClass, RefFeatured
- All Known Implementing Classes:
- CwmMethodClass$Hib
public interface CwmMethodClass
- extends RefClass
Method class proxy 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.
createCwmMethod
CwmMethod createCwmMethod()
- The default factory operation used to create an instance object.
- Returns:
- The created instance object.
createCwmMethod
CwmMethod createCwmMethod(String name,
VisibilityKind visibility,
ScopeKind ownerScope,
boolean isQuery,
CwmProcedureExpression body)
- Creates an instance object having attributes initialized by the passed
values.
- Parameters:
name
- An identifier for the ModelElement within its containing
Namespace.visibility
- Specifies extent of the visibility of the
ModelElement within its owning Namespace.ownerScope
- Specifies whether the Feature appears in every
instance of the Classifier or whether it appears only once for the
entire Classifier.isQuery
- Specifies whether an execution of the BehavioralFeature
leaves the state of the system unchanged. True indicates that the
state is unchanged; false indicates that side-effects may occur.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:
- The created instance object.