|
SysML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.topcased.modeler.sysml.blockdefinitiondiagram.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,
org.eclipse.uml2.uml.ParameterDirectionKind direction)
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 |
org.eclipse.uml2.uml.ParameterDirectionKind |
getDirection(java.lang.Object object)
Get the direction of a given object |
java.lang.String |
getDisplayDirection(java.lang.Object object)
Get the direction name of a given object |
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 |
setDirection(java.lang.Object object,
org.eclipse.uml2.uml.ParameterDirectionKind direction)
Set the direction of the parameter object |
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 Operation| Method Detail |
|---|
public void add(org.eclipse.uml2.uml.Parameter parameter)
parameter - the parameter to add
public void add(java.lang.String name,
org.eclipse.uml2.uml.Type type,
org.eclipse.uml2.uml.ParameterDirectionKind direction)
name - the parameter nametype - the parameter typedirection - the parameter directionpublic 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 java.lang.String getDisplayDirection(java.lang.Object object)
object - OperationDataObject object
public org.eclipse.uml2.uml.Type getType(java.lang.Object object)
object - OperationDataObject object
public org.eclipse.uml2.uml.ParameterDirectionKind getDirection(java.lang.Object object)
object - OperationDataObject object
public void setName(java.lang.Object object,
java.lang.String name)
object - a ParameterObjectname - the new name
public void setType(java.lang.Object object,
org.eclipse.uml2.uml.Type type)
object - a ParameterObjecttype - the new type
public void setDirection(java.lang.Object object,
org.eclipse.uml2.uml.ParameterDirectionKind direction)
object - a ParameterObjectdirection - the new direction
|
SysML | |||||||||
| 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.