org.opencrx.kernel.product1.cci
Interface PriceModifier

All Superinterfaces:
BasicObject, ContextCapable, ExtentCapable, RefBaseObject, RefFeatured, RefObject, RefObject_1_0, SecureObject, ViewCapable
All Known Subinterfaces:
DiscountPriceModifier, LinearPriceModifier
All Known Implementing Classes:
DiscountPriceModifierImpl, LinearPriceModifierImpl, PriceModifierImpl

public interface PriceModifier
extends SecureObject, BasicObject


Method Summary
 String getDescription()
          Retrieves the value for the attribute description.
 BigDecimal getQuantityFrom()
           
 BigDecimal getQuantityTo()
           
 void setDescription(String newValue)
          Sets a new value for the attribute description.
 void setQuantityFrom(BigDecimal newValue)
          Sets a new value for the attribute quantityFrom.
 void setQuantityTo(BigDecimal newValue)
          Sets a new value for the attribute quantityTo.
 
Methods inherited from interface org.opencrx.kernel.base.cci.SecureObject
addOwningGroup, addOwningGroup, addOwningGroup, addOwningGroup, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwner, getOwningGroup, getOwningGroup, getOwningUser, removeAllOwningGroup, removeAllOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningGroup, removeOwningUser, setAccessLevel, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser, setOwningUser
 
Methods inherited from interface org.openmdx.base.cci.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci.ContextCapable
getContext, getContext
 
Methods inherited from interface org.openmdx.base.cci.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci.ViewCapable
getView, getView, getView, getView
 
Methods inherited from interface org.openmdx.base.accessor.jmi.cci.RefObject_1_0
refAddEventListener, refAddToUnitOfWork, refAddValue, refContext, refDefaultFetchGroup, refDelegate, refFlush, refGetEventListeners, refGetPath, refGetValue, refGetValue, refInitialize, refInitialize, refIsDeleted, refIsDirty, refIsNew, refIsPersistent, refIsWriteProtected, refRefresh, refRefreshAsynchronously, refRemoveEventListener, refRemoveFromUnitOfWork, refRemoveValue, refRemoveValue, refSetValue, refWriteProtect
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getDescription

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

Returns:
The non-null value for attribute description.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setDescription

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

Parameters:
newValue - The non-null new value for attribute description.
Throws:
JmiException - If the value cannot be set for some reason.

getQuantityFrom

BigDecimal getQuantityFrom()
Returns:
The possibly null value for attribute quantityFrom.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setQuantityFrom

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

Parameters:
newValue - The possibly null new value for attribute quantityFrom.
Throws:
JmiException - If the value cannot be set for some reason.

getQuantityTo

BigDecimal getQuantityTo()
Returns:
The possibly null value for attribute quantityTo.
Throws:
JmiException - If the value cannot be retrieved for some reason.

setQuantityTo

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

Parameters:
newValue - The possibly null new value for attribute quantityTo.
Throws:
JmiException - If the value cannot be set for some reason.


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