org.opencrx.kernel.product1.jdo2
Class SelectableProductBundle

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.product1.jdo2.SelectableItem
              extended by org.opencrx.kernel.product1.jdo2.SelectableProductBundle
All Implemented Interfaces:
Serializable, SelectableItem, SelectableItemWithQuantity, SelectableProductBundle, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class SelectableProductBundle
extends SelectableItem
implements SelectableProductBundle

Class SelectableProductBundle

See Also:
Serialized Form

Nested Class Summary
static class SelectableProductBundle.Slice
           
 
Nested classes/interfaces inherited from class org.opencrx.kernel.product1.jdo2.SelectableItem
SelectableItem.Identity
 
Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject
org.w3c.jdo2.AbstractObject.BLOB, org.w3c.jdo2.AbstractObject.CLOB, org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E>
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.product1.cci2.SelectableItem
SelectableItem.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::product1::SelectableProductBundle
 
Fields inherited from class org.opencrx.kernel.product1.jdo2.SelectableItem
BASE_CLASS
 
Constructor Summary
SelectableProductBundle()
           
 
Method Summary
 ProductBundle getBasedOn()
          Retrieves the value for the reference basedOn.
 BigDecimal getDefaultQuantity()
          Retrieves the value for the attribute defaultQuantity.
 BigDecimal getMaxQuantity()
          Retrieves the value for the attribute maxQuantity.
 BigDecimal getMinQuantity()
          Retrieves the value for the attribute minQuantity.
 BigDecimal getQuantity()
           
static SelectableItem.Identity newIdentity(org.oasisopen.cci2.PersistentIdentity offeringPosition, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  int openmdxjdoGetSize(int field)
           
protected  void openmdxjdoSetSize(int field, int size)
           
 void setQuantity(BigDecimal quantity)
          Sets a new value for the attribute quantity.
 
Methods inherited from class org.opencrx.kernel.product1.jdo2.SelectableItem
getCreatedAt, getCreatedBy, getDescription, getIdentity, getItemNumber, getModifiedAt, getModifiedBy, getName, getView, isSelector, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, setOfferingPosition, setOfferingPosition, setSelector
 
Methods inherited from class org.w3c.jdo2.AbstractObject
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
openmdxjdoGetIdentity, openmdxjdoGetIdentity, openmdxjdoGetObject, openmdxjdoGetObjectById, openmdxjdoGetObjectId, openmdxjdoGetObjectSet, openmdxjdoNewObjectId, openmdxjdoNewObjectId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opencrx.kernel.product1.cci2.SelectableItem
getDescription, getItemNumber, getName, isSelector, setOfferingPosition, setOfferingPosition, setSelector
 
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
 

Field Detail

CLASS

public static final List<String> CLASS
Define the model class org::opencrx::kernel::product1::SelectableProductBundle

Constructor Detail

SelectableProductBundle

public SelectableProductBundle()
Method Detail

getMaxQuantity

public BigDecimal getMaxQuantity()
Retrieves the value for the attribute maxQuantity.

Specified by:
getMaxQuantity in interface SelectableItemWithQuantity
Returns:
The non-null value for attribute maxQuantity.

getDefaultQuantity

public BigDecimal getDefaultQuantity()
Retrieves the value for the attribute defaultQuantity.

Specified by:
getDefaultQuantity in interface SelectableItemWithQuantity
Returns:
The non-null value for attribute defaultQuantity.

getBasedOn

public ProductBundle getBasedOn()
Retrieves the value for the reference basedOn.

Specified by:
getBasedOn in interface SelectableProductBundle
Returns:
The – possibly null – value for this reference.

getQuantity

public final BigDecimal getQuantity()
Specified by:
getQuantity in interface SelectableItemWithQuantity
Returns:
The possibly null value for attribute quantity.

setQuantity

public void setQuantity(BigDecimal quantity)
Sets a new value for the attribute quantity.

Specified by:
setQuantity in interface SelectableItemWithQuantity
Parameters:
quantity - The possibly null new value for attribute quantity.

getMinQuantity

public BigDecimal getMinQuantity()
Retrieves the value for the attribute minQuantity.

Specified by:
getMinQuantity in interface SelectableItemWithQuantity
Returns:
The non-null value for attribute minQuantity.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class SelectableItem

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class SelectableItem

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
Overrides:
newSlice in class SelectableItem

openmdxjdoGetClass

protected List<String> openmdxjdoGetClass()
Retrieve the model class

Overrides:
openmdxjdoGetClass in class SelectableItem
Returns:
the model class
See Also:
SelectableProductBundle.CLASS

newIdentity

public static SelectableItem.Identity newIdentity(org.oasisopen.cci2.PersistentIdentity offeringPosition,
                                                  boolean idIsPersistent,
                                                  String id)


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