org.opencrx.kernel.product1.cci2
Interface PriceModifier

All Superinterfaces:
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:
DiscountPriceModifier, DiscountPriceModifier, LinearPriceModifier, LinearPriceModifier, PriceModifier
All Known Implementing Classes:
DiscountPriceModifier, LinearPriceModifier, PriceModifier

public interface PriceModifier
extends SecureObject, org.openmdx.base.cci2.BasicObject

Abstract class PriceModifier


Nested Class Summary
static interface PriceModifier.Identity
          Object Identity
 
Method Summary
 String getDescription()
          Retrieves the value for the attribute description.
 BigDecimal getQuantityFrom()
           
 BigDecimal getQuantityTo()
           
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setPriceLevel(PriceLevel priceLevel)
          Sets a new value for the reference priceLevel.
 void setPriceLevel(PriceLevel priceLevel, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:product1:PriceLevelHasPriceModifier.
 void setQuantityFrom(BigDecimal quantityFrom)
          Sets a new value for the attribute quantityFrom.
 void setQuantityTo(BigDecimal quantityTo)
          Sets a new value for the attribute quantityTo.
 
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.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

getDescription

String getDescription()
Retrieves the value for the attribute description.

Returns:
The non-null value for attribute description.

setDescription

void setDescription(String description)
Sets a new value for the attribute description.

Parameters:
description - The non-null new value for attribute description.

getQuantityFrom

BigDecimal getQuantityFrom()
Returns:
The possibly null value for attribute quantityFrom.

setQuantityFrom

void setQuantityFrom(BigDecimal quantityFrom)
Sets a new value for the attribute quantityFrom.

Parameters:
quantityFrom - The possibly null new value for attribute quantityFrom.

getQuantityTo

BigDecimal getQuantityTo()
Returns:
The possibly null value for attribute quantityTo.

setQuantityTo

void setQuantityTo(BigDecimal quantityTo)
Sets a new value for the attribute quantityTo.

Parameters:
quantityTo - The possibly null new value for attribute quantityTo.

setPriceLevel

void setPriceLevel(PriceLevel priceLevel)
Sets a new value for the reference priceLevel.

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

setPriceLevel

void setPriceLevel(PriceLevel priceLevel,
                   boolean idIsPersistent,
                   String id)
Set the object's composite association org:opencrx:kernel:product1:PriceLevelHasPriceModifier.

Parameters:
priceLevel - 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.