IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.profile.defauld.component.defaultcomponentprofile
Interface Parameter

All Superinterfaces:
EObject, Notifier

public interface Parameter
extends EObject

A representation of the model object 'Parameter'. xmi:ordered=false The Parameter class describes the parameters on the Operation having the attributes of name, type, and direction. The name attribute is the name of the parameter. The type attribute describes the parameter's type. The direction attribute describes whether the parameter is input to the operation, or output, or both, and so on.

The following features are supported:

See Also:
DefaultcomponentprofilePackage.getParameter()

Method Summary
 String getDirection()
          Returns the value of the 'Direction' attribute
 String getName()
          Returns the value of the 'Name' attribute
 String getType()
          Returns the value of the 'Type' attribute
 void setDirection(String value)
          Sets the value of the 'Direction' attribute
 void setName(String value)
          Sets the value of the 'Name' attribute
 void setType(String value)
          Sets the value of the 'Type' attribute
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getName

public String getName()
Returns the value of the 'Name' attribute. This is the name of the Parameter on the Operation.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DefaultcomponentprofilePackage.getParameter_Name()

setName

public void setName(String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getType

public String getType()
Returns the value of the 'Type' attribute. This is the type of the Parameter on the Operation.

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), DefaultcomponentprofilePackage.getParameter_Type()

setType

public void setType(String value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
getType()

getDirection

public String getDirection()
Returns the value of the 'Direction' attribute. This is the direction of the Parameter on the Operation, such as "in", "out", "inout".

Returns:
the value of the 'Direction' attribute.
See Also:
setDirection(String), DefaultcomponentprofilePackage.getParameter_Direction()

setDirection

public void setDirection(String value)
Sets the value of the 'Direction' attribute.

Parameters:
value - the new value of the 'Direction' attribute.
See Also:
getDirection()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.