org.opencrx.kernel.contract1.jmi1.Segment Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.contract1.jmi1;
/**
* Class {@code Segment}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:38.907032298Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface Segment
extends org.opencrx.kernel.contract1.cci2.Segment,
org.opencrx.kernel.jmi1.Segment,
org.opencrx.kernel.base.jmi1.Auditee,
org.opencrx.kernel.base.jmi1.Exporter,
org.opencrx.kernel.base.jmi1.Importer,
org.opencrx.kernel.base.jmi1.Indexed,
org.opencrx.kernel.base.jmi1.SecureObject{
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code calculationRule} 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 getCalculationRule(
org.opencrx.kernel.contract1.cci2.CalculationRuleQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code calculationRule} 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.CalculationRule getCalculationRule(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code calculationRule} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getCalculationRule(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.CalculationRule getCalculationRule(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code calculationRule}.
*
* 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 calculationRule The element to be appended.
*/
public void addCalculationRule (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.CalculationRule calculationRule
);
/**
* Adds the specified element to the set of the values for the reference {@code calculationRule} 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 calculationRule The element to be appended.
*/
public void addCalculationRule (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.CalculationRule calculationRule
);
/**
* Adds the specified element to the set of the values for the reference {@code calculationRule} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param calculationRule The element to be appended.
*/
public void addCalculationRule (
org.opencrx.kernel.contract1.jmi1.CalculationRule calculationRule
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contract} 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 getContract(
org.opencrx.kernel.contract1.cci2.GenericContractQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contract} 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.GenericContract getContract(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contract} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContract(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.GenericContract getContract(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contract}.
*
* 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 contract The element to be appended.
*/
public void addContract (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.GenericContract contract
);
/**
* Adds the specified element to the set of the values for the reference {@code contract} 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 contract The element to be appended.
*/
public void addContract (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.GenericContract contract
);
/**
* Adds the specified element to the set of the values for the reference {@code contract} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contract The element to be appended.
*/
public void addContract (
org.opencrx.kernel.contract1.jmi1.GenericContract contract
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractCreator} 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 getContractCreator(
org.opencrx.kernel.contract1.cci2.ContractCreatorQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractCreator} 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.ContractCreator getContractCreator(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contractCreator} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContractCreator(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.ContractCreator getContractCreator(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contractCreator}.
*
* 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 contractCreator The element to be appended.
*/
public void addContractCreator (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractCreator contractCreator
);
/**
* Adds the specified element to the set of the values for the reference {@code contractCreator} 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 contractCreator The element to be appended.
*/
public void addContractCreator (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractCreator contractCreator
);
/**
* Adds the specified element to the set of the values for the reference {@code contractCreator} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contractCreator The element to be appended.
*/
public void addContractCreator (
org.opencrx.kernel.contract1.jmi1.ContractCreator contractCreator
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractFilter} 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 getContractFilter(
org.opencrx.kernel.contract1.cci2.ContractFilterGlobalQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractFilter} 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.ContractFilterGlobal getContractFilter(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contractFilter} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContractFilter(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.ContractFilterGlobal getContractFilter(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contractFilter}.
*
* 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 contractFilter The element to be appended.
*/
public void addContractFilter (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractFilterGlobal contractFilter
);
/**
* Adds the specified element to the set of the values for the reference {@code contractFilter} 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 contractFilter The element to be appended.
*/
public void addContractFilter (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractFilterGlobal contractFilter
);
/**
* Adds the specified element to the set of the values for the reference {@code contractFilter} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contractFilter The element to be appended.
*/
public void addContractFilter (
org.opencrx.kernel.contract1.jmi1.ContractFilterGlobal contractFilter
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractGroup} 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 getContractGroup(
org.opencrx.kernel.contract1.cci2.ContractGroupQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractGroup} 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.ContractGroup getContractGroup(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contractGroup} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContractGroup(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.ContractGroup getContractGroup(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contractGroup}.
*
* 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 contractGroup The element to be appended.
*/
public void addContractGroup (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractGroup contractGroup
);
/**
* Adds the specified element to the set of the values for the reference {@code contractGroup} 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 contractGroup The element to be appended.
*/
public void addContractGroup (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractGroup contractGroup
);
/**
* Adds the specified element to the set of the values for the reference {@code contractGroup} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contractGroup The element to be appended.
*/
public void addContractGroup (
org.opencrx.kernel.contract1.jmi1.ContractGroup contractGroup
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractRole} 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 getContractRole(
org.opencrx.kernel.contract1.cci2.ContractRoleQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractRole} 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.ContractRole getContractRole(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contractRole} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContractRole(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.ContractRole getContractRole(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractType} 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 getContractType(
org.opencrx.kernel.contract1.cci2.ContractTypeQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code contractType} 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.ContractType getContractType(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code contractType} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getContractType(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.ContractType getContractType(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code contractType}.
*
* 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 contractType The element to be appended.
*/
public void addContractType (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractType contractType
);
/**
* Adds the specified element to the set of the values for the reference {@code contractType} 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 contractType The element to be appended.
*/
public void addContractType (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ContractType contractType
);
/**
* Adds the specified element to the set of the values for the reference {@code contractType} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param contractType The element to be appended.
*/
public void addContractType (
org.opencrx.kernel.contract1.jmi1.ContractType contractType
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code invoice} 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 getInvoice(
org.opencrx.kernel.contract1.cci2.InvoiceQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code invoice} 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.Invoice getInvoice(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code invoice} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getInvoice(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.Invoice getInvoice(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code invoice}.
*
* 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 invoice The element to be appended.
*/
public void addInvoice (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Invoice invoice
);
/**
* Adds the specified element to the set of the values for the reference {@code invoice} 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 invoice The element to be appended.
*/
public void addInvoice (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Invoice invoice
);
/**
* Adds the specified element to the set of the values for the reference {@code invoice} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param invoice The element to be appended.
*/
public void addInvoice (
org.opencrx.kernel.contract1.jmi1.Invoice invoice
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code lead} 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 getLead(
org.opencrx.kernel.contract1.cci2.LeadQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code lead} 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.Lead getLead(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code lead} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getLead(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.Lead getLead(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code lead}.
*
* 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 lead The element to be appended.
*/
public void addLead (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Lead lead
);
/**
* Adds the specified element to the set of the values for the reference {@code lead} 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 lead The element to be appended.
*/
public void addLead (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Lead lead
);
/**
* Adds the specified element to the set of the values for the reference {@code lead} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param lead The element to be appended.
*/
public void addLead (
org.opencrx.kernel.contract1.jmi1.Lead lead
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code opportunity} 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 getOpportunity(
org.opencrx.kernel.contract1.cci2.OpportunityQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code opportunity} 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.Opportunity getOpportunity(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code opportunity} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getOpportunity(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.Opportunity getOpportunity(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code opportunity}.
*
* 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 opportunity The element to be appended.
*/
public void addOpportunity (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Opportunity opportunity
);
/**
* Adds the specified element to the set of the values for the reference {@code opportunity} 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 opportunity The element to be appended.
*/
public void addOpportunity (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Opportunity opportunity
);
/**
* Adds the specified element to the set of the values for the reference {@code opportunity} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param opportunity The element to be appended.
*/
public void addOpportunity (
org.opencrx.kernel.contract1.jmi1.Opportunity opportunity
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code quote} 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 getQuote(
org.opencrx.kernel.contract1.cci2.QuoteQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code quote} 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.Quote getQuote(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code quote} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getQuote(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.Quote getQuote(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code quote}.
*
* 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 quote The element to be appended.
*/
public void addQuote (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Quote quote
);
/**
* Adds the specified element to the set of the values for the reference {@code quote} 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 quote The element to be appended.
*/
public void addQuote (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.Quote quote
);
/**
* Adds the specified element to the set of the values for the reference {@code quote} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param quote The element to be appended.
*/
public void addQuote (
org.opencrx.kernel.contract1.jmi1.Quote quote
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code salesOrder} 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 getSalesOrder(
org.opencrx.kernel.contract1.cci2.SalesOrderQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code salesOrder} 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.SalesOrder getSalesOrder(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code salesOrder} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getSalesOrder(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.SalesOrder getSalesOrder(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code salesOrder}.
*
* 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 salesOrder The element to be appended.
*/
public void addSalesOrder (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.SalesOrder salesOrder
);
/**
* Adds the specified element to the set of the values for the reference {@code salesOrder} 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 salesOrder The element to be appended.
*/
public void addSalesOrder (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.SalesOrder salesOrder
);
/**
* Adds the specified element to the set of the values for the reference {@code salesOrder} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param salesOrder The element to be appended.
*/
public void addSalesOrder (
org.opencrx.kernel.contract1.jmi1.SalesOrder salesOrder
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}