IBM Rational Software Modeler
Release 6.0

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

All Superinterfaces:
EObject, Notifier

public interface Condition
extends EObject

A representation of the model object 'Condition'. xmi:ordered=false The Condition class captures the pre-, post- and other conditions of the Operation. It has two attributes type and description that declare the kind of the condition and explains the condition, respectively.

The following features are supported:

See Also:
DefaultcomponentprofilePackage.getCondition()

Method Summary
 Description getDescription()
          Returns the value of the 'Description' containment reference
 String getType()
          Returns the value of the 'Type' attribute
 void setDescription(Description value)
          Sets the value of the 'Description' containment reference
 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

getType

public String getType()
Returns the value of the 'Type' attribute. This captures the type of the condition for the Operation, such as a "pre" for a pre-condition that must exist before the operation is invoked.

Returns:
the value of the 'Type' attribute.
See Also:
setType(String), DefaultcomponentprofilePackage.getCondition_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()

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.getCondition_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.