org.opencrx.kernel.contract1.jmi1.SalesContractPosition Maven / Gradle / Ivy
// ----------------------------------------------------------------------------
// Instance/Begin
// ----------------------------------------------------------------------------
package org.opencrx.kernel.contract1.jmi1;
/**
* Abstract class {@code SalesContractPosition}
*/
@javax.annotation.Generated(
value = "org.openmdx.application.mof.mapping.java.InstanceMapper",
date = "2023-10-28T12:15:39.143907697Z",
comments = "Generated by openMDX 2.18.8 - DO NOT CHANGE MANUALLY"
)
public interface SalesContractPosition
extends org.opencrx.kernel.contract1.cci2.SalesContractPosition,
org.opencrx.kernel.contract1.jmi1.AddressContainer,
org.opencrx.kernel.contract1.jmi1.DeliveryRequestContainer,
org.opencrx.kernel.contract1.jmi1.SalesContractPositionOrigin,
org.opencrx.kernel.contract1.jmi1.ShippingDetail,
org.opencrx.kernel.depot1.jmi1.BookingOrigin,
org.opencrx.kernel.depot1.jmi1.DepotReferenceHolder,
org.opencrx.kernel.forecast1.jmi1.SalesVolumeBudgetContributionSource,
org.opencrx.kernel.generic.jmi1.Extended{
// ----------------------------------------------------------------------------
// 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/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code deliveryInformation} 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 getDeliveryInformation(
org.opencrx.kernel.contract1.cci2.DeliveryInformationQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code deliveryInformation} 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.DeliveryInformation getDeliveryInformation(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code deliveryInformation} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getDeliveryInformation(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.DeliveryInformation getDeliveryInformation(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code deliveryInformation}.
*
* 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 deliveryInformation The element to be appended.
*/
public void addDeliveryInformation (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.DeliveryInformation deliveryInformation
);
/**
* Adds the specified element to the set of the values for the reference {@code deliveryInformation} 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 deliveryInformation The element to be appended.
*/
public void addDeliveryInformation (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.DeliveryInformation deliveryInformation
);
/**
* Adds the specified element to the set of the values for the reference {@code deliveryInformation} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param deliveryInformation The element to be appended.
*/
public void addDeliveryInformation (
org.opencrx.kernel.contract1.jmi1.DeliveryInformation deliveryInformation
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code discountOrigin}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.DiscountOrigin getDiscountOrigin(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code discountOrigin}.
* @param discountOrigin The new—possibly {@code null}—value for this reference.
*/
public void setDiscountOrigin(
org.opencrx.kernel.product1.cci2.DiscountOrigin discountOrigin
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code listPrice}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.ProductBasePrice getListPrice(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code listPrice}.
* @param listPrice The new—possibly {@code null}—value for this reference.
*/
public void setListPrice(
org.opencrx.kernel.product1.cci2.ProductBasePrice listPrice
);
// ----------------------------------------------------------------------------
// 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/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.opencrx.kernel.contract1.jmi1.PreviewRepriceResult previewReprice(
org.opencrx.kernel.contract1.jmi1.PreviewRepriceParams in
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code priceLevel}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.AbstractPriceLevel getPriceLevel(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code priceLevel}.
* @param priceLevel The new—possibly {@code null}—value for this reference.
*/
public void setPriceLevel(
org.opencrx.kernel.product1.cci2.AbstractPriceLevel priceLevel
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code priceUom}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.uom1.jmi1.Uom getPriceUom(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code priceUom}.
* @param priceUom The new—possibly {@code null}—value for this reference.
*/
public void setPriceUom(
org.opencrx.kernel.uom1.cci2.Uom priceUom
);
// ----------------------------------------------------------------------------
// 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/ReferenceGet0_nWithQuery
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code productApplication} 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 getProductApplication(
org.opencrx.kernel.contract1.cci2.ProductApplicationQuery query
);
// ----------------------------------------------------------------------------
// Instance/IntfReferenceGet0_1WithQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code productApplication} 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.ProductApplication getProductApplication(
boolean idIsPersistent,
java.lang.String id
);
/**
* Retrieves the value for the reference {@code productApplication} for the specified qualifier attribute value.
*
* This method is equivalent to the preferred invocation {@code getProductApplication(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.ProductApplication getProductApplication(
java.lang.String id
);
// ----------------------------------------------------------------------------
// Instance/ReferenceAddWithQualifier
// ----------------------------------------------------------------------------
/**
* Adds the specified element to the set of the values for the reference {@code productApplication}.
*
* 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 productApplication The element to be appended.
*/
public void addProductApplication (
boolean idIsPersistent,
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ProductApplication productApplication
);
/**
* Adds the specified element to the set of the values for the reference {@code productApplication} 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 productApplication The element to be appended.
*/
public void addProductApplication (
java.lang.String id,
org.opencrx.kernel.contract1.jmi1.ProductApplication productApplication
);
/**
* Adds the specified element to the set of the values for the reference {@code productApplication} using an implementation-specific, reassignable qualifier.
*
* Note: This is an extension to the JMI 1 standard.
* @param productApplication The element to be appended.
*/
public void addProductApplication (
org.opencrx.kernel.contract1.jmi1.ProductApplication productApplication
);
// ----------------------------------------------------------------------------
// Instance/Operation
// ----------------------------------------------------------------------------
/**
*/
public org.openmdx.base.jmi1.Void reprice(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code salesTaxType}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.SalesTaxType getSalesTaxType(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code salesTaxType}.
* @param salesTaxType The new—possibly {@code null}—value for this reference.
*/
public void setSalesTaxType(
org.opencrx.kernel.product1.cci2.SalesTaxType salesTaxType
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code salesTransactionType}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.product1.jmi1.SalesTransactionType getSalesTransactionType(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code salesTransactionType}.
* @param salesTransactionType The new—possibly {@code null}—value for this reference.
*/
public void setSalesTransactionType(
org.opencrx.kernel.product1.cci2.SalesTransactionType salesTransactionType
);
// ----------------------------------------------------------------------------
// Instance/ReferenceGetx_1NoQualifier
// ----------------------------------------------------------------------------
/**
* Retrieves the value for the reference {@code uom}.
* @return The —possibly {@code null}— value for this reference.
*/
public org.opencrx.kernel.uom1.jmi1.Uom getUom(
);
// ----------------------------------------------------------------------------
// Instance/ReferenceSetNoQualifier
// ----------------------------------------------------------------------------
/**
* Sets a new value for the reference {@code uom}.
* @param uom The new—possibly {@code null}—value for this reference.
*/
public void setUom(
org.opencrx.kernel.uom1.cci2.Uom uom
);
// ----------------------------------------------------------------------------
// Instance/End
// ----------------------------------------------------------------------------
}