org.opencrx.kernel.product1.cci2
Interface PriceListEntry

All Superinterfaces:
AbstractProductPrice, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, SecureObject, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
PriceListEntry
All Known Implementing Classes:
PriceListEntry

public interface PriceListEntry
extends SecureObject, AbstractProductPrice, org.openmdx.base.cci2.BasicObject

Class PriceListEntry


Nested Class Summary
static interface PriceListEntry.Identity
          Object Identity
 
Method Summary
 ProductBasePrice getBasePrice()
          Retrieves the value for the reference basePrice.
 AbstractProduct getProduct()
          Retrieves the value for the reference product.
 String getProductDescription()
          Retrieves the value for the attribute productDescription.
 String getProductName()
          Retrieves the value for the attribute productName.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 void setBasePrice(ProductBasePrice basePrice)
          Sets a new value for the reference basePrice.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:product1:SegmentContainsPriceListEntry.
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProductPrice
getDescription, getDiscount, getPrice, getPriceCurrency, getPriceLevel, getQuantityFrom, getQuantityTo, getUom, getUsage, isDiscountIsPercentage, setDescription, setDiscount, setDiscountIsPercentage, setPrice, setPriceCurrency, setQuantityFrom, setQuantityTo, setUom, setUsage
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getBasePrice

ProductBasePrice getBasePrice()
Retrieves the value for the reference basePrice.

Returns:
The – possibly null – value for this reference.

setBasePrice

void setBasePrice(ProductBasePrice basePrice)
Sets a new value for the reference basePrice.

Parameters:
basePrice - The non-null new value for this reference.

getProduct

AbstractProduct getProduct()
Retrieves the value for the reference product.

Returns:
The – possibly null – value for this reference.

getProductDescription

String getProductDescription()
Retrieves the value for the attribute productDescription.

Returns:
The non-null value for attribute productDescription.

getProductName

String getProductName()
Retrieves the value for the attribute productName.

Returns:
The non-null value for attribute productName.

getSalesTaxType

SalesTaxType getSalesTaxType()
Retrieves the value for the reference salesTaxType.

Returns:
The – possibly null – value for this reference.

setSegment

void setSegment(Segment segment)
Sets a new value for the reference segment.

Parameters:
segment - The non-null new value for this reference.

setSegment

void setSegment(Segment segment,
                boolean idIsPersistent,
                String id)
Set the object's composite association org:opencrx:kernel:product1:SegmentContainsPriceListEntry.

Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.