|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Artifact
A representation of the model object 'Artifact'. An artifact is the specification of a physical piece of information that is used or produced by a software development process, or by deployment and operation of a system. Examples of artifacts include model files, source files, scripts, and binary executable files, a table in a database system, a development deliverable, or a word-processing document, a mail message. An artifact is the source of a deployment to a node.
The following features are supported:
UMLPackage.getArtifact()
Method Summary | |
---|---|
Manifestation |
createManifestation(java.lang.String name,
PackageableElement utilizedElement)
Creates a new Manifestation , with the specified 'Name', and 'Utilized Element', and appends it to the 'Manifestation' containment reference list |
Artifact |
createNestedArtifact(java.lang.String name)
Creates a new Artifact , with the specified 'Name', and appends it to the 'Nested Artifact' containment reference list |
Artifact |
createNestedArtifact(java.lang.String name,
org.eclipse.emf.ecore.EClass eClass)
Creates a new Artifact , with the specified 'Name', and appends it to the 'Nested Artifact' containment reference list |
Property |
createOwnedAttribute(java.lang.String name,
Type type)
Creates a new Property , with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list |
Property |
createOwnedAttribute(java.lang.String name,
Type type,
org.eclipse.emf.ecore.EClass eClass)
Creates a new Property , with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list |
Property |
createOwnedAttribute(java.lang.String name,
Type type,
int lower,
int upper)
Creates a property with the specified name, type, lower bound, and upper bound as an owned attribute of this artifact. |
Operation |
createOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Creates a new Operation , with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Operation' containment reference list |
Operation |
createOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> parameterNames,
org.eclipse.emf.common.util.EList<Type> parameterTypes,
Type returnType)
Creates an operation with the specified name, parameter names, parameter types, and return type (or null) as an owned operation of this artifact. |
java.lang.String |
getFileName()
Returns the value of the 'File Name' attribute |
Manifestation |
getManifestation(java.lang.String name,
PackageableElement utilizedElement)
Retrieves the first Manifestation with the specified 'Name', and 'Utilized Element' from the 'Manifestation' containment reference list |
Manifestation |
getManifestation(java.lang.String name,
PackageableElement utilizedElement,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Manifestation with the specified 'Name', and 'Utilized Element' from the 'Manifestation' containment reference list |
org.eclipse.emf.common.util.EList<Manifestation> |
getManifestations()
Returns the value of the 'Manifestation' containment reference list. |
Artifact |
getNestedArtifact(java.lang.String name)
Retrieves the first Artifact with the specified 'Name' from the 'Nested Artifact' containment reference list |
Artifact |
getNestedArtifact(java.lang.String name,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first Artifact with the specified 'Name' from the 'Nested Artifact' containment reference list |
org.eclipse.emf.common.util.EList<Artifact> |
getNestedArtifacts()
Returns the value of the 'Nested Artifact' containment reference list. |
Property |
getOwnedAttribute(java.lang.String name,
Type type)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list |
Property |
getOwnedAttribute(java.lang.String name,
Type type,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass eClass,
boolean createOnDemand)
Retrieves the first Property with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list |
org.eclipse.emf.common.util.EList<Property> |
getOwnedAttributes()
Returns the value of the 'Owned Attribute' containment reference list. |
Operation |
getOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Retrieves the first Operation with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list |
Operation |
getOwnedOperation(java.lang.String name,
org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames,
org.eclipse.emf.common.util.EList<Type> ownedParameterTypes,
boolean ignoreCase,
boolean createOnDemand)
Retrieves the first Operation with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list |
org.eclipse.emf.common.util.EList<Operation> |
getOwnedOperations()
Returns the value of the 'Owned Operation' containment reference list. |
boolean |
isSetFileName()
Returns whether the value of the ' File Name ' attribute is set |
void |
setFileName(java.lang.String value)
Sets the value of the ' File Name ' attribute |
void |
unsetFileName()
Unsets the value of the ' File Name ' attribute |
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, eInvoke, 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.uml.RedefinableElement |
---|
getRedefinedElement, getRedefinedElement, getRedefinedElements, getRedefinitionContext, getRedefinitionContext, getRedefinitionContexts, isConsistentWith, isLeaf, isRedefinitionContextValid, setIsLeaf, validateRedefinitionConsistent, validateRedefinitionContextValid |
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, eInvoke, 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.uml.Type |
---|
conformsTo, createAssociation, getAssociations, getPackage, setPackage |
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, eInvoke, 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.uml.ParameterableElement |
---|
getOwningTemplateParameter, getTemplateParameter, isCompatibleWith, isTemplateParameter, setOwningTemplateParameter, setTemplateParameter |
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, eInvoke, 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.uml.TemplateableElement |
---|
createOwnedTemplateSignature, createOwnedTemplateSignature, createTemplateBinding, getOwnedTemplateSignature, getTemplateBinding, getTemplateBinding, getTemplateBindings, isTemplate, parameterableElements, setOwnedTemplateSignature |
Method Detail |
---|
java.lang.String getFileName()
isSetFileName()
,
unsetFileName()
,
setFileName(String)
,
UMLPackage.getArtifact_FileName()
void setFileName(java.lang.String value)
File Name
' attribute.
value
- the new value of the 'File Name' attribute.isSetFileName()
,
unsetFileName()
,
getFileName()
void unsetFileName()
File Name
' attribute.
isSetFileName()
,
getFileName()
,
setFileName(String)
boolean isSetFileName()
File Name
' attribute is set.
unsetFileName()
,
getFileName()
,
setFileName(String)
org.eclipse.emf.common.util.EList<Artifact> getNestedArtifacts()
Artifact
.
This feature subsets the following features:
The Artifacts that are defined (nested) within the Artifact. The association is a specialization of the ownedMember association from Namespace to NamedElement.
UMLPackage.getArtifact_NestedArtifact()
Artifact createNestedArtifact(java.lang.String name, org.eclipse.emf.ecore.EClass eClass)
Artifact
, with the specified 'Name', and appends it to the 'Nested Artifact' containment reference list.
name
- The 'Name' for the new Artifact
, or null
.eClass
- The Ecore class of the Artifact
to create.
Artifact
.getNestedArtifacts()
Artifact createNestedArtifact(java.lang.String name)
Artifact
, with the specified 'Name', and appends it to the 'Nested Artifact' containment reference list.
name
- The 'Name' for the new Artifact
, or null
.
Artifact
.getNestedArtifacts()
Artifact getNestedArtifact(java.lang.String name)
Artifact
with the specified 'Name' from the 'Nested Artifact' containment reference list.
name
- The 'Name' of the Artifact
to retrieve, or null
.
Artifact
with the specified 'Name', or null
.getNestedArtifacts()
Artifact getNestedArtifact(java.lang.String name, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Artifact
with the specified 'Name' from the 'Nested Artifact' containment reference list.
name
- The 'Name' of the Artifact
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Artifact
to retrieve, or null
.createOnDemand
- Whether to create a Artifact
on demand if not found.
Artifact
with the specified 'Name', or null
.getNestedArtifacts()
org.eclipse.emf.common.util.EList<Manifestation> getManifestations()
Manifestation
.
This feature subsets the following features:
The set of model elements that are manifested in the Artifact. That is, these model elements are utilized in the construction (or generation) of the artifact.
UMLPackage.getArtifact_Manifestation()
Manifestation createManifestation(java.lang.String name, PackageableElement utilizedElement)
Manifestation
, with the specified 'Name', and 'Utilized Element', and appends it to the 'Manifestation' containment reference list.
name
- The 'Name' for the new Manifestation
, or null
.utilizedElement
- The 'Utilized Element' for the new Manifestation
, or null
.
Manifestation
.getManifestations()
Manifestation getManifestation(java.lang.String name, PackageableElement utilizedElement)
Manifestation
with the specified 'Name', and 'Utilized Element' from the 'Manifestation' containment reference list.
name
- The 'Name' of the Manifestation
to retrieve, or null
.utilizedElement
- The 'Utilized Element' of the Manifestation
to retrieve, or null
.
Manifestation
with the specified 'Name', and 'Utilized Element', or null
.getManifestations()
Manifestation getManifestation(java.lang.String name, PackageableElement utilizedElement, boolean ignoreCase, boolean createOnDemand)
Manifestation
with the specified 'Name', and 'Utilized Element' from the 'Manifestation' containment reference list.
name
- The 'Name' of the Manifestation
to retrieve, or null
.utilizedElement
- The 'Utilized Element' of the Manifestation
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Manifestation
on demand if not found.
Manifestation
with the specified 'Name', and 'Utilized Element', or null
.getManifestations()
org.eclipse.emf.common.util.EList<Operation> getOwnedOperations()
Operation
.
This feature subsets the following features:
Feature
'Owned Member
'
UMLPackage.getArtifact_OwnedOperation()
Operation createOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Operation
, with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', and appends it to the 'Owned Operation' containment reference list.
name
- The 'Name' for the new Operation
, or null
.ownedParameterNames
- The 'Owned Parameter Names' for the new Operation
, or null
.ownedParameterTypes
- The 'Owned Parameter Types' for the new Operation
, or null
.
Operation
.getOwnedOperations()
Operation getOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes)
Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
name
- The 'Name' of the Operation
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Operation
to retrieve, or null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Operation
to retrieve, or null
.
Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', or null
.getOwnedOperations()
Operation getOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> ownedParameterNames, org.eclipse.emf.common.util.EList<Type> ownedParameterTypes, boolean ignoreCase, boolean createOnDemand)
Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types' from the 'Owned Operation' containment reference list.
name
- The 'Name' of the Operation
to retrieve, or null
.ownedParameterNames
- The 'Owned Parameter Names' of the Operation
to retrieve, or null
.ownedParameterTypes
- The 'Owned Parameter Types' of the Operation
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.createOnDemand
- Whether to create a Operation
on demand if not found.
Operation
with the specified 'Name', 'Owned Parameter Names', and 'Owned Parameter Types', or null
.getOwnedOperations()
org.eclipse.emf.common.util.EList<Property> getOwnedAttributes()
Property
.
This feature subsets the following features:
The attributes or association ends defined for the Artifact. The association is a specialization of the ownedMember association.
UMLPackage.getArtifact_OwnedAttribute()
Property createOwnedAttribute(java.lang.String name, Type type, org.eclipse.emf.ecore.EClass eClass)
Property
, with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list.
name
- The 'Name' for the new Property
, or null
.type
- The 'Type' for the new Property
, or null
.eClass
- The Ecore class of the Property
to create.
Property
.getOwnedAttributes()
Property createOwnedAttribute(java.lang.String name, Type type)
Property
, with the specified 'Name', and 'Type', and appends it to the 'Owned Attribute' containment reference list.
name
- The 'Name' for the new Property
, or null
.type
- The 'Type' for the new Property
, or null
.
Property
.getOwnedAttributes()
Property getOwnedAttribute(java.lang.String name, Type type)
Property
with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.
Property
with the specified 'Name', and 'Type', or null
.getOwnedAttributes()
Property getOwnedAttribute(java.lang.String name, Type type, boolean ignoreCase, org.eclipse.emf.ecore.EClass eClass, boolean createOnDemand)
Property
with the specified 'Name', and 'Type' from the 'Owned Attribute' containment reference list.
name
- The 'Name' of the Property
to retrieve, or null
.type
- The 'Type' of the Property
to retrieve, or null
.ignoreCase
- Whether to ignore case in String
comparisons.eClass
- The Ecore class of the Property
to retrieve, or null
.createOnDemand
- Whether to create a Property
on demand if not found.
Property
with the specified 'Name', and 'Type', or null
.getOwnedAttributes()
Operation createOwnedOperation(java.lang.String name, org.eclipse.emf.common.util.EList<java.lang.String> parameterNames, org.eclipse.emf.common.util.EList<Type> parameterTypes, Type returnType)
name
- The name for the new operation, or null.parameterNames
- The parameter names for the new operation, or null.parameterTypes
- The parameter types for the new operation, or null.returnType
- The return type for the new operation, or null.
Property createOwnedAttribute(java.lang.String name, Type type, int lower, int upper)
name
- The name for the new attribute, or null.type
- The type for the new attribute, or null.lower
- The lower bound for the new attribute.upper
- The upper bound for the new attribute.
|
Copyright 2003, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |