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.
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