|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.contract1.jdo2.AbstractSalesOrderPosition
org.opencrx.kernel.contract1.jdo2.SalesOrderPosition
public class SalesOrderPosition
Class SalesOrderPosition
| Nested Class Summary | |
|---|---|
static class |
SalesOrderPosition.Slice
Slice object hold the SalesOrderPosition's multivalued attributes |
| Nested classes/interfaces inherited from class org.opencrx.kernel.contract1.jdo2.AbstractSalesOrderPosition |
|---|
AbstractSalesOrderPosition.Identity |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
|---|
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
| Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.AbstractSalesOrderPosition |
|---|
AbstractSalesOrderPosition.Identity |
| Field Summary | |
|---|---|
static List<String> |
CLASS
Define the model class org::opencrx::kernel::contract1::SalesOrderPosition |
| Fields inherited from class org.opencrx.kernel.contract1.jdo2.AbstractSalesOrderPosition |
|---|
BASE_CLASS |
| Constructor Summary | |
|---|---|
SalesOrderPosition()
|
|
| Method Summary | ||
|---|---|---|
ProductConfigurationTypeSet |
getConfigType()
Retrieves the value for the reference configType. |
|
|
getConfiguration()
Retrieves a set containing all the elements for the reference configuration. |
|
ProductConfiguration |
getCurrentConfig()
Retrieves the value for the reference currentConfig. |
|
Product |
getProduct()
Retrieves the value for the reference product. |
|
Set<String> |
getProductSerialNumber()
Retrieves a set containing all the elements for the attribute productSerialNumber. |
|
static AbstractSalesOrderPosition.Identity |
newIdentity(SalesOrder.Identity salesOrder,
QualifierType idType,
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)
|
|
static AbstractSalesOrderPosition.Identity |
openmdxjdoToIdentity(ObjectId objectId)
|
|
void |
setCurrentConfig(ProductConfiguration currentConfig)
Sets a new value for the reference currentConfig. |
|
void |
setProduct(Product product)
Sets a new value for the reference product. |
|
void |
setProductSerialNumber(String... productSerialNumber)
Clears productSerialNumber and adds the given value(s). |
|
Void |
unsetConfigurationType()
|
|
| Methods inherited from class org.w3c.jdo2.AbstractObject |
|---|
openmdxjdoClassName, openmdxjdoGetIdentityBuilder, openmdxjdoGetList, openmdxjdoGetObjectsByParent, openmdxjdoGetSet, openmdxjdoGetSparseArray, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
|---|
jdoClass, modelClasses, 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.contract1.cci2.AddressContainer |
|---|
getAddress |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer |
|---|
getDeliveryRequest |
| Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail |
|---|
getCarrier, getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setCarrier, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber |
| Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder |
|---|
getDepotReference |
| Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender |
|---|
sendAlert |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee |
|---|
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
|---|
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Exporter |
|---|
exportItem, exportItemAdvanced |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Importer |
|---|
importItem |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed |
|---|
getIndexEntry, updateIndex |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
|---|
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, 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.ContextCapable |
|---|
getContext |
| Methods inherited from interface org.openmdx.base.cci2.ExtentCapable |
|---|
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
|---|
getView |
| Field Detail |
|---|
public static final List<String> CLASS
org::opencrx::kernel::contract1::SalesOrderPosition
| Constructor Detail |
|---|
public SalesOrderPosition()
| Method Detail |
|---|
public ProductConfigurationTypeSet getConfigType()
configType.
getConfigType in interface ProductConfigurationSetnull – value for this reference.public Product getProduct()
product.
getProduct in interface ProductDescriptornull – value for this reference.public void setProduct(Product product)
product.
setProduct in interface ProductDescriptorproduct - The non-null new value for this reference.public <T extends ProductConfiguration> ProductConfigurationSetContainsConfiguration.Configuration<T> getConfiguration()
configuration.
getConfiguration in interface ProductConfigurationSetpublic ProductConfiguration getCurrentConfig()
currentConfig.
getCurrentConfig in interface ConfiguredProductnull – value for this reference.public void setCurrentConfig(ProductConfiguration currentConfig)
currentConfig.
setCurrentConfig in interface ConfiguredProductcurrentConfig - The non-null new value for this reference.public final Set<String> getProductSerialNumber()
productSerialNumber.
getProductSerialNumber in interface ConfiguredProductpublic void setProductSerialNumber(String... productSerialNumber)
productSerialNumber and adds the given value(s).
This method is equivalent to
set.clear(); set.addAll(Arrays.asList(productSerialNumber));
setProductSerialNumber in interface ConfiguredProductproductSerialNumber - value(s) to be added to productSerialNumberpublic Void unsetConfigurationType()
unsetConfigurationType in interface ProductConfigurationSetprotected int openmdxjdoGetSize(int field)
openmdxjdoGetSize in class AbstractSalesOrderPosition
protected void openmdxjdoSetSize(int field,
int size)
openmdxjdoSetSize in class AbstractSalesOrderPositionprotected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
newSlice in class AbstractSalesOrderPositionprotected List<String> openmdxjdoGetClass()
openmdxjdoGetClass in class AbstractSalesOrderPositionSalesOrderPosition.CLASS
public static AbstractSalesOrderPosition.Identity newIdentity(SalesOrder.Identity salesOrder,
QualifierType idType,
String id)
public static AbstractSalesOrderPosition.Identity openmdxjdoToIdentity(ObjectId objectId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||