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 java.lang.String copyright
           
 
Fields inherited from interface org.eclipse.uml2.NamedElement
SEPARATOR
 
Method Summary
 Manifestation createManifestation()
          Creates a Manifestation and appends it to the 'Manifestation' containment reference list
 Manifestation createManifestation(EClass eClass)
          Deprecated. Use #createManifestation() instead.
 Artifact createNestedArtifact()
          Creates a Artifact and appends it to the 'Nested Artifact' containment reference list
 Artifact createNestedArtifact(EClass eClass)
          Creates a Artifact and appends it to the 'Nested Artifact' containment reference list
 Property createOwnedAttribute()
          Creates a Property and appends it to the 'Owned Attribute' containment reference list
 Property createOwnedAttribute(EClass eClass)
          Creates a Property and appends it to the 'Owned Attribute' containment reference list
 Operation createOwnedOperation()
          Creates a Operation and appends it to the 'Owned Operation' containment reference list
 Operation createOwnedOperation(EClass eClass)
          Deprecated. Use #createOwnedOperation() instead.
 java.lang.String getFileName()
          Returns the value of the 'File Name' attribute.
 Manifestation getManifestation(java.lang.String name)
          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(java.lang.String name)
          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(java.lang.String name)
          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.
 Operation getOwnedOperation(java.lang.String name)
          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(java.lang.String value)
          Sets the value of the 'File Name' attribute
 
Methods inherited from interface org.eclipse.uml2.Classifier
allFeatures, allParents, conformsTo, createGeneralization, createGeneralization, createGeneralization, createOccurrence, createOccurrence, createOwnedUseCase, createOwnedUseCase, createSubstitution, createSubstitution, general, getAttribute, getAttributes, getFeature, getFeatures, getGeneral, getGeneralizations, getGenerals, getInheritedMember, getInheritedMembers, getOccurrence, getOccurrences, getOwnedUseCase, getOwnedUseCases, getPowertypeExtent, getPowertypeExtents, getRedefinedClassifier, getRedefinedClassifiers, 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, createElementImport, createOwnedRule, createOwnedRule, createPackageImport, createPackageImport, excludeCollisions, getElementImports, getImportedMember, getImportedMembers, getImportedPackages, getMember, getMembers, getNamesOfMember, getOwnedMember, getOwnedMembers, getOwnedRule, getOwnedRules, getPackageImports, importedMember, importElement, importMembers, importPackage, membersAreDistinguishable, validateImportedMemberDerived, validateMembersAreDistinguishable
 
Methods inherited from interface org.eclipse.uml2.NamedElement
allNamespaces, createDependency, createNameExpression, createNameExpression, getClientDependencies, getClientDependency, getLabel, getLabel, getName, getNameExpression, getNamespace, getQualifiedName, getVisibility, isDistinguishableFrom, qualifiedName, separator, setName, setNameExpression, setVisibility, validateNoName, validateQualifiedName, validateVisibilityNeedsOwnership
 
Methods inherited from interface org.eclipse.uml2.TemplateableElement
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, createTemplateBinding, getOwnedTemplateSignature, getTemplateBindings, parameterableElements, setOwnedTemplateSignature
 
Methods inherited from interface org.eclipse.uml2.Element
addKeyword, allOwnedElements, apply, createEAnnotation, createOwnedComment, createOwnedComment, destroy, getApplicableStereotype, getApplicableStereotypes, getAppliedStereotype, getAppliedStereotypes, getAppliedVersion, getKeywords, getModel, getNearestPackage, getOwnedComments, getOwnedElements, getOwner, getValue, hasKeyword, hasValue, 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, getPackage
 
Methods inherited from interface org.eclipse.uml2.PackageableElement
getPackageableElement_visibility, setPackageableElement_visibility
 
Methods inherited from interface org.eclipse.uml2.ParameterableElement
getOwningParameter, getTemplateParameter, setOwningParameter, setTemplateParameter
 
Methods inherited from interface org.eclipse.uml2.RedefinableElement
getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid
 

Field Detail

copyright

public static final java.lang.String copyright

See Also:
Constant Field Values
Method Detail

getFileName

public java.lang.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(java.lang.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(java.lang.String name)
Retrieves the Artifact with the specified 'Name' from the 'Nested Artifact' containment reference list.

Parameters:
name - The '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()

createNestedArtifact

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

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(java.lang.String name)
Retrieves the Manifestation with the specified 'Name' from the 'Manifestation' containment reference list.

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

createManifestation

public Manifestation createManifestation(EClass eClass)
Deprecated. Use #createManifestation() instead.

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()

createManifestation

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

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(java.lang.String name)
Retrieves the Operation with the specified 'Name' from the 'Owned Operation' containment reference list.

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

createOwnedOperation

public Operation createOwnedOperation(EClass eClass)
Deprecated. Use #createOwnedOperation() instead.

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()

createOwnedOperation

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

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(java.lang.String name)
Retrieves the Property with the specified 'Name' from the 'Owned Attribute' containment reference list.

Parameters:
name - The '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()

createOwnedAttribute

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

Returns:
The new Property.
See Also:
getOwnedAttributes()

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