|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--UML.Semantic.Foundation.Core.ModelElement
|
+--UML.Semantic.Foundation.Core.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.
| Constructor Summary | |
Parameter()
Constructor. |
|
| Method Summary | |
boolean |
check()
Checks if well-formedness rules are respected in this model element. |
java.lang.String |
getDefaultValue()
Gets the default value of this parameter. |
void |
getInfo()
Gets info on Parameter. |
java.lang.String |
getKind()
Gets the current kind of parameter direction. |
Classifier |
getType()
Returns the type of this parameter. |
void |
setDefaultValue(java.lang.String dv)
Sets the default value for this parameter. |
void |
setKind(java.lang.String mode)
Sets the parameter direction kind to the given value. |
void |
setType(java.lang.String type)
Sets the type of this parameter. |
| Methods inherited from class UML.Semantic.Foundation.Core.ModelElement |
add, add, getBindingList, getConstraintList, getElementType, getErrors, getHref, getId, getIdentification, getIdref, getIndex, getIsOwned, getLabel, getLocator, getName, getNamespace, getNamespaceId, getStereotype, getTemplate, getTemplateParameterList, getTitle, getUuid, getUuidref, getVisibility, getVisibilitySymbol, getWarnings, setElementType, setErrors, setHref, setId, setIdref, setIndex, setIsOwned, setLabel, setName, setNamespace, setTemplate, setTitle, setUuid, setUuidref, setVisibility, setWarnings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Parameter()
| Method Detail |
public void setKind(java.lang.String mode)
public java.lang.String getKind()
public void setDefaultValue(java.lang.String dv)
public java.lang.String getDefaultValue()
public void setType(java.lang.String type)
public Classifier getType()
public boolean check()
check in class ModelElementpublic void getInfo()
getInfo in class ModelElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||