IBM Rational Software Modeler
Release 6.0

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

All Superinterfaces:
EObject, Notifier

public interface Requirements
extends EObject

A representation of the model object 'Requirements'. xmi:ordered=true property order is (these are role names) 1. model 2. diagram 3. useCase 4. artifact The models, diagrams, artifacts, and so on within this class are intended to describe the requirements that the component proposes to fulfill.

The following features are supported:

See Also:
DefaultcomponentprofilePackage.getRequirements()

Method Summary
 VisitorStatus accept(IArtifactVisitor visitor)
          Accepts the given visitor.
 EList getArtifact()
          Returns the value of the 'Artifact' containment reference list.
 EList getDiagram()
          Returns the value of the 'Diagram' containment reference list.
 EList getModel()
          Returns the value of the 'Model' containment reference list.
 EList getUseCase()
          Returns the value of the 'Use Case' containment reference list.
 
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

getUseCase

public EList getUseCase()
Returns the value of the 'Use Case' containment reference list. The list contents are of type UseCase.

Returns:
the value of the 'Use Case' containment reference list.
See Also:
DefaultcomponentprofilePackage.getRequirements_UseCase()

getArtifact

public EList getArtifact()
Returns the value of the 'Artifact' containment reference list. The list contents are of type Artifact.

Returns:
the value of the 'Artifact' containment reference list.
See Also:
DefaultcomponentprofilePackage.getRequirements_Artifact()

getDiagram

public EList getDiagram()
Returns the value of the 'Diagram' containment reference list. The list contents are of type Diagram.

Returns:
the value of the 'Diagram' containment reference list.
See Also:
DefaultcomponentprofilePackage.getRequirements_Diagram()

getModel

public EList getModel()
Returns the value of the 'Model' containment reference list. The list contents are of type Model.

Returns:
the value of the 'Model' containment reference list.
See Also:
DefaultcomponentprofilePackage.getRequirements_Model()

accept

public VisitorStatus accept(IArtifactVisitor visitor)
                     throws IllegalArgumentException
Accepts the given visitor. The visitor's visit method is called with this Requirements. Each Artifact contained in the Requirements will be visited. The visitor returns a VisitorStatus indicating how visition should proceed.

Parameters:
visitor - the visitor used to visit each Artifact
Returns:
a status indicating how visitation should proceed
Throws:
IllegalArgumentException - if visitor is null.
See Also:
IArtifactVisitor.visit(Artifact)

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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