org.opencrx.kernel.product1.jmi1
Interface PriceListEntry

All Superinterfaces:
AbstractProductPrice, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, PriceListEntry, RefBaseObject, RefFeatured, RefObject, SecureObject, org.openmdx.compatibility.view1.cci2.ViewCapable

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

Class PriceListEntry


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.PriceListEntry
PriceListEntry.Identity
 
Method Summary
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 void addPriceLevel(int index, PriceLevel newValue)
          
 void addPriceLevel(PriceLevel newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 ProductBasePrice getBasePrice()
          Retrieves the value for the reference basePrice.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 AbstractProduct getProduct()
          Retrieves the value for the reference product.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 Uom getUom()
          Retrieves the value for the reference uom.
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeBasePrice()
          Removes the value for the optional reference basePrice.
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removePriceLevel(int index)
          
 void setBasePrice(ProductBasePrice basePrice)
          Sets a new value for the reference basePrice.
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 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.
 void setUom(Uom uom)
          Sets a new value for the reference uom.
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.PriceListEntry
getProductDescription, getProductName
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, getOwner, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.product1.jmi1.AbstractProductPrice
getUsage, setUsage
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.AbstractProductPrice
getDescription, getDiscount, getPrice, getPriceCurrency, getPriceLevel, getQuantityFrom, getQuantityTo, getUsage, isDiscountIsPercentage, setDescription, setDiscount, setDiscountIsPercentage, setPrice, setPriceCurrency, setQuantityFrom, setQuantityTo, setUsage
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
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

getAccessGrantedByParent

org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The – possibly null – value for this reference.

addOwningGroup

void addOwningGroup(int index,
                    PrincipalGroup newValue)

Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addOwningGroup

void addOwningGroup(PrincipalGroup newValue)

Parameters:
newValue - The element to be appended.

removeOwningGroup

void removeOwningGroup(int index)


getOwningUser

User getOwningUser()
Retrieves the value for the reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The – possibly null – value for this reference.

setOwningUser

void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
owningUser - The non-null new value for this reference.

removeOwningUser

void removeOwningUser()
Removes the value for the optional reference owningUser.


addPriceLevel

void addPriceLevel(int index,
                   PriceLevel newValue)

Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addPriceLevel

void addPriceLevel(PriceLevel newValue)

Parameters:
newValue - The element to be appended.

removePriceLevel

void removePriceLevel(int index)


getUom

Uom getUom()
Retrieves the value for the reference uom.

Specified by:
getUom in interface AbstractProductPrice
Returns:
The non-null value for this reference.

setUom

void setUom(Uom uom)
Sets a new value for the reference uom.

Specified by:
setUom in interface AbstractProductPrice
Parameters:
uom - The non-null new value for this reference.

getBasePrice

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

Specified by:
getBasePrice in interface PriceListEntry
Returns:
The – possibly null – value for this reference.

setBasePrice

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

Specified by:
setBasePrice in interface PriceListEntry
Parameters:
basePrice - The non-null new value for this reference.

removeBasePrice

void removeBasePrice()
Removes the value for the optional reference basePrice.


getProduct

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

Specified by:
getProduct in interface PriceListEntry
Returns:
The – possibly null – value for this reference.

getSalesTaxType

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

Specified by:
getSalesTaxType in interface PriceListEntry
Returns:
The – possibly null – value for this reference.

getView

<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

setSegment

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

Specified by:
setSegment in interface PriceListEntry
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.

Specified by:
setSegment in interface PriceListEntry
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.