net.sf.farrago.cwm.behavioral
Interface CwmOperation

All Superinterfaces:
CwmBehavioralFeature, CwmElement, CwmFeature, CwmModelElement, RefBaseObject, RefFeatured, RefObject
All Known Implementing Classes:
CwmOperation$Hib

public interface CwmOperation
extends CwmBehavioralFeature

Operation object instance 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
 Collection<CwmMethod> getMethod()
          Returns the value of reference method.
 boolean isAbstract()
          Returns the value of attribute isAbstract.
 void setAbstract(boolean newValue)
          Sets the value of isAbstract attribute.
 
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

isAbstract

boolean isAbstract()
Returns the value of attribute 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:
Value of attribute isAbstract.

setAbstract

void setAbstract(boolean newValue)
Sets the value of isAbstract attribute. See isAbstract() for description on the attribute.

Parameters:
newValue - New value to be set.

getMethod

Collection<CwmMethod> getMethod()
Returns the value of reference method.

Returns:
Value of reference method. Element type: CwmMethod