IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.profile.defauld.defaultprofile
Interface Context

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

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

A representation of the model object ' Context'. xmi:ordered=true property order is (these are role names) 1. description 2. descriptorGroup

The following features are supported:

See Also:
DefaultprofilePackage.getContext()

Method Summary
 Description createDescription()
          Helper method used to create a Description element using the factory assigned to the Context.
 IAssetFactory getAssetFactory()
          Get the asset factory with which to create the elements in this Context.
 Description getDescription()
          Returns the value of the 'Description' containment reference.
 org.eclipse.emf.common.util.EList getDescriptorGroup()
          Returns the value of the 'Descriptor Group' containment reference list.
 String getName()
          Returns the value of the 'Name' attribute.
 void setAssetFactory(IAssetFactory theAssetFactory)
          Set the asset factory with which to create the elements in this Context.
 void setDescription(Description value)
          Sets the value of the ' Description' containment reference.
 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. {required}

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

getDescriptorGroup

public org.eclipse.emf.common.util.EList getDescriptorGroup()
Returns the value of the 'Descriptor Group' containment reference list. The list contents are of type DescriptorGroup.

Returns:
the value of the 'Descriptor Group' containment reference list.
See Also:
DefaultprofilePackage.getContext_DescriptorGroup()

getDescription

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

Returns:
the value of the 'Description' containment reference.
See Also:
setDescription(Description), DefaultprofilePackage.getContext_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()

setAssetFactory

public void setAssetFactory(IAssetFactory theAssetFactory)
Set the asset factory with which to create the elements in this Context. This method is called by the AssetFactory's create method when the Context is created. It should never have to be set by the user.

Parameters:
theAssetFactory - with which to create elements

getAssetFactory

public IAssetFactory getAssetFactory()
Get the asset factory with which to create the elements in this Context.

Returns:
the asset factory

createDescription

public Description createDescription()
Helper method used to create a Description element using the factory assigned to the Context.

Returns:
a new instance of a Description element or null if one could not be created.
See Also:
Description

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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