|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Method
A method is the implementation of an operation. It specifies the algorithm or procedure that effects the results of an operation. In the metamodel, a Method is a declaration of a named piece of behavior in a Classifier and realizes one (directly) or a set (indirectly) of Operations of the Classifier. There may be at most one method for a particular classifier (as owner of the method) and operation (as specification of the method) pairing.
Method Summary | |
---|---|
ProcedureExpression |
getBody()
The implementation of the Method as a ProcedureExpression. |
Procedure |
getProcedure()
Not documented in spec! from ::"Behavioral Elements"::"Common Behavior"::Procedure, pg. |
Operation |
getSpecification()
Designates an Operation that the Method implements. |
void |
setBody(ProcedureExpression body)
Setter for atomic property body) |
void |
setProcedure(Procedure procedure)
Setter for atomic property procedure) |
void |
setSpecification(Operation specification)
Setter for atomic property specification) |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.BehavioralFeature |
---|
getIsQuery, getParameter, getRaisedSignal, hasSameSignature, matchesSignature, setIsQuery |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.Feature |
---|
getOwner, getOwnerScope, setOwner, setOwnerScope |
Methods inherited from interface uk.ac.ucl.cs.uml.jmi.Foundation.Core.ModelElement |
---|
getAsArgument, getBehavior, getClientDependency, getComment, getConstraint, getContainer, getDefaultElement, getIsSpecification, getName, getNamespace, getPackage, getPresentation, getReferenceTag, getSourceFlow, getStereotype, getSupplierDependency, getTaggedValue, getTargetFlow, getTemplate, getTemplateArgument, getTemplateParameter, getVisibility, setDefaultElement, setIsSpecification, setName, setNamespace, setTemplate, setVisibility |
Methods inherited from interface uk.ac.ucl.cs.emofocl.jmi.reflect.extended.ExtObject |
---|
extAddObjectListener, extDeepCopy, extDeepCopy, extEquals, extRemoveObjectListener, extValueHash, extVisit |
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 |
---|
ProcedureExpression getBody() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setBody(ProcedureExpression body) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Operation getSpecification() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setSpecification(Operation specification) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Procedure getProcedure() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setProcedure(Procedure procedure) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |