org.eclipse.uml2
Interface Artifact

All Superinterfaces:
Classifier, DeployedArtifact, Element, EModelElement, EObject, NamedElement, Namespace, Notifier, PackageableElement, ParameterableElement, RedefinableElement, TemplateableElement, Type
All Known Subinterfaces:
DeploymentSpecification

public interface Artifact
extends Classifier, DeployedArtifact

A representation of the model object 'Artifact'.

The following features are supported:

See Also:
UML2Package.getArtifact()

Field Summary
static String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Manifestation createManifestation(EClass eClass)
          Creates a Manifestation and appends it to the 'Manifestation' containment reference list
 Artifact createNestedArtifact(EClass eClass)
          Creates a Artifact and appends it to the 'Nested Artifact' containment reference list
 Property createOwnedAttribute(EClass eClass)
          Creates a Property and appends it to the 'Owned Attribute' containment reference list
 Operation createOwnedOperation(EClass eClass)
          Creates a Operation and appends it to the 'Owned Operation' containment reference list
 EList getAttributes()
           
 EList getClientDependencies()
           
 EList getFeatures()
           
 String getFileName()
          Returns the value of the 'File Name' attribute.
 Manifestation getManifestation(String unqualifiedName)
          Retrieves the Manifestation with the specified name from the 'Manifestation' containment reference list
 EList getManifestations()
          Returns the value of the 'Manifestation' containment reference list.
 Artifact getNestedArtifact(String unqualifiedName)
          Retrieves the Artifact with the specified name from the 'Nested Artifact' containment reference list
 EList getNestedArtifacts()
          Returns the value of the 'Nested Artifact' containment reference list.
 Property getOwnedAttribute(String unqualifiedName)
          Retrieves the Property with the specified name from the 'Owned Attribute' containment reference list
 EList getOwnedAttributes()
          Returns the value of the 'Owned Attribute' containment reference list.
 EList getOwnedElements()
           
 EList getOwnedMembers()
           
 Operation getOwnedOperation(String unqualifiedName)
          Retrieves the Operation with the specified name from the 'Owned Operation' containment reference list
 EList getOwnedOperations()
          Returns the value of the 'Owned Operation' containment reference list.
 void setFileName(String value)
          Sets the value of the 'File Name' attribute
 
Methods inherited from interface org.eclipse.uml2.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createOccurrence, createOwnedUseCase, createSubstitution, general, getAttribute, getFeature, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, getRedefinedElements, getRepresentation, getSubstitution, getSubstitutions, getUseCase, getUseCases, getUsedInterfaces, hasVisibilityOf, inherit, inheritableMembers, inheritedMember, isAbstract, maySpecializeType, parents, setIsAbstract, setRepresentation, validateGeneralEqualsParents, validateInheritedMember, validateNoCyclesInGeneralization, validateSpecializeType
 
Methods inherited from interface org.eclipse.uml2.Namespace
createElementImport, createOwnedRule, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getNamesOfMember, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createNameExpression, getClientDependency, getName, getNameExpression, getNamespace, getOwner, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getValue, hasKeyword, isApplied, isRequired, mustBeOwned, removeKeyword, setValue, unapply, validateHasOwner, validateNotOwnSelf
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
 
Methods inherited from interface org.eclipse.uml2.Type
conformsTo, createAssociation, getNamespace, getPackage
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, getVisibility, setPackageableElement_visibility, setVisibility
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwner, getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values
Method Detail

getFileName

public String getFileName()
Returns the value of the 'File Name' attribute. The default value is "".

If the meaning of the 'File Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'File Name' attribute.
See Also:
setFileName(String), UML2Package.getArtifact_FileName()

setFileName

public void setFileName(String value)
Sets the value of the 'File Name' attribute.

Parameters:
value - the new value of the 'File Name' attribute.
See Also:
getFileName()

getNestedArtifacts

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

