org.opencrx.kernel.ras1.jmi1
Interface Artifact

All Superinterfaces:
AlertSender, Artifact, Auditee, BasicObject, Cloneable, ContextCapable, Creatable, CrxObject, DescriptionContainer, Exporter, ExtentCapable, Importer, Indexed, Modifiable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, SolutionPart
All Known Subinterfaces:
DesignDiagram, DesignModel, DesignPart, ImplementationPart, InterfaceSpec, RequirementDiagram, RequirementModel, RequirementPart, TestDiagram, TestModel, TestPart, UseCase

public interface Artifact
extends Artifact, SolutionPart

Class Artifact


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.ras1.cci2.SolutionPart
SolutionPart.Identity
 
Method Summary
 void addArtifactContext(boolean idIsPersistent, String id, ArtifactContext artifactContext)
          Adds the specified element to the set of the values for the reference artifactContext.
 void addArtifactContext(String id, ArtifactContext artifactContext)
          Adds the specified element to the set of the values for the reference artifactContext using a reassignable qualifier.
 void addDependency(boolean idIsPersistent, String id, ArtifactDependency dependency)
          Adds the specified element to the set of the values for the reference dependency.
 void addDependency(String id, ArtifactDependency dependency)
          Adds the specified element to the set of the values for the reference dependency using a reassignable qualifier.
 void addVp(boolean idIsPersistent, String id, VariabilityPoint vp)
          Adds the specified element to the set of the values for the reference vp.
 void addVp(String id, VariabilityPoint vp)
          Adds the specified element to the set of the values for the reference vp using a reassignable qualifier.
<T extends ArtifactContext>
List<T>
getArtifactContext(ArtifactContextQuery query)
          Retrieves the value for the reference artifactContext for the specified query.
 ArtifactContext getArtifactContext(boolean idIsPersistent, String id)
          Retrieves the value for the reference artifactContext for the specified qualifier attribute value.
 ArtifactContext getArtifactContext(String id)
          Retrieves the value for the reference artifactContext for the specified qualifier attribute value.
<T extends ArtifactDependency>
List<T>
getDependency(ArtifactDependencyQuery query)
          Retrieves the value for the reference dependency for the specified query.
 ArtifactDependency getDependency(boolean idIsPersistent, String id)
          Retrieves the value for the reference dependency for the specified qualifier attribute value.
 ArtifactDependency getDependency(String id)
          Retrieves the value for the reference dependency for the specified qualifier attribute value.
 VariabilityPoint getVp(boolean idIsPersistent, String id)
          Retrieves the value for the reference vp for the specified qualifier attribute value.
 VariabilityPoint getVp(String id)
          Retrieves the value for the reference vp for the specified qualifier attribute value.
<T extends VariabilityPoint>
List<T>
getVp(VariabilityPointQuery query)
          Retrieves the value for the reference vp for the specified query.
 
Methods inherited from interface org.opencrx.kernel.ras1.cci2.Artifact
getArtifactContext, getArtifactType, getDependency, getDigestName, getDigestValue, getVersion, getVp, setArtifactType, setDigestName, setDigestValue, setVersion
 
Methods inherited from interface org.opencrx.kernel.ras1.cci2.SolutionPart
getDescription, getName, setDescription, setName
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
addAdditionalExternalLink, addAdditionalExternalLink, addAttachedDocument, addAttachedDocument, addDocumentFolderAssignment, addDocumentFolderAssignment, addMedia, addMedia, addNote, addNote, addPropertySet, addPropertySet, addRating, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getAttachedDocument, getCategory, getDocumentFolderAssignment, getDocumentFolderAssignment, getDocumentFolderAssignment, getExternalLink, getMedia, getMedia, getMedia, getNote, getNote, getNote, getPropertySet, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getPropertySetEntry, getRating, getRating, getRating, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getDisabledReason, getDocumentFolderAssignment, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserString0, getUserString1, getUserString2, getUserString3, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Auditee
getAudit, getAudit, getAudit
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter
exportItem, exportItemAdvanced
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
getIndexEntry, getIndexEntry, getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, checkPermissions, getAccessGrantedByParent, getOwner, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setOwner, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, checkPermissions, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwningGroup, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwner, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci2.ContextCapable
getContext
 
Methods inherited from interface org.openmdx.base.jmi1.Creatable
getCreatedBy
 
Methods inherited from interface org.openmdx.base.cci2.Creatable
getCreatedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.base.jmi1.Modifiable
getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.Modifiable
getModifiedAt
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refDefaultFetchGroup, refDelegate, refGetPath, refGetValue, refInitialize, refInitialize, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.DescriptionContainer
addAdditionalDescription, addAdditionalDescription, getAdditionalDescription, getAdditionalDescription, getAdditionalDescription
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.DescriptionContainer
getAdditionalDescription
 

Method Detail

getArtifactContext

<T extends ArtifactContext> List<T> getArtifactContext(ArtifactContextQuery query)
Retrieves the value for the reference artifactContext for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getArtifactContext

ArtifactContext getArtifactContext(boolean idIsPersistent,
                                   String id)
Retrieves the value for the reference artifactContext for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getArtifactContext

ArtifactContext getArtifactContext(String id)
Retrieves the value for the reference artifactContext for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getArtifactContext(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addArtifactContext

void addArtifactContext(boolean idIsPersistent,
                        String id,
                        ArtifactContext artifactContext)
Adds the specified element to the set of the values for the reference artifactContext.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
artifactContext - The element to be appended.

addArtifactContext

void addArtifactContext(String id,
                        ArtifactContext artifactContext)
Adds the specified element to the set of the values for the reference artifactContext using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
artifactContext - The element to be appended.

getDependency

<T extends ArtifactDependency> List<T> getDependency(ArtifactDependencyQuery query)
Retrieves the value for the reference dependency for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getDependency

ArtifactDependency getDependency(boolean idIsPersistent,
                                 String id)
Retrieves the value for the reference dependency for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getDependency

ArtifactDependency getDependency(String id)
Retrieves the value for the reference dependency for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getDependency(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addDependency

void addDependency(boolean idIsPersistent,
                   String id,
                   ArtifactDependency dependency)
Adds the specified element to the set of the values for the reference dependency.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
dependency - The element to be appended.

addDependency

void addDependency(String id,
                   ArtifactDependency dependency)
Adds the specified element to the set of the values for the reference dependency using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
dependency - The element to be appended.

getVp

<T extends VariabilityPoint> List<T> getVp(VariabilityPointQuery query)
Retrieves the value for the reference vp for the specified query. Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should substitute this method with java.jdo.Query

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getVp

VariabilityPoint getVp(boolean idIsPersistent,
                       String id)
Retrieves the value for the reference vp for the specified qualifier attribute value.

Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

getVp

VariabilityPoint getVp(String id)
Retrieves the value for the reference vp for the specified qualifier attribute value.

This method is equivalent to the preferred invocation getVp(false,id).

Parameters:
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addVp

void addVp(boolean idIsPersistent,
           String id,
           VariabilityPoint vp)
Adds the specified element to the set of the values for the reference vp.

Note: This is an extension to the JMI 1 standard.

Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
vp - The element to be appended.

addVp

void addVp(String id,
           VariabilityPoint vp)
Adds the specified element to the set of the values for the reference vp using a reassignable qualifier.

Note: This is an extension to the JMI 1 standard.

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
vp - The element to be appended.


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.