org.opencrx.kernel.contract1.jmi1.AbstractContract Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.contract1.jmi1;
/**
* Abstract class {@code AbstractContract}
*
* isFrozenisFrozen
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:38.963372206Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface AbstractContract
extends org.opencrx.kernel.contract1.cci2.AbstractContract,
org.opencrx.kernel.base.jmi1.Assignable,
org.opencrx.kernel.contract1.jmi1.AddressContainer,
org.opencrx.kernel.contract1.jmi1.DeliveryRequestContainer,
org.opencrx.kernel.contract1.jmi1.ShippingDetail,
org.opencrx.kernel.depot1.jmi1.BookingOrigin,
org.opencrx.kernel.depot1.jmi1.DepotReferenceHolder,
org.opencrx.kernel.generic.jmi1.CrxObject,
org.opencrx.kernel.generic.jmi1.Extended{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code assignedAccount} 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 getAssignedAccount(
org.opencrx.kernel.contract1.cci2.AccountAssignmentContractQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code assignedAccount} 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.contract1.jmi1.AccountAssignmentContract getAssignedAccount(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code assignedAccount} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getAssignedAccount(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.contract1.jmi1.AccountAssignmentContract getAssignedAccount(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code assignedAccount}.
*
* 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 assignedAccount The element to be appended.
*/
public void addAssignedAccount (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.AccountAssignmentContract assignedAccount
);
/**
* Adds the specified element to the set of the values for the reference {@code assignedAccount} 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 assignedAccount The element to be appended.
*/
public void addAssignedAccount (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.AccountAssignmentContract assignedAccount
);
/**
* Adds the specified element to the set of the values for the reference {@code assignedAccount} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param assignedAccount The element to be appended.
*/
public void addAssignedAccount (
org.opencrx.kernel.contract1.jmi1.AccountAssignmentContract assignedAccount
);
// ----------------------------------------------------------------------------
// Instance/AttributeGetList
// ----------------------------------------------------------------------------
/**
* Retrieves a list containing all the elements for the attribute {@code contractRole}.
* @return A list containing all elements for this attribute.
*/
public java.util.List getContractRole(
);
// ----------------------------------------------------------------------------
// Instance/AttributeSetList
// ----------------------------------------------------------------------------
/**
* Clears {@code contractRole} and adds the members of the given List.
*
* This method is equivalent to
* list.clear();
* list.addAll(contractRole);
*
* Note: This is an extension to the JMI 1 standard.
In order to remain standard compliant you should use the equivalent code.
* @param contractRole collection to be copied.
*/
public void setContractRole(
java.util.List contractRole
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractType}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.contract1.jmi1.ContractType getContractType(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code contractType}.
* @param contractType The new—possibly {@code null}—value for this reference.
*/
public void setContractType(
org.opencrx.kernel.contract1.cci2.ContractType contractType
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code groupAssignment} 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 getGroupAssignment(
org.opencrx.kernel.contract1.cci2.ContractGroupAssignmentQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code groupAssignment} 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.contract1.jmi1.ContractGroupAssignment getGroupAssignment(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code groupAssignment} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getGroupAssignment(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.contract1.jmi1.ContractGroupAssignment getGroupAssignment(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code groupAssignment}.
*
* 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 groupAssignment The element to be appended.
*/
public void addGroupAssignment (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractGroupAssignment groupAssignment
);
/**
* Adds the specified element to the set of the values for the reference {@code groupAssignment} 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 groupAssignment The element to be appended.
*/
public void addGroupAssignment (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractGroupAssignment groupAssignment
);
/**
* Adds the specified element to the set of the values for the reference {@code groupAssignment} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param groupAssignment The element to be appended.
*/
public void addGroupAssignment (
org.opencrx.kernel.contract1.jmi1.ContractGroupAssignment groupAssignment
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code lastAppliedCreator}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.contract1.jmi1.ContractCreator getLastAppliedCreator(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code lastAppliedCreator}.
* @param lastAppliedCreator The new—possibly {@code null}—value for this reference.
*/
public void setLastAppliedCreator(
org.opencrx.kernel.contract1.cci2.ContractCreator lastAppliedCreator
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code linkFrom} 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 getLinkFrom(
org.opencrx.kernel.contract1.cci2.ContractLinkFromQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code linkFrom} 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.contract1.jmi1.ContractLinkFrom getLinkFrom(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code linkFrom} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getLinkFrom(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.contract1.jmi1.ContractLinkFrom getLinkFrom(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code linkTo} 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 getLinkTo(
org.opencrx.kernel.contract1.cci2.ContractLinkToQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code linkTo} 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.contract1.jmi1.ContractLinkTo getLinkTo(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code linkTo} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getLinkTo(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.contract1.jmi1.ContractLinkTo getLinkTo(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code linkTo}.
*
* 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 linkTo The element to be appended.
*/
public void addLinkTo (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractLinkTo linkTo
);
/**
* Adds the specified element to the set of the values for the reference {@code linkTo} 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 linkTo The element to be appended.
*/
public void addLinkTo (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractLinkTo linkTo
);
/**
* Adds the specified element to the set of the values for the reference {@code linkTo} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param linkTo The element to be appended.
*/
public void addLinkTo (
org.opencrx.kernel.contract1.jmi1.ContractLinkTo linkTo
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code origin}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.contract1.jmi1.AbstractContract getOrigin(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code origin}.
* @param origin The new—possibly {@code null}—value for this reference.
*/
public void setOrigin(
org.opencrx.kernel.contract1.cci2.AbstractContract origin
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code paymentRecord} 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 getPaymentRecord(
org.opencrx.kernel.contract1.cci2.PaymentRecordQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code paymentRecord} 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.contract1.jmi1.PaymentRecord getPaymentRecord(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code paymentRecord} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getPaymentRecord(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.contract1.jmi1.PaymentRecord getPaymentRecord(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code paymentRecord}.
*
* 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 paymentRecord The element to be appended.
*/
public void addPaymentRecord (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.PaymentRecord paymentRecord
);
/**
* Adds the specified element to the set of the values for the reference {@code paymentRecord} 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 paymentRecord The element to be appended.
*/
public void addPaymentRecord (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.PaymentRecord paymentRecord
);
/**
* Adds the specified element to the set of the values for the reference {@code paymentRecord} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param paymentRecord The element to be appended.
*/
public void addPaymentRecord (
org.opencrx.kernel.contract1.jmi1.PaymentRecord paymentRecord
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void reapplyContractCreator(
org.opencrx.kernel.contract1.jmi1.ReapplyContractCreatorParams in
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}