org.opencrx.kernel.ras1.jmi1.Artifact Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.ras1.jmi1;
/**
* Class {@code Artifact}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:37.839203383Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Artifact
extends org.opencrx.kernel.ras1.cci2.Artifact,
org.opencrx.kernel.ras1.jmi1.SolutionPart{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code 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 {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getArtifactContext(
org.opencrx.kernel.ras1.cci2.ArtifactContextQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code artifactContext} for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.ras1.jmi1.ArtifactContext getArtifactContext(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code artifactContext} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getArtifactContext(false,id)}.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.ras1.jmi1.ArtifactContext getArtifactContext(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code artifactContext}.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent {@code true} if {@code id} is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param artifactContext The element to be appended.
*/
public void addArtifactContext (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.ArtifactContext artifactContext
);
/**
* Adds the specified element to the set of the values for the reference {@code artifactContext} using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param artifactContext The element to be appended.
*/
public void addArtifactContext (
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.ArtifactContext artifactContext
);
/**
* Adds the specified element to the set of the values for the reference {@code artifactContext} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param artifactContext The element to be appended.
*/
public void addArtifactContext (
org.opencrx.kernel.ras1.jmi1.ArtifactContext artifactContext
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code 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 {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getDependency(
org.opencrx.kernel.ras1.cci2.ArtifactDependencyQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code dependency} for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.ras1.jmi1.ArtifactDependency getDependency(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code dependency} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getDependency(false,id)}.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.ras1.jmi1.ArtifactDependency getDependency(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code dependency}.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent {@code true} if {@code id} is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param dependency The element to be appended.
*/
public void addDependency (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.ArtifactDependency dependency
);
/**
* Adds the specified element to the set of the values for the reference {@code dependency} using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param dependency The element to be appended.
*/
public void addDependency (
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.ArtifactDependency dependency
);
/**
* Adds the specified element to the set of the values for the reference {@code dependency} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param dependency The element to be appended.
*/
public void addDependency (
org.opencrx.kernel.ras1.jmi1.ArtifactDependency dependency
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code 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 {@code javax.jdo.Query}
* @param query predicate which is applied to the set of referenced objects.
* @return The objects for which the predicate evaluates to {@code true}.
*/
public java.util.List getVp(
org.opencrx.kernel.ras1.cci2.VariabilityPointQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code vp} for the specified qualifier attribute value.
*
* @param idIsPersistent Defines whether value for the qualifier is persistent or not
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.ras1.jmi1.VariabilityPoint getVp(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code vp} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getVp(false,id)}.
*
* @param id The value for the qualifier attribute that qualifies this reference.
* @return The possibly null value for this qualifier
*/
public org.opencrx.kernel.ras1.jmi1.VariabilityPoint getVp(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code vp}.
*
* Note: This is an extension to the JMI 1 standard.
* @param idIsPersistent {@code true} if {@code id} is persistent
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param vp The element to be appended.
*/
public void addVp (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.VariabilityPoint vp
);
/**
* Adds the specified element to the set of the values for the reference {@code vp} using a reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param id The qualifier attribute value that qualifies the reference to get the element to be appended.
* @param vp The element to be appended.
*/
public void addVp (
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.VariabilityPoint vp
);
/**
* Adds the specified element to the set of the values for the reference {@code vp} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param vp The element to be appended.
*/
public void addVp (
org.opencrx.kernel.ras1.jmi1.VariabilityPoint vp
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}