|
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 ' Usage'. xmi:ordered=false property order is (these are role names) 1. artifactActivity 2. contextRef 3. assetActivity
The following features are supported:
DefaultprofilePackage.getUsage()
Method Summary | |
VisitorStatus |
accept(com.ibm.xtools.ras.profile.defauld.navigation.internal.IActivityVisitor visitor)
Accepts the given visitor. |
Activity |
createActivity()
Helper method used to create an Activity |
Artifact |
createArtifact()
Helper method used to create an Artifact |
ArtifactActivity |
createArtifactActivity()
Helper method used to create an ArtifactActivity |
AssetActivity |
createAssetActivity()
Helper method used to create an AssetActivity |
ContextRef |
createContextRef()
Helper method used to create a ContextRef |
EList |
getArtifactActivity()
Returns the value of the 'Artifact Activity' containment reference list. |
EList |
getAssetActivity()
Returns the value of the 'Asset Activity' containment reference list. |
IAssetFactory |
getAssetFactory()
Get the asset factory with which to create the elements in this Solution . |
EList |
getContextRef()
Returns the value of the 'Context Ref' containment reference list. |
Artifact |
getReference()
Returns the value of the 'Reference' reference. |
void |
setAssetFactory(IAssetFactory theAssetFactory)
Set the asset factory with which to create the elements in this Usage . |
void |
setReference(Artifact value)
Sets the value of the ' Reference '
reference.
|
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 Artifact getReference()
setReference(Artifact)
,
DefaultprofilePackage.getUsage_Reference()
public void setReference(Artifact value)
Reference
'
reference.
value
- the new value of the 'Reference' reference.getReference()
public EList getContextRef()
ContextRef
.
DefaultprofilePackage.getUsage_ContextRef()
public EList getArtifactActivity()
ArtifactActivity
.
DefaultprofilePackage.getUsage_ArtifactActivity()
public EList getAssetActivity()
AssetActivity
.
DefaultprofilePackage.getUsage_AssetActivity()
public void setAssetFactory(IAssetFactory theAssetFactory)
Usage
. This method is called by the AssetFactory's create
method when the Usage
is created. It should never have to
be set by the user.
theAssetFactory
- with which to create elementspublic IAssetFactory getAssetFactory()
Solution
.
public Activity createActivity()
Activity element using the factory assigned
to the Usage
.
- Returns:
- a new instance of an
Activity
element or null
if one
could not be created. - See Also:
Activity
public Artifact createArtifact()
Artifact element using the factory assigned
to the Usage
.
- Returns:
- a new instance of an
Artifact
element or null
if one
could not be created. - See Also:
Artifact
public ContextRef createContextRef()
ContextRef element using the factory assigned
to the Usage
.
- Returns:
- a new instance of a
ContextRef
element or null
if one
could not be created. - See Also:
ContextRef
public ArtifactActivity createArtifactActivity()
ArtifactActivity element using the factory assigned
to the Usage
.
- Returns:
- a new instance of an
ArtifactActivity
element or null
if one
could not be created. - See Also:
ArtifactActivity
public AssetActivity createAssetActivity()
AssetActivity element using the factory assigned
to the Usage
.
- Returns:
- a new instance of an
AssetActivity
element or null
if one
could not be created. - See Also:
AssetActivity
public VisitorStatus accept(com.ibm.xtools.ras.profile.defauld.navigation.internal.IActivityVisitor visitor)
visit
method is
called with this Usage
. Each Activity
contained in the Usage
will be visited. The visitor
returns a VisitorStatus
indicating how visition should
proceed.
visitor
- the visitor used to visit each Activity
IllegalArgumentException
- if visitor
is null
.IActivityVisitor.visit(Activity)
|
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.