If the meaning of the 'Nested Artifact' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Nested Artifact' containment reference list.
See Also:
UML2Package.getArtifact_NestedArtifact()

getNestedArtifact

public Artifact getNestedArtifact(String unqualifiedName)
Retrieves the Artifact with the specified name from the 'Nested Artifact' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Artifact to retrieve.
Returns:
The Artifact with the specified name, or null.
See Also:
getNestedArtifacts()

createNestedArtifact

public Artifact createNestedArtifact(EClass eClass)
Creates a Artifact and appends it to the 'Nested Artifact' containment reference list.

Parameters:
eClass - The Ecore class of the Artifact to create.
Returns:
The new Artifact.
See Also:
getNestedArtifacts()

getManifestations

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

If the meaning of the 'Manifestation' containment reference list isn't clear, there really should be more of a description here...

Returns:
the value of the 'Manifestation' containment reference list.
See Also:
UML2Package.getArtifact_Manifestation()

getManifestation

public Manifestation getManifestation(String unqualifiedName)
Retrieves the Manifestation with the specified name from the 'Manifestation' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Manifestation to retrieve.
Returns:
The Manifestation with the specified name, or null.
See Also:
getManifestations()

createManifestation

public Manifestation createManifestation(EClass eClass)
Creates a Manifestation and appends it to the 'Manifestation' containment reference list.

Parameters:
eClass - The Ecore class of the Manifestation to create.
Returns:
The new Manifestation.
See Also:
getManifestations()

getOwnedOperations

public EList getOwnedOperations()
Returns the value of the 'Owned Operation' containment reference list. The list contents are of type Operation.

Returns:
the value of the 'Owned Operation' containment reference list.
See Also:
UML2Package.getArtifact_OwnedOperation()

getOwnedOperation

public Operation getOwnedOperation(String unqualifiedName)
Retrieves the Operation with the specified name from the 'Owned Operation' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Operation to retrieve.
Returns:
The Operation with the specified name, or null.
See Also:
getOwnedOperations()

createOwnedOperation

public Operation createOwnedOperation(EClass eClass)
Creates a Operation and appends it to the 'Owned Operation' containment reference list.

Parameters:
eClass - The Ecore class of the Operation to create.
Returns:
The new Operation.
See Also:
getOwnedOperations()

getOwnedAttributes

public EList getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list. The list contents are of type Property.

Returns:
the value of the 'Owned Attribute' containment reference list.
See Also:
UML2Package.getArtifact_OwnedAttribute()

getOwnedAttribute

public Property getOwnedAttribute(String unqualifiedName)
Retrieves the Property with the specified name from the 'Owned Attribute' containment reference list.

Parameters:
unqualifiedName - The unqualified name of the Property to retrieve.
Returns:
The Property with the specified name, or null.
See Also:
getOwnedAttributes()

createOwnedAttribute

public Property createOwnedAttribute(EClass eClass)
Creates a Property and appends it to the 'Owned Attribute' containment reference list.

Parameters:
eClass - The Ecore class of the Property to create.
Returns:
The new Property.
See Also:
getOwnedAttributes()

getFeatures

public EList getFeatures()

Specified by:
getFeatures in interface Classifier
Returns:
the value of the 'Feature' reference list.
See Also:
UML2Package.getClassifier_Feature(), Feature.getFeaturingClassifiers()

getOwnedMembers

public EList getOwnedMembers()

Specified by:
getOwnedMembers in interface Classifier

getAttributes

public EList getAttributes()

Specified by:
getAttributes in interface Classifier
Returns:
the value of the 'Attribute' reference list.
See Also:
UML2Package.getClassifier_Attribute()

getOwnedElements

public EList getOwnedElements()

Specified by:
getOwnedElements in interface Classifier

getClientDependencies

public EList getClientDependencies()

Specified by:
getClientDependencies in interface Classifier

Copyright 2003, 2004 IBM Corporation and others.
All Rights Reserved.