org.opencrx.kernel.activity1.cci2.Resource Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.activity1.cci2;
/**
* Class {@code Resource}
*
* isFrozenisFrozenisFrozenisFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:34.807470402Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Resource
extends org.opencrx.kernel.depot1.cci2.DepotReferenceHolder,
org.opencrx.kernel.generic.cci2.CrxObject{
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.activity1.cci2.AddWorkAndExpenseRecordResult addExpenseRecord(
org.opencrx.kernel.activity1.cci2.ResourceAddExpenseRecordParams in
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.activity1.cci2.AddWorkAndExpenseRecordResult addWorkRecord(
org.opencrx.kernel.activity1.cci2.ResourceAddWorkRecordParams in
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference {@code assignedActivity}.
* @return A set containing all the elements for this reference.
*/
public org.opencrx.kernel.activity1.cci2.ResourceHasAssignedActivity.AssignedActivity getAssignedActivity(
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.activity1.cci2.CalcTotalQuantityResult calcTotalQuantity(
org.opencrx.kernel.activity1.cci2.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.cci2.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.cci2.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/AttributeGet0_1
// ----------------------------------------------------------------------------
/**
* Retrieves the possibly null value for the optional attribute {@code description}.
* @return The possibly null value for attribute {@code description}.
*/
public java.lang.String getDescription(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet0_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code description}.
* @param description The possibly null new value for attribute {@code description}.
*/
public void setDescription(
java.lang.String description
);
// ----------------------------------------------------------------------------
// Instance/AttributeGet1_1
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the attribute {@code name}.
* @return The non-null value for attribute {@code name}.
*/
public java.lang.String getName(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSet1_1
// ----------------------------------------------------------------------------
/**
* Sets a new value for the attribute {@code name}.
* @param name The non-{@code null} new value for attribute {@code name}.
*/
public void setName(
java.lang.String name
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference {@code resourceRate}.
* @return A set containing all the elements for this reference.
*/
public org.opencrx.kernel.activity1.cci2.ResourceHasRate.ResourceRate getResourceRate(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves a set containing all the elements for the reference {@code workReportEntry}.
* @return A set containing all the elements for this reference.
*/
public org.opencrx.kernel.activity1.cci2.ResourceContainsWorkReportEntry.WorkReportEntry getWorkReportEntry(
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
// Instance/Containment
// ----------------------------------------------------------------------------
/**
* Object Identity
*/
public interface Identity extends org.oasisopen.cci2.Identity {
/**
* Retrieve the {@code Segment}'s identity
* @return the parent object's identity
*/
public org.openmdx.base.cci2.Segment.Identity getSegment();
/**
* Tells whether the {@code id} value is persistent or reassignable.
* @return {@code PERSISTENT} or {@code REASSIGNABLE}
*/
public org.oasisopen.cci2.QualifierType getIdType();
/**
* The {@code id} value
* @return the {@code id} value
*/
public java.lang.String getId();
}
}