UML

org.topcased.modeler.uml.classdiagram.util
Class OperationDataStructure.ParameterObject

java.lang.Object
  extended by org.topcased.modeler.uml.classdiagram.util.OperationDataStructure.ParameterObject
Enclosing class:
OperationDataStructure

public class OperationDataStructure.ParameterObject
extends java.lang.Object

Internal class to handle a parameter


Constructor Summary
OperationDataStructure.ParameterObject(java.lang.String n, org.eclipse.uml2.uml.Type t)
          The constructor
 
Method Summary
 java.lang.String getName()
          Get property name
 org.eclipse.uml2.uml.Type getType()
          Get property type
 void setName(java.lang.String newName)
          Set new name for the parameter
 void setType(org.eclipse.uml2.uml.Type newType)
          Set new type for the parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationDataStructure.ParameterObject

public OperationDataStructure.ParameterObject(java.lang.String n,
                                              org.eclipse.uml2.uml.Type t)
The constructor

Parameters:
n - parameter name
t - parameter type
Method Detail

getName

public java.lang.String getName()
Get property name

Returns:
name of the property

getType

public org.eclipse.uml2.uml.Type getType()
Get property type

Returns:
type of the property

setName

public void setName(java.lang.String newName)
Set new name for the parameter

Parameters:
newName - the new name

setType

public void setType(org.eclipse.uml2.uml.Type newType)
Set new type for the parameter

Parameters:
newType - the new type

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.