org.opencrx.kernel.reservation1.jmi1.Event Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.reservation1.jmi1;
/**
* Class {@code Event}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:39.194240776Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Event
extends org.opencrx.kernel.reservation1.cci2.Event,
org.opencrx.kernel.generic.jmi1.CrxObject,
org.opencrx.kernel.generic.jmi1.DescriptionContainer{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contact} 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 getContact(
org.opencrx.kernel.reservation1.cci2.ContactRoleQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contact} 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.reservation1.jmi1.ContactRole getContact(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contact} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContact(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.reservation1.jmi1.ContactRole getContact(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contact}.
*
* 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 contact The element to be appended.
*/
public void addContact (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.reservation1.jmi1.ContactRole contact
);
/**
* Adds the specified element to the set of the values for the reference {@code contact} 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 contact The element to be appended.
*/
public void addContact (
java.lang.String id,
org.opencrx.kernel.reservation1.jmi1.ContactRole contact
);
/**
* Adds the specified element to the set of the values for the reference {@code contact} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contact The element to be appended.
*/
public void addContact (
org.opencrx.kernel.reservation1.jmi1.ContactRole contact
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code part} 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 getPart(
org.opencrx.kernel.reservation1.cci2.PartQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code part} 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.reservation1.jmi1.Part getPart(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code part} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getPart(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.reservation1.jmi1.Part getPart(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code part}.
*
* 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 part The element to be appended.
*/
public void addPart (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.reservation1.jmi1.Part part
);
/**
* Adds the specified element to the set of the values for the reference {@code part} 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 part The element to be appended.
*/
public void addPart (
java.lang.String id,
org.opencrx.kernel.reservation1.jmi1.Part part
);
/**
* Adds the specified element to the set of the values for the reference {@code part} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param part The element to be appended.
*/
public void addPart (
org.opencrx.kernel.reservation1.jmi1.Part part
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code sliceUom}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.uom1.jmi1.Uom getSliceUom(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code sliceUom}.
* @param sliceUom The new—possibly {@code null}—value for this reference.
*/
public void setSliceUom(
org.opencrx.kernel.uom1.cci2.Uom sliceUom
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code slotUom}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.uom1.jmi1.Uom getSlotUom(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code slotUom}.
* @param slotUom The new—possibly {@code null}—value for this reference.
*/
public void setSlotUom(
org.opencrx.kernel.uom1.cci2.Uom slotUom
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
}