org.opencrx.kernel.contract1.jdo2
Class OpportunityPosition

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.contract1.jdo2.AbstractOpportunityPosition
              extended by org.opencrx.kernel.contract1.jdo2.OpportunityPosition
All Implemented Interfaces:
Serializable, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, SubscriptionTarget, XmlExporter, AbstractOpportunityPosition, AddressContainer, ContractPosition, DeliveryRequestContainer, OpportunityPosition, ShippingDetail, BookingOrigin, DepotReferenceHolder, CrxObject, ConfiguredProduct, ProductConfigurationSet, ProductDescriptor, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class OpportunityPosition
extends AbstractOpportunityPosition
implements OpportunityPosition

Class OpportunityPosition

See Also:
Serialized Form

Nested Class Summary
static class OpportunityPosition.Slice
           
 
Nested classes/interfaces inherited from class org.opencrx.kernel.contract1.jdo2.AbstractOpportunityPosition
AbstractOpportunityPosition.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.contract1.cci2.AbstractOpportunityPosition
AbstractOpportunityPosition.Identity
 
Field Summary
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::OpportunityPosition
 
Fields inherited from class org.opencrx.kernel.contract1.jdo2.AbstractOpportunityPosition
BASE_CLASS
 
Constructor Summary
OpportunityPosition()
           
 
Method Summary
 ProductConfigurationTypeSet getConfigType()
          Retrieves the value for the reference configType.
<T extends ProductConfiguration>
Collection<T>
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()
           
static AbstractOpportunityPosition.Identity newIdentity(Opportunity.Identity opportunity, 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 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)
           This method is equivalent to
<T extends org.openmdx.base.cci2.Void>
T
unsetConfigurationType()
           
 
Methods inherited from class org.opencrx.kernel.contract1.jdo2.AbstractOpportunityPosition
addOwningGroup, addSubscription, addSubscriptionForParent, clone_, exportXml, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAdditionalExternalLink, getAddress, getAmount, getAttachedDocument, getAudit, getBaseAmount, getCalcRule, getCarrier, getCategory, getCloseProbability, getContact, getContractPositionState, getCreatedAt, getCreatedBy, getDeliveryInformation, getDeliveryRequest, getDepotReference, getDescription, getDisabledReason, getDiscount, getDiscountAmount, getDiscountDescription, getEstimatedCloseDate, getExternalLink, getGiftMessage, getIdentity, getIndexEntry, getLineItemNumber, getListPrice, getMaxQuantity, getMedia, getMinMaxQuantityHandling, getMinQuantity, getModifiedAt, getModifiedBy, getName, getNote, getOffsetQuantity, getOwner, getOwningGroup, getOwningUser, getPositionModification, getPositionNumber, getPriceLevel, getPricePerUnit, getPriceUom, getPriceUomDescription, getPriceUomDetailedDescription, getPricingDate, getPricingRule, getPricingState, getProductApplication, getProductDescription, getProductDetailedDescription, getPropertySet, getPropertySetEntry, getQuantity, getQuantityBackOrdered, getQuantityShipped, getRating, getSalesCommission, getSalesTaxType, getSalesTaxTypeDescription, getSalesTaxTypeDetailedDescription, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, getTaxAmount, getUom, getUomDescription, getUomDetailedDescription, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, getView, importItem, isDisabled, isDiscountIsPercentage, isGift, isSalesCommissionIsPercentage, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, removeSubscription, removeSubscriptionForParent, reprice, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setCalcRule, setCarrier, setCategory, setCloseProbability, setContractPositionState, setDescription, setDisabled, setDisabledReason, setDiscount, setDiscountDescription, setDiscountIsPercentage, setEstimatedCloseDate, setExternalLink, setGift, setGiftMessage, setListPrice, setMaxQuantity, setMinMaxQuantityHandling, setMinQuantity, setName, setOffsetQuantity, setOpportunity, setOpportunity, setOwningUser, setOwningUser, setPositionNumber, setPriceLevel, setPricePerUnit, setPriceUom, setPricingDate, setPricingRule, setPricingState, setQuantity, setSalesCommission, setSalesCommissionIsPercentage, setSalesTaxType, setShippingInstructions, setShippingMethod, setShippingTrackingNumber, setUom, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4, updateIndex
 
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.contract1.cci2.AbstractOpportunityPosition
getCloseProbability, getEstimatedCloseDate, setCloseProbability, setEstimatedCloseDate, setOpportunity, setOpportunity
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ContractPosition
getAmount, getBaseAmount, getCalcRule, getContact, getContractPositionState, getDeliveryInformation, getDescription, getDiscount, getDiscountAmount, getDiscountDescription, getLineItemNumber, getListPrice, getMaxQuantity, getMinMaxQuantityHandling, getMinQuantity, getName, getOffsetQuantity, getPositionModification, getPositionNumber, getPriceLevel, getPricePerUnit, getPriceUom, getPriceUomDescription, getPriceUomDetailedDescription, getPricingDate, getPricingRule, getPricingState, getProductApplication, getProductDescription, getProductDetailedDescription, getQuantity, getQuantityBackOrdered, getQuantityShipped, getSalesCommission, getSalesTaxType, getSalesTaxTypeDescription, getSalesTaxTypeDetailedDescription, getTaxAmount, getUom, getUomDescription, getUomDetailedDescription, isDiscountIsPercentage, isSalesCommissionIsPercentage, reprice, setCalcRule, setContractPositionState, setDescription, setDiscount, setDiscountDescription, setDiscountIsPercentage, setListPrice, setMaxQuantity, setMinMaxQuantityHandling, setMinQuantity, setName, setOffsetQuantity, setPositionNumber, setPriceLevel, setPricePerUnit, setPriceUom, setPricingDate, setPricingRule, setPricingState, setQuantity, setSalesCommission, setSalesCommissionIsPercentage, setSalesTaxType, setUom
 
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.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
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.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, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
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::contract1::OpportunityPosition

