org.opencrx.kernel.depot1.jmi1.DepotReferenceHolder Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.depot1.jmi1;
/**
* Abstract class {@code DepotReferenceHolder}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:38.641846317Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface DepotReferenceHolder
extends org.opencrx.kernel.depot1.cci2.DepotReferenceHolder,
org.openmdx.base.accessor.jmi.cci.RefObject_1_0{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code depotReference} 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 getDepotReference(
org.opencrx.kernel.depot1.cci2.AbstractDepotReferenceQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code depotReference} 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.depot1.jmi1.AbstractDepotReference getDepotReference(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code depotReference} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getDepotReference(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.depot1.jmi1.AbstractDepotReference getDepotReference(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code depotReference}.
*
* 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 depotReference The element to be appended.
*/
public void addDepotReference (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.depot1.jmi1.AbstractDepotReference depotReference
);
/**
* Adds the specified element to the set of the values for the reference {@code depotReference} 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 depotReference The element to be appended.
*/
public void addDepotReference (
java.lang.String id,
org.opencrx.kernel.depot1.jmi1.AbstractDepotReference depotReference
);
/**
* Adds the specified element to the set of the values for the reference {@code depotReference} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param depotReference The element to be appended.
*/
public void addDepotReference (
org.opencrx.kernel.depot1.jmi1.AbstractDepotReference depotReference
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}