org.opencrx.kernel.ras1.jmi1.Asset Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.ras1.jmi1;
/**
* Class {@code Asset}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:37.849169017Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Asset
extends org.opencrx.kernel.ras1.cci2.Asset,
org.opencrx.kernel.product1.jmi1.Product{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code classificationElement} 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 getClassificationElement(
org.opencrx.kernel.ras1.cci2.ClassificationElementQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code classificationElement} 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.ClassificationElement getClassificationElement(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code classificationElement} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getClassificationElement(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.ClassificationElement getClassificationElement(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code classificationElement}.
*
* 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 classificationElement The element to be appended.
*/
public void addClassificationElement (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.ClassificationElement classificationElement
);
/**
* Adds the specified element to the set of the values for the reference {@code classificationElement} 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 classificationElement The element to be appended.
*/
public void addClassificationElement (
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.ClassificationElement classificationElement
);
/**
* Adds the specified element to the set of the values for the reference {@code classificationElement} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param classificationElement The element to be appended.
*/
public void addClassificationElement (
org.opencrx.kernel.ras1.jmi1.ClassificationElement classificationElement
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code definingProfile} 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 getDefiningProfile(
org.opencrx.kernel.ras1.cci2.ProfileQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code definingProfile} 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.Profile getDefiningProfile(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code definingProfile} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getDefiningProfile(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.Profile getDefiningProfile(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code definingProfile}.
*
* 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 definingProfile The element to be appended.
*/
public void addDefiningProfile (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.Profile definingProfile
);
/**
* Adds the specified element to the set of the values for the reference {@code definingProfile} 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 definingProfile The element to be appended.
*/
public void addDefiningProfile (
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.Profile definingProfile
);
/**
* Adds the specified element to the set of the values for the reference {@code definingProfile} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param definingProfile The element to be appended.
*/
public void addDefiningProfile (
org.opencrx.kernel.ras1.jmi1.Profile definingProfile
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code profile}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.ras1.jmi1.Profile getProfile(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code profile}.
* @param profile The new—possibly {@code null}—value for this reference.
*/
public void setProfile(
org.opencrx.kernel.ras1.cci2.Profile profile
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code solutionPart} 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 getSolutionPart(
org.opencrx.kernel.ras1.cci2.SolutionPartQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code solutionPart} 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.SolutionPart getSolutionPart(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code solutionPart} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getSolutionPart(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.SolutionPart getSolutionPart(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code solutionPart}.
*
* 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 solutionPart The element to be appended.
*/
public void addSolutionPart (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.SolutionPart solutionPart
);
/**
* Adds the specified element to the set of the values for the reference {@code solutionPart} 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 solutionPart The element to be appended.
*/
public void addSolutionPart (
java.lang.String id,
org.opencrx.kernel.ras1.jmi1.SolutionPart solutionPart
);
/**
* Adds the specified element to the set of the values for the reference {@code solutionPart} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param solutionPart The element to be appended.
*/
public void addSolutionPart (
org.opencrx.kernel.ras1.jmi1.SolutionPart solutionPart
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}