|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameter
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 |
---|
Expression getDefaultValue() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setDefaultValue(Expression defaultValue) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
ParameterDirectionKind getKind() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setKind(ParameterDirectionKind kind) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Classifier getType() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setType(Classifier type) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
BehavioralFeature getBehavioralFeature() throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
void setBehavioralFeature(BehavioralFeature behavioralFeature) throws javax.jmi.reflect.JmiException
javax.jmi.reflect.JmiException
Collection getState() 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 |