net.sf.farrago.cwm.behavioral
Interface CwmOperationClass

All Superinterfaces:
RefBaseObject, RefClass, RefFeatured
All Known Implementing Classes:
CwmOperationClass$Hib

public interface CwmOperationClass
extends RefClass

Operation class proxy interface. Operation is a service that can be requested from an object to effect behavior. An Operation has a signature, which describes the parameters that are possible (including possible return values). In the metamodel, an Operation is a BehavioralFeature that can be applied to instances of the Classifier that contains the Operation. Operation is the specification, while Method is the implementation.

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
 CwmOperation createCwmOperation()
          The default factory operation used to create an instance object.
 CwmOperation createCwmOperation(String name, VisibilityKind visibility, ScopeKind ownerScope, boolean isQuery, boolean isAbstract)
          Creates an instance object having attributes initialized by the passed values.
 
Methods inherited from interface javax.jmi.reflect.RefClass
refAllOfClass, refAllOfType, refCreateInstance, refCreateStruct, refCreateStruct, refGetEnum, refGetEnum
 
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

createCwmOperation

CwmOperation createCwmOperation()
The default factory operation used to create an instance object.

Returns:
The created instance object.

createCwmOperation

CwmOperation createCwmOperation(String name,
                                VisibilityKind visibility,
                                ScopeKind ownerScope,
                                boolean isQuery,
                                boolean isAbstract)
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.
isAbstract - If true, then the Operation does not have an implementation, and one must be supplied by a descendant. If false, the Operation must have an implementation in the class or inherited from an ancestor.
Returns:
The created instance object.