IBM Rational Software Modeler
Release 6.0

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

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier

public interface Operation
extends org.eclipse.emf.ecore.EObject

A representation of the model object 'Operation'. xmi:ordered=true property order is (these are role names) 1. condition 2. parameter The Operation describes one InterfaceSpec operation and has two associations, Condition and Parameter. These elements provide sufficient information in the asset packaging to let asset consumers and tools reason on the nature of the interface. The Operation class has three attributes, name, initiatesTransaction, and description. The name is the operation name. The initiatesTransaction declares (i.e., boolean) if the Operation starts a transaction. The description provides for a brief abstract on the Operation.

The following features are supported:

See Also:
DefaultcomponentprofilePackage.getOperation()

Method Summary
 org.eclipse.emf.common.util.EList getCondition()
          Returns the value of the 'Condition' containment reference list.
 Description getDescription()
          Returns the value of the 'Description' containment reference
 Boolean getInitiatesTransaction()
          Returns the value of the 'Initiates Transaction' attribute
 String getName()
          Returns the value of the 'Name' attribute
 org.eclipse.emf.common.util.EList getParameter()
          Returns the value of the 'Parameter' containment reference list.
 void setDescription(Description value)
          Sets the value of the 'Description' containment reference
 void setInitiatesTransaction(Boolean value)
          Sets the value of the 'Initiates Transaction' attribute
 void setName(String value)
          Sets the value of the 'Name' 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 Operation.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DefaultcomponentprofilePackage.getOperation_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()

getInitiatesTransaction

public Boolean getInitiatesTransaction()
Returns the value of the 'Initiates Transaction' attribute. This boolean value indicates whether the Operation starts a transaction.

Returns:
the value of the 'Initiates Transaction' attribute.
See Also:
setInitiatesTransaction(Boolean), DefaultcomponentprofilePackage.getOperation_InitiatesTransaction()

setInitiatesTransaction

public void setInitiatesTransaction(Boolean value)
Sets the value of the 'Initiates Transaction' attribute.

Parameters:
value - the new value of the 'Initiates Transaction' attribute.
See Also:
getInitiatesTransaction()

getParameter

public org.eclipse.emf.common.util.EList getParameter()
Returns the value of the 'Parameter' containment reference list. The list contents are of type Parameter.

Returns:
the value of the 'Parameter' containment reference list.
See Also:
DefaultcomponentprofilePackage.getOperation_Parameter()

getCondition

public org.eclipse.emf.common.util.EList getCondition()
Returns the value of the 'Condition' containment reference list. The list contents are of type Condition.

Returns:
the value of the 'Condition' containment reference list.
See Also:
DefaultcomponentprofilePackage.getOperation_Condition()

getDescription

public Description getDescription()
Returns the value of the 'Description' containment reference.

Returns:
the value of the 'Description' containment reference.
See Also:
setDescription(Description), DefaultcomponentprofilePackage.getOperation_Description()

setDescription

public void setDescription(Description value)
Sets the value of the 'Description' containment reference.

Parameters:
value - the new value of the 'Description' containment reference.
See Also:
getDescription()

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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