IBM Rational Software Modeler
Release 6.0

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

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

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

A representation of the model object 'Association Role'. xmi:ordered=false The AssociationRole class captures the name, and type attributes of the state that is retained between invocations of operations on the interface. This element represents the roles that are on interface relationships. Creating instances of this element indicates that the InterfaceSpec owns the state related to the relationship.

The following features are supported:

See Also:
DefaultcomponentprofilePackage.getAssociationRole()

Method Summary
 String getName()
          Returns the value of the 'Name' attribute
 String getType()
          Returns the value of the 'Type' 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 AssociationRole in the InformationModel whose state is retained across multiple invokations.

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), DefaultcomponentprofilePackage.getAssociationRole_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 supplier class or the type of the AssociationRole.

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

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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