org.opencrx.kernel.contract1.jdo2
Class InvoicePosition
java.lang.Object
org.oasisopen.jdo2.Identifiable
org.w3c.jdo2.AbstractObject
org.opencrx.kernel.contract1.jdo2.AbstractInvoicePosition
org.opencrx.kernel.contract1.jdo2.InvoicePosition
- All Implemented Interfaces:
- Serializable, AlertSender, Auditee, Cloneable, Importer, Indexed, SecureObject, XmlExporter, AbstractInvoicePosition, AddressContainer, ContractPosition, DeliveryRequestContainer, InvoicePosition, 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 InvoicePosition
- extends AbstractInvoicePosition
- implements InvoicePosition
Class InvoicePosition
- See Also:
- Serialized Form
|
Nested Class Summary |
static class |
InvoicePosition.Slice
Slice object hold the InvoicePosition'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::InvoicePosition |
| Methods inherited from class org.opencrx.kernel.contract1.jdo2.AbstractInvoicePosition |
addAdditionalExternalLink, addAddress, addAttachedDocument, addDeliveryInformation, addDeliveryRequest, addDepotReference, addMedia, addNote, addOwningGroup, addProductApplication, addPropertySet, addRating, addToInvoice, addToInvoice, checkPermissions, clone_, exportXml, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getAdditionalExternalLink, getAdditionalExternalLink, getAddress, getAddress, getAmount, getAttachedDocument, getAttachedDocument, getAudit, getAudit, getBaseAmount, getCalcRule, getCarrier, getCategory, getContact, getContractPositionState, getCreatedAt, getCreatedBy, getDeliveryInformation, getDeliveryInformation, getDeliveryRequest, getDeliveryRequest, getDepotReference, getDepotReference, getDescription, getDisabledReason, getDiscount, getDiscountAmount, getDiscountDescription, getExternalLink, getGiftMessage, getIdentity, getIndexEntry, getIndexEntry, getLineItemNumber, getListPrice, getMaxQuantity, getMedia, getMedia, getMinMaxQuantityHandling, getMinQuantity, getModifiedAt, getModifiedBy, getName, getNote, getNote, getOffsetQuantity, getOwner, getOwningGroup, getOwningUser, getPositionModification, getPositionModification, getPositionNumber, getPriceLevel, getPricePerUnit, getPriceUom, getPriceUomDescription, getPriceUomDetailedDescription, getPricingDate, getPricingRule, getPricingState, getProductApplication, getProductApplication, getProductDescription, getProductDetailedDescription, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getQuantity, getQuantityBackOrdered, getQuantityShipped, getRating, 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, getView, importItem, isDisabled, isDiscountIsPercentage, isGift, isSalesCommissionIsPercentage, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, openmdxjdoGetObjectId, openmdxjdoGetObjectsByParent, openmdxjdoGetSlices, removeAllOwningGroup, removeOwningGroup, reprice, sendAlert, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setCalcRule, setCarrier, setCategory, setContractPositionState, setDescription, setDisabled, setDisabledReason, setDiscount, setDiscountDescription, setDiscountIsPercentage, 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, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement |
| Methods inherited from class org.oasisopen.jdo2.Identifiable |
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 |
addDeliveryInformation, addProductApplication, getAmount, getBaseAmount, getCalcRule, getContact, getContractPositionState, getDeliveryInformation, getDeliveryInformation, getDescription, getDiscount, getDiscountAmount, getDiscountDescription, getLineItemNumber, getListPrice, getMaxQuantity, getMinMaxQuantityHandling, getMinQuantity, getName, getOffsetQuantity, getPositionModification, getPositionModification, getPositionNumber, getPriceLevel, getPricePerUnit, getPriceUom, getPriceUomDescription, getPriceUomDetailedDescription, getPricingDate, getPricingRule, getPricingState, getProductApplication, 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 |
addAdditionalExternalLink, addAttachedDocument, addMedia, addNote, addPropertySet, addRating, getAdditionalExternalLink, getAdditionalExternalLink, getAttachedDocument, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getMedia, getNote, getNote, getPropertySet, getPropertySet, getPropertySetEntry, getPropertySetEntry, getRating, 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.Cloneable |
clone_ |
| Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject |
addOwningGroup, checkPermissions, getAccessGrantedByParent, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, getOwningUser, removeAllOwningGroup, removeOwningGroup, 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.ExtentCapable |
getIdentity |
| Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable |
getView, getView |
CLASS
public static final List<String> CLASS
- Define the model class
org::opencrx::kernel::contract1::InvoicePosition
InvoicePosition
public InvoicePosition()
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.
getConfiguration
public ProductConfiguration getConfiguration(boolean idIsPersistent,
String id)
- Retrieves the value for the reference
configuration for
the specified qualifier attribute value.
- Specified by:
getConfiguration in interface ProductConfigurationSet
- Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or notid - The value for the qualifier attribute that qualifies this reference.
- Returns:
- The possibly null value for this qualifier
addConfiguration
public void addConfiguration(boolean idIsPersistent,
String id,
ProductConfiguration configuration)
- Adds the specified element to the set of the values for the reference
configuration.
Note: This is an extension to the JMI 1 standard.
- Specified by:
addConfiguration in interface ProductConfigurationSet
- Parameters:
idIsPersistent - true if id is persistentid - The qualifier attribute value that qualifies the reference to get the element to be appended.configuration - The element to be appended.
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 org.openmdx.base.cci2.Void unsetConfigurationType()
- Specified by:
unsetConfigurationType in interface ProductConfigurationSet
openmdxjdoGetSize
protected int openmdxjdoGetSize(int field)
- Overrides:
openmdxjdoGetSize in class AbstractInvoicePosition
openmdxjdoSetSize
protected void openmdxjdoSetSize(int field,
int size)
- Overrides:
openmdxjdoSetSize in class AbstractInvoicePosition
newSlice
protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
- Overrides:
newSlice in class AbstractInvoicePosition
openmdxjdoGetClass
protected List<String> openmdxjdoGetClass()
- Retrieve the model class
- Overrides:
openmdxjdoGetClass in class AbstractInvoicePosition
- Returns:
- the model class
- See Also:
InvoicePosition.CLASS
newIdentity
public static AbstractInvoicePosition.Identity newIdentity(Invoice.Identity invoice,
boolean idIsPersistent,
String id)
openmdxjdoToIdentity
public static AbstractInvoicePosition.Identity openmdxjdoToIdentity(org.oasisopen.spi2.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.