|
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 '
Solution'.
xmi:ordered=true
property order is (these are role names) 1. artifact
An asset provides a solution, which is found in a collection of artifacts.
The
The following features are supported:
DefaultprofilePackage.getSolution()
Method Summary | |
VisitorStatus |
accept(IArtifactVisitor visitor)
Accepts the given visitor. |
boolean |
addArtifact(Artifact anArtifact)
Helper method to add an Artifact to this
Solution . |
Artifact |
createArtifact()
Helper method used to create a Artifact |
EList |
getArtifact()
Returns the value of the 'Artifact' containment reference list. |
IAssetFactory |
getAssetFactory()
Get the asset factory with which to create the elements in this Solution . |
void |
setAssetFactory(IAssetFactory theAssetFactory)
Set the asset factory with which to create the elements in this Solution . |
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 EList getArtifact()
Artifact
.
DefaultprofilePackage.getSolution_Artifact()
public void setAssetFactory(IAssetFactory theAssetFactory)
Solution
. This method is called by the AssetFactory's
create method when the Solution
is created. It should
never have to be set by the user.
theAssetFactory
- with which to create elementspublic IAssetFactory getAssetFactory()
Solution
.
public Artifact createArtifact()
Artifact element using the factory assigned
to the Solution
.
- Returns:
- a new instance of a
Artifact
element or null
if one
could not be created. - See Also:
Artifact
public boolean addArtifact(Artifact anArtifact) throws IllegalArgumentException
Artifact
to this
Solution
.
anArtifact
- to add to the Solution
true
if successfully added
IllegalArgumentException
- if anArtifact
is null
public VisitorStatus accept(IArtifactVisitor visitor)
visit
method is
called with this Solution
. Each Artifact
contained in the Solution
will be visited. The visitor
returns a VisitorStatus
indicating how visition should
proceed.
visitor
- the visitor used to visit each Artifact
IllegalArgumentException
- if visitor
is null
.IArtifactVisitor.visit(Artifact)
|
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.