SysML

org.topcased.modeler.sysml.blockdefinitiondiagram.util
Class OperationDataStructure.ParameterObject

java.lang.Object
  extended by org.topcased.modeler.sysml.blockdefinitiondiagram.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, org.eclipse.uml2.uml.ParameterDirectionKind d)
          The constructor
 
Method Summary
 org.eclipse.uml2.uml.ParameterDirectionKind getDirection()
          Get parameter type
 java.lang.String getName()
          Get parameter name
 org.eclipse.uml2.uml.Type getType()
          Get parameter type
 void setDirection(org.eclipse.uml2.uml.ParameterDirectionKind direction)
          Set new direction for the parameter
 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,
                                              org.eclipse.uml2.uml.ParameterDirectionKind d)
The constructor

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

getName

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

Returns:
name of the parameter

getType

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

Returns:
type of the parameter

getDirection

public org.eclipse.uml2.uml.ParameterDirectionKind getDirection()
Get parameter type

Returns:
direction of the parameter

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

setDirection

public void setDirection(org.eclipse.uml2.uml.ParameterDirectionKind direction)
Set new direction for the parameter

Parameters:
direction - the new direction

SysML

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