|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A representation of the model object '
Descriptor'.
xmi:contentType=mixed
A
The following features are supported:
DefaultprofilePackage.getDescriptor()
Method Summary | |
Context |
createContext()
Helper method used to create a Context |
IAssetFactory |
getAssetFactory()
Get the asset factory with which to create the elements in this Descriptor . |
Context |
getContext()
Returns the value of the 'Context' reference. |
String |
getName()
Returns the value of the 'Name' attribute. |
String |
getValue()
Returns the value of the 'Value' attribute. |
void |
setAssetFactory(IAssetFactory theAssetFactory)
Set the asset factory with which to create the elements in this Descriptor . |
void |
setContext(Context value)
Sets the value of the ' Context '
reference.
|
void |
setName(String value)
Sets the value of the ' Name '
attribute.
|
void |
setValue(String value)
Sets the value of the ' Value '
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 |
public String getName()
setName(String)
,
DefaultprofilePackage.getDescriptor_Name()
public void setName(String value)
Name
'
attribute.
value
- the new value of the 'Name' attribute.getName()
public String getValue()
setValue(String)
,
DefaultprofilePackage.getDescriptor_Value()
public void setValue(String value)
Value
'
attribute.
value
- the new value of the 'Value' attribute.getValue()
public Context getContext()
setContext(Context)
,
DefaultprofilePackage.getDescriptor_Context()
public void setContext(Context value)
Context
'
reference.
value
- the new value of the 'Context' reference.getContext()
public void setAssetFactory(IAssetFactory theAssetFactory)
Descriptor
. This method is called by the AssetFactory's
create method when the Descriptor
is created. It should
never have to be set by the user.
theAssetFactory
- with which to create elementspublic IAssetFactory getAssetFactory()
Descriptor
.
public Context createContext()
Context element using the factory assigned
to the Descriptor
.
- Returns:
- a new instance of a
Context
element or null
if one
could not be created. - See Also:
Context
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.