uk.ac.ucl.cs.uml.jmi.Foundation.Core
Interface Parameter

All Superinterfaces:
Element, ExtObject, ModelElement, javax.jmi.reflect.RefBaseObject, javax.jmi.reflect.RefFeatured, javax.jmi.reflect.RefObject
All Known Implementing Classes:
Parameter_Impl

public interface Parameter
extends ModelElement

A parameter is an unbound variable that can be changed, passed, or returned. A parameter may include a name, type, and direction of communication. Parameters are used in the specification of operations, messages and events, templates, etc. In the metamodel, a Parameter is a declaration of an argument to be passed to, or returned from, an Operation, a Signal, etc.


Method Summary
 BehavioralFeature getBehavioralFeature()
          Not documented in spec!
 Expression getDefaultValue()
          An Expression whose evaluation yields a value to be used when no argument is supplied for the Parameter.
 ParameterDirectionKind getKind()
          Specifies what kind of a Parameter is required.
 Collection getState()
          Not documented in spec! added opposite from ::"Behavioral Elements"::"Activity Graphs"::ObjectFlowState
 Classifier getType()
          Designates a Classifier to which an argument value must conform.
 void setBehavioralFeature(BehavioralFeature behavioralFeature)
          Setter for atomic property behavioralFeature)
 void setDefaultValue(Expression defaultValue)
          Setter for atomic property defaultValue)
 void setKind(ParameterDirectionKind kind)
          Setter for atomic property kind)
 void setType(Classifier type)
          Setter for atomic property type)
 
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

getDefaultValue

Expression getDefaultValue()
                           throws javax.jmi.reflect.JmiException
An Expression whose evaluation yields a value to be used when no argument is supplied for the Parameter.

Throws:
javax.jmi.reflect.JmiException

setDefaultValue

void setDefaultValue(Expression defaultValue)
                     throws javax.jmi.reflect.JmiException
Setter for atomic property defaultValue)

Throws:
javax.jmi.reflect.JmiException

getKind

ParameterDirectionKind getKind()
                               throws javax.jmi.reflect.JmiException
Specifies what kind of a Parameter is required. Possibilities are: • in - An input Parameter (may not be modified). • out - An output Parameter (may be modified to communicate information to the caller). • inout - An input Parameter that may be modified. • return -A return value of a call.

Throws:
javax.jmi.reflect.JmiException

setKind

void setKind(ParameterDirectionKind kind)
             throws javax.jmi.reflect.JmiException
Setter for atomic property kind)

Throws:
javax.jmi.reflect.JmiException

getType

Classifier getType()
                   throws javax.jmi.reflect.JmiException
Designates a Classifier to which an argument value must conform.

Throws:
javax.jmi.reflect.JmiException

setType

void setType(Classifier type)
             throws javax.jmi.reflect.JmiException
Setter for atomic property type)

Throws:
javax.jmi.reflect.JmiException

getBehavioralFeature

BehavioralFeature getBehavioralFeature()
                                       throws javax.jmi.reflect.JmiException
Not documented in spec!

Throws:
javax.jmi.reflect.JmiException

setBehavioralFeature

void setBehavioralFeature(BehavioralFeature behavioralFeature)
                          throws javax.jmi.reflect.JmiException
Setter for atomic property behavioralFeature)

Throws:
javax.jmi.reflect.JmiException

getState

Collection getState()
                    throws javax.jmi.reflect.JmiException
Not documented in spec! added opposite from ::"Behavioral Elements"::"Activity Graphs"::ObjectFlowState

Throws:
javax.jmi.reflect.JmiException