|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.ashridgetech.jamda.uml.ModelElement
|
+--com.ashridgetech.jamda.uml.Parameter
A UML Parameter. Contained by Operation.
| Nested Class Summary |
| Nested classes inherited from class com.ashridgetech.jamda.uml.ModelElement |
ModelElement.DuplicateElementException, ModelElement.ElementListStore, ModelElement.ElementNameListStore, ModelElement.ElementNameStore, ModelElement.ElementStore, ModelElement.TaggedValue, ModelElement.UnknownElementException |
| Field Summary |
| Fields inherited from class com.ashridgetech.jamda.uml.ModelElement |
DUMMY_STORE |
| Constructor Summary | |
protected |
Parameter(ru.novosoft.uml.foundation.core.MParameter mp,
Operation owner)
Creates new Parameter from a NSUML MParameter object. |
|
Parameter(Operation owner,
java.lang.String name,
StandardTypeDef typeDef)
Creates a new Parameter belonging to an Operation. |
|
Parameter(Operation owner,
java.lang.String name,
Type type)
Creates a new Parameter belonging to an Operation. |
| Method Summary | |
java.lang.String |
getMultName()
Get the name of this TypedItem ,
converted to plural using Util.pluralize(java.lang.String)
if isMultiple() returns true. |
Type |
getType()
Get the type of this Parameter. |
boolean |
isMultiple()
Indicate whether this Parameter can have multiple values. |
boolean |
isReturn()
Show whether this Parameter is a return parameter. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.ashridgetech.jamda.uml.TypedItem |
getComment, getName |
| Constructor Detail |
public Parameter(Operation owner,
java.lang.String name,
Type type)
Parameter belonging to an Operation.
owner - the Operation to which this Parameter belongsname - the name of the Parametertype - the Type of this parameter
public Parameter(Operation owner,
java.lang.String name,
StandardTypeDef typeDef)
Parameter belonging to an Operation.
owner - the Operation to which this Parameter belongsname - the name of the ParametertypeDef - the definition of the Type of this parameter
protected Parameter(ru.novosoft.uml.foundation.core.MParameter mp,
Operation owner)
| Method Detail |
public java.lang.String getMultName()
name of this TypedItem ,
converted to plural using Util.pluralize(java.lang.String)
if isMultiple() returns true.
getMultName in interface TypedItempublic Type getType()
Parameter.
getType in interface TypedItempublic boolean isReturn()
Parameter is a return parameter.
public boolean isMultiple()
Parameter can have multiple values.
isMultiple in interface TypedItem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||