org.opencrx.kernel.contract1.jdo2
Class OpportunityPosition
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.contract1.jdo2.AbstractOpportunityPosition
org.opencrx.kernel.contract1.jdo2.OpportunityPosition
- All Implemented Interfaces:
- Serializable, AlertSender, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, AbstractOpportunityPosition, AddressContainer, ContractPosition, DeliveryRequestContainer, OpportunityPosition, ShippingDetail, BookingOrigin, DepotReferenceHolder, CrxObject, ConfiguredProduct, ProductConfigurationSet, ProductDescriptor, BasicObject, ContextCapable, ExtentCapable, ViewCapable
public class OpportunityPosition
- extends AbstractOpportunityPosition
- implements OpportunityPosition
Class OpportunityPosition
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
OpportunityPosition.Slice
Slice object hold the OpportunityPosition's multivalued attributes |
| Nested classes/interfaces inherited from class org.w3c.jdo2.AbstractObject |
org.w3c.jdo2.AbstractObject.EmbeddedList<E>, org.w3c.jdo2.AbstractObject.EmbeddedSet<E> |
|
Field Summary |
static List<String> |
CLASS
Define the model class org::opencrx::kernel::contract1::OpportunityPosition |
| Methods inherited from class org.opencrx.kernel.contract1.jdo2.AbstractOpportunityPosition |
addOwningGroup, addToOpportunity, addToOpportunity, checkPermissions, clone_, exportItem, exportItemAdvanced, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAdditionalExternalLink, getAddress, getAmount, getAttachedDocument, getAudit, getBaseAmount, getCalcRule, getCarrier, getCategory, getCloseProbability, getContact, getContext, getContractPositionState, getCreatedAt, getCreatedBy, getDeliveryInformation, getDeliveryRequest, getDepotReference, getDescription, getDisabledReason, getDiscount, getDiscountAmount, getDiscountDescription, getDocumentFolderAssignment, 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, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, replaceOwningGroup, 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, 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, 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.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.ShippingDetail |
getCarrier, getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setCarrier, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber |
| Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject |
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getDocumentFolderAssignment, 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.Auditee |
getAudit |
| Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable |
clone_ |
| 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 |
CLASS
public static final List<String> CLASS
- Define the model class
org::opencrx::kernel::contract1::OpportunityPosition
OpportunityPosition
public OpportunityPosition()
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> ProductConfigurationSetContainsConfiguration.Configuration<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()
- Retrieves a set containing all the elements for the attribute
productSerialNumber.
- Specified by:
getProductSerialNumber in interface ConfiguredProduct
- Returns:
- A set containing all elements for this attribute.
setProductSerialNumber
public void setProductSerialNumber(String... productSerialNumber)
- Clears
productSerialNumber and adds the given value(s).
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 Void unsetConfigurationType()
- Specified by:
unsetConfigurationType in interface ProductConfigurationSet
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,
QualifierType idType,
String id)
openmdxjdoToIdentity
public static AbstractOpportunityPosition.Identity openmdxjdoToIdentity(ObjectId objectId)
This software is published under the BSD license. Copyright © 2003-2008, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.