Constructor Detail

OpportunityPosition

public OpportunityPosition()
Method Detail

getConfigType

public ProductConfigurationTypeSet getConfigType()
Retrieves the value for the reference configType.

Specified by:
getConfigType in interface ProductConfigurationSet
Returns:
The – possibly null – value for this reference.

getProduct

public Product getProduct()
Retrieves the value for the reference product.

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

setProduct

public void setProduct(Product product)
Sets a new value for the reference product.

Specified by:
setProduct in interface ProductDescriptor
Parameters:
product - The non-null new value for this reference.

getConfiguration

public <T extends ProductConfiguration> Collection<T> getConfiguration()
Retrieves a set containing all the elements for the reference configuration.

Specified by:
getConfiguration in interface ProductConfigurationSet
Returns:
A set containing all the elements for this reference.

getCurrentConfig

public ProductConfiguration getCurrentConfig()
Retrieves the value for the reference currentConfig.

Specified by:
getCurrentConfig in interface ConfiguredProduct
Returns:
The – possibly null – value for this reference.

setCurrentConfig

public void setCurrentConfig(ProductConfiguration currentConfig)
Sets a new value for the reference currentConfig.

Specified by:
setCurrentConfig in interface ConfiguredProduct
Parameters:
currentConfig - The non-null new value for this reference.

getProductSerialNumber

public final Set<String> getProductSerialNumber()
Specified by:
getProductSerialNumber in interface ConfiguredProduct
Returns:
A set containing all elements for this attribute.

setProductSerialNumber

public void setProductSerialNumber(String... productSerialNumber)

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(productSerialNumber));
 

Specified by:
setProductSerialNumber in interface ConfiguredProduct
Parameters:
productSerialNumber - value(s) to be added to productSerialNumber

unsetConfigurationType

public <T extends org.openmdx.base.cci2.Void> T unsetConfigurationType()
                                                            throws RefException
Specified by:
unsetConfigurationType in interface ProductConfigurationSet
Throws:
RefException

openmdxjdoGetSize

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

openmdxjdoSetSize

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

newSlice

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

openmdxjdoGetClass

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

Overrides:
openmdxjdoGetClass in class AbstractOpportunityPosition
Returns:
the model class
See Also:
OpportunityPosition.CLASS

newIdentity

public static AbstractOpportunityPosition.Identity newIdentity(Opportunity.Identity opportunity,
                                                               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.