org.opencrx.kernel.activity1.jmi1.Resource Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.activity1.jmi1;
/**
* Class {@code Resource}
*
* isFrozenisFrozenisFrozenisFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:37.096749295Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Resource
extends org.opencrx.kernel.activity1.cci2.Resource,
org.opencrx.kernel.depot1.jmi1.DepotReferenceHolder,
org.opencrx.kernel.generic.jmi1.CrxObject{
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.activity1.jmi1.AddWorkAndExpenseRecordResult addExpenseRecord(
org.opencrx.kernel.activity1.jmi1.ResourceAddExpenseRecordParams in
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.activity1.jmi1.AddWorkAndExpenseRecordResult addWorkRecord(
org.opencrx.kernel.activity1.jmi1.ResourceAddWorkRecordParams in
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code assignedActivity} 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 getAssignedActivity(
org.opencrx.kernel.activity1.cci2.ActivityQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code assignedActivity} 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.activity1.jmi1.Activity getAssignedActivity(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code assignedActivity} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getAssignedActivity(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.activity1.jmi1.Activity getAssignedActivity(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.activity1.jmi1.CalcTotalQuantityResult calcTotalQuantity(
org.opencrx.kernel.activity1.jmi1.CalcTotalQuantityParams in
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code calendar}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.activity1.jmi1.Calendar getCalendar(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code calendar}.
* @param calendar The new—possibly {@code null}—value for this reference.
*/
public void setCalendar(
org.opencrx.kernel.activity1.cci2.Calendar calendar
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contact}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Contact getContact(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code contact}.
* @param contact The new—possibly {@code null}—value for this reference.
*/
public void setContact(
org.opencrx.kernel.account1.cci2.Contact contact
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code resourceRate} 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 getResourceRate(
org.opencrx.kernel.activity1.cci2.ResourceRateQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code resourceRate} 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.activity1.jmi1.ResourceRate getResourceRate(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code resourceRate} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getResourceRate(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.activity1.jmi1.ResourceRate getResourceRate(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code resourceRate}.
*
* 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 resourceRate The element to be appended.
*/
public void addResourceRate (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.activity1.jmi1.ResourceRate resourceRate
);
/**
* Adds the specified element to the set of the values for the reference {@code resourceRate} 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 resourceRate The element to be appended.
*/
public void addResourceRate (
java.lang.String id,
org.opencrx.kernel.activity1.jmi1.ResourceRate resourceRate
);
/**
* Adds the specified element to the set of the values for the reference {@code resourceRate} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param resourceRate The element to be appended.
*/
public void addResourceRate (
org.opencrx.kernel.activity1.jmi1.ResourceRate resourceRate
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code workReportEntry} 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 getWorkReportEntry(
org.opencrx.kernel.activity1.cci2.WorkAndExpenseRecordQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code workReportEntry} 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.activity1.jmi1.WorkAndExpenseRecord getWorkReportEntry(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code workReportEntry} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getWorkReportEntry(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.activity1.jmi1.WorkAndExpenseRecord getWorkReportEntry(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
}