org.omg.uml.foundation.core
Interface Method

All Superinterfaces:
BehavioralFeature, Element, Feature, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject

public interface Method
extends BehavioralFeature

Method object instance interface.


Method Summary
 ProcedureExpression getBody()
          Returns the value of attribute body.
 Operation getSpecification()
          Returns the value of reference specification.
 void setBody(ProcedureExpression newValue)
          Sets the value of body attribute.
 void setSpecification(Operation newValue)
          Sets the value of reference specification.
 
Methods inherited from interface org.omg.uml.foundation.core.BehavioralFeature
getParameter, isQuery, setQuery
 
Methods inherited from interface org.omg.uml.foundation.core.Feature
getOwner, getOwnerScope, setOwner, setOwnerScope
 
Methods inherited from interface org.omg.uml.foundation.core.ModelElement
getClientDependency, getComment, getConstraint, getName, getNamespace, getSourceFlow, getStereotype, getTaggedValue, getTargetFlow, getTemplateParameter, getVisibility, isSpecification, setName, setNamespace, setSpecification, 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

getBody

public ProcedureExpression getBody()
Returns the value of attribute body.

Returns:
Value of attribute body.

setBody

public void setBody(ProcedureExpression newValue)
Sets the value of body attribute. See getBody() for description on the attribute.

Parameters:
newValue - New value to be set.

getSpecification

public Operation getSpecification()
Returns the value of reference specification.

Returns:
Value of reference specification.

setSpecification

public void setSpecification(Operation newValue)
Sets the value of reference specification. See getSpecification() for description on the reference.

Parameters:
newValue - New value to be set.