|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.topcased.modeler.uml.classdiagram.util.OperationDataStructure
public class OperationDataStructure
Provide a structure for handling Operation data
creation : 27 may 2005
Nested Class Summary | |
---|---|
class |
OperationDataStructure.ParameterObject
Internal class to handle a parameter |
Constructor Summary | |
---|---|
OperationDataStructure(org.eclipse.uml2.uml.Operation operation)
The constructor |
Method Summary | |
---|---|
void |
add(org.eclipse.uml2.uml.Parameter parameter)
Add a parameter to the structure |
void |
add(java.lang.String name,
org.eclipse.uml2.uml.Type type)
Add a parameter to the structure |
void |
addAll(java.util.Collection parameters)
Add a collection of parameters to the operation |
java.util.Collection |
getData()
Get the datas |
java.lang.String |
getDisplayName(java.lang.Object object)
Get the name of a given object |
java.lang.String |
getDisplayType(java.lang.Object object)
Get the type name of a given object |
org.eclipse.uml2.uml.Type |
getType(java.lang.Object object)
Get the type of a given object |
void |
remove(java.lang.Object object)
Remove a parameter or the name or etc..; from the structure |
void |
setName(java.lang.Object object,
java.lang.String name)
Set the name of the parameter object |
void |
setType(java.lang.Object object,
org.eclipse.uml2.uml.Type type)
Set the type of the parameter object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OperationDataStructure(org.eclipse.uml2.uml.Operation operation)
operation
- the OperationMethod Detail |
---|
public void add(org.eclipse.uml2.uml.Parameter parameter)
parameter
- the parameter to addpublic void add(java.lang.String name, org.eclipse.uml2.uml.Type type)
name
- the parameter nametype
- the parameter typepublic void remove(java.lang.Object object)
object
- the object to removepublic void addAll(java.util.Collection parameters)
parameters
- the collection of parameters to addpublic java.util.Collection getData()
public java.lang.String getDisplayName(java.lang.Object object)
object
- OperationDataObject object
public java.lang.String getDisplayType(java.lang.Object object)
object
- OperationDataObject object
public org.eclipse.uml2.uml.Type getType(java.lang.Object object)
object
- OperationDataObject object
public void setName(java.lang.Object object, java.lang.String name)
object
- a ParameterObjectname
- the new namepublic void setType(java.lang.Object object, org.eclipse.uml2.uml.Type type)
object
- a ParameterObjecttype
- the new type
|
UML | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.