org.opencrx.kernel.contract1.jmi1.SalesContract Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.contract1.jmi1;
/**
* Abstract class {@code SalesContract}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:39.017790691Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface SalesContract
extends org.opencrx.kernel.contract1.cci2.SalesContract,
org.opencrx.kernel.contract1.jmi1.AbstractContract{
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code broker}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Account getBroker(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code broker}.
* @param broker The new—possibly {@code null}—value for this reference.
*/
public void setBroker(
org.opencrx.kernel.account1.cci2.Account broker
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code calcRule}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.contract1.jmi1.CalculationRule getCalcRule(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code calcRule}.
* @param calcRule The new—possibly {@code null}—value for this reference.
*/
public void setCalcRule(
org.opencrx.kernel.contract1.cci2.CalculationRule calcRule
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.contract1.jmi1.CreatePositionResult createPosition(
org.opencrx.kernel.contract1.jmi1.CreatePositionParams in
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code customer}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Account getCustomer(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code customer}.
* @param customer The new—possibly {@code null}—value for this reference.
*/
public void setCustomer(
org.opencrx.kernel.account1.cci2.Account customer
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code positionModification} 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 getPositionModification(
org.opencrx.kernel.contract1.cci2.PositionModificationQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code positionModification} 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.PositionModification getPositionModification(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code positionModification} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getPositionModification(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.PositionModification getPositionModification(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code positionModification}.
*
* 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 positionModification The element to be appended.
*/
public void addPositionModification (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.PositionModification positionModification
);
/**
* Adds the specified element to the set of the values for the reference {@code positionModification} 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 positionModification The element to be appended.
*/
public void addPositionModification (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.PositionModification positionModification
);
/**
* Adds the specified element to the set of the values for the reference {@code positionModification} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param positionModification The element to be appended.
*/
public void addPositionModification (
org.opencrx.kernel.contract1.jmi1.PositionModification positionModification
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code pricingRule}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.PricingRule getPricingRule(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code pricingRule}.
* @param pricingRule The new—possibly {@code null}—value for this reference.
*/
public void setPricingRule(
org.opencrx.kernel.product1.cci2.PricingRule pricingRule
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void recalc(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code removedPosition} 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 getRemovedPosition(
org.opencrx.kernel.contract1.cci2.AbstractRemovedPositionQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code removedPosition} 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.AbstractRemovedPosition getRemovedPosition(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code removedPosition} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getRemovedPosition(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.AbstractRemovedPosition getRemovedPosition(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code removedPosition}.
*
* 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 removedPosition The element to be appended.
*/
public void addRemovedPosition (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.AbstractRemovedPosition removedPosition
);
/**
* Adds the specified element to the set of the values for the reference {@code removedPosition} 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 removedPosition The element to be appended.
*/
public void addRemovedPosition (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.AbstractRemovedPosition removedPosition
);
/**
* Adds the specified element to the set of the values for the reference {@code removedPosition} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param removedPosition The element to be appended.
*/
public void addRemovedPosition (
org.opencrx.kernel.contract1.jmi1.AbstractRemovedPosition removedPosition
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void reprice(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code salesRep}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Account getSalesRep(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code salesRep}.
* @param salesRep The new—possibly {@code null}—value for this reference.
*/
public void setSalesRep(
org.opencrx.kernel.account1.cci2.Account salesRep
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code salesTaxTypeGroup}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.SalesTaxTypeGroup getSalesTaxTypeGroup(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code salesTaxTypeGroup}.
* @param salesTaxTypeGroup The new—possibly {@code null}—value for this reference.
*/
public void setSalesTaxTypeGroup(
org.opencrx.kernel.product1.cci2.SalesTaxTypeGroup salesTaxTypeGroup
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code supplier}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.account1.jmi1.Account getSupplier(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code supplier}.
* @param supplier The new—possibly {@code null}—value for this reference.
*/
public void setSupplier(
org.opencrx.kernel.account1.cci2.Account supplier
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}