org.opencrx.kernel.contract1.jdo2
Class SalesOrder

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.contract1.jdo2.SalesOrder
All Implemented Interfaces:
Serializable, AlertSender, Assignable, Auditee, Cloneable, Importer, Indexed, SecureObject, SubscriptionTarget, TemplateEnabled, XmlExporter, AbstractContract, AddressContainer, DeliveryRequestContainer, SalesOrder, ShippingDetail, DepotReferenceHolder, CrxObject, org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable

public class SalesOrder
extends org.w3c.jdo2.AbstractObject
implements SalesOrder

Class SalesOrder

See Also:
Serialized Form

Nested Class Summary
static class SalesOrder.Identity
          The object's application identity
static class SalesOrder.Slice
           
 
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>
 
Field Summary
static List<String> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::SalesOrder
 
Constructor Summary
SalesOrder()
           
 
Method Summary
<T extends ModifySecureObjectResult>
T
addOwningGroup(PrincipalGroup group, short mode)
           
<T extends org.openmdx.base.cci2.Void>
T
addSubscription()
           
<T extends org.openmdx.base.cci2.Void>
T
addSubscriptionForParent()
           
<T extends TemplateApplyReplacementsResult>
T
applyReplacements()
           
<T extends org.openmdx.base.cci2.Void>
T
assignToMe()
           
<T extends CloneResult>
T
clone_(String referenceFilter)
           
<T extends SalesOrderCreateInvoiceResult>
T
createInvoice()
           
<T extends TemplateCreateObjectResult>
T
createObject(String name)
           
<T extends CreatePositionResult>
T
createPosition(String name, Uom priceUom, Date pricingDate, PricingRule pricingRule, Product product, BigDecimal quantity, Uom uom)
           
<T extends CreateProductOfferingPositionResult>
T
createProductOfferingPosition(ProductOffering offering, BigDecimal quantity)
           
<T extends org.openmdx.base.cci2.Void>
T
deleteObject()
           
<T extends ExportResult>
T
exportXml(String attributeFilter, String referenceFilter)
           
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
 Date getActiveOn()
           
<T extends Activity>
List<T>
getActivity()
          Retrieves the Collection of objects referenced by activity.
<T extends AdditionalExternalLink>
Collection<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
<T extends ContractAddress>
Collection<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
<T extends DocumentAttachment>
Collection<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
<T extends AuditEntry>
Collection<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
 Account getBroker()
          Retrieves the value for the reference broker.
 CalculationRule getCalcRule()
          Retrieves the value for the reference calcRule.
 Date getCancelOn()
           
 Account getCarrier()
          Retrieves the value for the reference carrier.
 List<String> getCategory()
           
 Date getClosedOn()
           
<T extends Competitor>
List<T>
getCompetitor()
          Retrieves the Collection of objects referenced by competitor.
<T extends Contact>
List<T>
getContact()
          Retrieves the Collection of objects referenced by contact.
 short getContractCurrency()
          Retrieves the value for the attribute contractCurrency.
 short getContractLanguage()
          Retrieves the value for the attribute contractLanguage.
 String getContractNumber()
           
 short getContractState()
          Retrieves the value for the attribute contractState.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
           
 Account getCustomer()
          Retrieves the value for the reference customer.
<T extends DeliveryRequest>
Collection<T>
getDeliveryRequest()
          Retrieves a set containing all the elements for the reference deliveryRequest.
<T extends DepotReference>
Collection<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 String getDescription()
           
 String getDisabledReason()
           
 Date getExpiresOn()
           
 List<URI> getExternalLink()
           
 short getFreightTerms()
          Retrieves the value for the attribute freightTerms.
 String getGiftMessage()
           
 XRI getIdentity()
          Retrieves the value for the derived attribute identity.
<T extends IndexEntry>
Collection<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
<T extends CompoundBooking>
List<T>
getInventoryCb()
          Retrieves the Collection of objects referenced by inventoryCb.
<T extends Invoice>
List<T>
getInvoice()
          Retrieves the Collection of objects referenced by invoice.
<T extends Media>
Collection<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
           
 String getName()
          Retrieves the value for the attribute name.
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 AbstractContract getOrigin()
          Retrieves the value for the reference origin.
 List<String> getOwner()
           
<T extends PrincipalGroup>
List<T>
getOwningGroup()
          Retrieves the Collection of objects referenced by owningGroup.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
 short getPaymentTerms()
          Retrieves the value for the attribute paymentTerms.
<T extends AbstractSalesOrderPosition>
Collection<T>
getPosition()
          Retrieves a set containing all the elements for the reference position.
<T extends PositionModification>
Collection<T>
getPositionModification()
          Retrieves a set containing all the elements for the reference positionModification.
 Date getPricingDate()
           
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
 short getPricingState()
          Retrieves the value for the attribute pricingState.
 short getPriority()
          Retrieves the value for the attribute priority.
<T extends PropertySet>
Collection<T>
getPropertySet()
          Retrieves a set containing all the elements for the reference propertySet.
<T extends PropertySetEntry>
Collection<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
<T extends Rating>
Collection<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
<T extends AbstractRemovedPosition>
Collection<T>
getRemovedPosition()
          Retrieves a set containing all the elements for the reference removedPosition.
<T extends TemplateReplacement>
Collection<T>
getReplacement()
          Retrieves a set containing all the elements for the reference replacement.
 Account getSalesRep()
          Retrieves the value for the reference salesRep.
 String getShippingInstructions()
           
 short getShippingMethod()
          Retrieves the value for the attribute shippingMethod.
 String getShippingTrackingNumber()
           
 Date getSubmitDate()
           
 Short getSubmitStatus()
           
 String getSubmitStatusDescription()
           
 Account getSupplier()
          Retrieves the value for the reference supplier.
 String getTemplateReferenceFilter()
          Retrieves the value for the attribute templateReferenceFilter.
 BigDecimal getTotalAmount()
          Retrieves the value for the attribute totalAmount.
 BigDecimal getTotalAmountIncludingTax()
          Retrieves the value for the attribute totalAmountIncludingTax.
 BigDecimal getTotalBaseAmount()
          Retrieves the value for the attribute totalBaseAmount.
 BigDecimal getTotalDiscountAmount()
          Retrieves the value for the attribute totalDiscountAmount.
 BigDecimal getTotalSalesCommission()
          Retrieves the value for the attribute totalSalesCommission.
 BigDecimal getTotalTaxAmount()
          Retrieves the value for the attribute totalTaxAmount.
 List<Boolean> getUserBoolean4()
           
 Short getUserCode0()
           
 Short getUserCode1()
           
 Short getUserCode2()
           
 Short getUserCode3()
           
 List<Short> getUserCode4()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate0()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate1()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate2()
           
 javax.xml.datatype.XMLGregorianCalendar getUserDate3()
           
 List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
           
 Date getUserDateTime0()
           
 Date getUserDateTime1()
           
 Date getUserDateTime2()
           
 Date getUserDateTime3()
           
 List<Date> getUserDateTime4()
           
 BigDecimal getUserNumber0()
           
 BigDecimal getUserNumber1()
           
 BigDecimal getUserNumber2()
           
 BigDecimal getUserNumber3()
           
 List<BigDecimal> getUserNumber4()
           
 String getUserString0()
           
 String getUserString1()
           
 String getUserString2()
           
 String getUserString3()
           
 List<String> getUserString4()
           
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
<T extends ImportResult>
T
importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 boolean isDisabled()
          Retrieves the value for the attribute disabled.
 boolean isGift()
          Retrieves the value for the attribute isGift.
 Boolean isTemplate()
           
 Boolean isUserBoolean0()
           
 Boolean isUserBoolean1()
           
 Boolean isUserBoolean2()
           
 Boolean isUserBoolean3()
           
<T extends org.openmdx.base.cci2.Void>
T
markAsClosed(short salesOrderState)
           
static SalesOrder.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment, boolean idIsPersistent, String id)
           
protected  org.w3c.jdo2.AbstractObject.Slice newSlice(int index)
           
protected  List<String> openmdxjdoGetClass()
          Retrieve the model class
protected  String openmdxjdoGetObjectId()
          Retrieve the object's JDO identity key
static CloseableCollection<SalesOrder> openmdxjdoGetObjectsByParent(Segment segment)
          Navigate through an object's composite association
protected  int openmdxjdoGetSize(int field)
           
protected
<E extends org.w3c.jdo2.AbstractObject.Slice>
SortedMap<Integer,E>
openmdxjdoGetSlices()
           
protected  void openmdxjdoSetSize(int field, int size)
           
<T extends ModifySecureObjectResult>
T
removeAllOwningGroup(short mode)
           
<T extends ModifySecureObjectResult>
T
removeOwningGroup(PrincipalGroup group, short mode)
           
<T extends org.openmdx.base.cci2.Void>
T
removePendingInventoryBookings()
           
<T extends org.openmdx.base.cci2.Void>
T
removeSubscription()
           
<T extends org.openmdx.base.cci2.Void>
T
removeSubscriptionForParent()
           
<T extends org.openmdx.base.cci2.Void>
T
reprice()
           
<T extends org.openmdx.base.cci2.Void>
T
sendAlert(String description, short importance, String name, org.openmdx.base.cci2.BasicObject reference, String toUsers)
           
<T extends ModifySecureObjectResult>
T
setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
 void setAccessLevelBrowse(short accessLevelBrowse)
          Sets a new value for the attribute accessLevelBrowse.
 void setAccessLevelDelete(short accessLevelDelete)
          Sets a new value for the attribute accessLevelDelete.
 void setAccessLevelUpdate(short accessLevelUpdate)
          Sets a new value for the attribute accessLevelUpdate.
 void setActiveOn(Date activeOn)
          Sets a new value for the attribute activeOn.
 void setBroker(Account broker)
          Sets a new value for the reference broker.
 void setCalcRule(CalculationRule calcRule)
          Sets a new value for the reference calcRule.
 void setCancelOn(Date cancelOn)
          Sets a new value for the attribute cancelOn.
 void setCarrier(Account carrier)
          Sets a new value for the reference carrier.
 void setCategory(String... category)
           This method is equivalent to
 void setClosedOn(Date closedOn)
          Sets a new value for the attribute closedOn.
 void setContractCurrency(short contractCurrency)
          Sets a new value for the attribute contractCurrency.
 void setContractLanguage(short contractLanguage)
          Sets a new value for the attribute contractLanguage.
 void setContractNumber(String contractNumber)
          Sets a new value for the attribute contractNumber.
 void setContractState(short contractState)
          Sets a new value for the attribute contractState.
 void setCustomer(Account customer)
          Sets a new value for the reference customer.
 void setDescription(String description)
          Sets a new value for the attribute description.
 void setDisabled(boolean disabled)
          Sets a new value for the attribute disabled.
 void setDisabledReason(String disabledReason)
          Sets a new value for the attribute disabledReason.
 void setExpiresOn(Date expiresOn)
          Sets a new value for the attribute expiresOn.
 void setExternalLink(URI... externalLink)
           This method is equivalent to
 void setFreightTerms(short freightTerms)
          Sets a new value for the attribute freightTerms.
 void setGift(boolean isGift)
          Sets a new value for the attribute isGift.
 void setGiftMessage(String giftMessage)
          Sets a new value for the attribute giftMessage.
 void setName(String name)
          Sets a new value for the attribute name.
 void setOrigin(AbstractContract origin)
          Sets a new value for the reference origin.
<T extends ModifySecureObjectResult>
T
setOwningUser(short mode, User user)
           
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setPaymentTerms(short paymentTerms)
          Sets a new value for the attribute paymentTerms.
 void setPricingDate(Date pricingDate)
          Sets a new value for the attribute pricingDate.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 void setPriority(short priority)
          Sets a new value for the attribute priority.
 void setSalesRep(Account salesRep)
          Sets a new value for the reference salesRep.
 void setSegment(Segment segment)
          Sets a new value for the reference segment.
 void setSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:contract1:SegmentContainsSalesOrder.
 void setShippingInstructions(String shippingInstructions)
          Sets a new value for the attribute shippingInstructions.
 void setShippingMethod(short shippingMethod)
          Sets a new value for the attribute shippingMethod.
 void setShippingTrackingNumber(String shippingTrackingNumber)
          Sets a new value for the attribute shippingTrackingNumber.
 void setSubmitDate(Date submitDate)
          Sets a new value for the attribute submitDate.
 void setSubmitStatus(Short submitStatus)
          Sets a new value for the attribute submitStatus.
 void setSubmitStatusDescription(String submitStatusDescription)
          Sets a new value for the attribute submitStatusDescription.
 void setSupplier(Account supplier)
          Sets a new value for the reference supplier.
 void setTemplate(Boolean isTemplate)
          Sets a new value for the attribute isTemplate.
 void setTemplateReferenceFilter(String templateReferenceFilter)
          Sets a new value for the attribute templateReferenceFilter.
 void setUserBoolean0(Boolean userBoolean0)
          Sets a new value for the attribute userBoolean0.
 void setUserBoolean1(Boolean userBoolean1)
          Sets a new value for the attribute userBoolean1.
 void setUserBoolean2(Boolean userBoolean2)
          Sets a new value for the attribute userBoolean2.
 void setUserBoolean3(Boolean userBoolean3)
          Sets a new value for the attribute userBoolean3.
 void setUserBoolean4(boolean... userBoolean4)
           This method is equivalent to
 void setUserCode0(Short userCode0)
          Sets a new value for the attribute userCode0.
 void setUserCode1(Short userCode1)
          Sets a new value for the attribute userCode1.
 void setUserCode2(Short userCode2)
          Sets a new value for the attribute userCode2.
 void setUserCode3(Short userCode3)
          Sets a new value for the attribute userCode3.
 void setUserCode4(short... userCode4)
           This method is equivalent to
 void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
          Sets a new value for the attribute userDate0.
 void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
          Sets a new value for the attribute userDate1.
 void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
          Sets a new value for the attribute userDate2.
 void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
          Sets a new value for the attribute userDate3.
 void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)
           This method is equivalent to
 void setUserDateTime0(Date userDateTime0)
          Sets a new value for the attribute userDateTime0.
 void setUserDateTime1(Date userDateTime1)
          Sets a new value for the attribute userDateTime1.
 void setUserDateTime2(Date userDateTime2)
          Sets a new value for the attribute userDateTime2.
 void setUserDateTime3(Date userDateTime3)
          Sets a new value for the attribute userDateTime3.
 void setUserDateTime4(Date... userDateTime4)
           This method is equivalent to
 void setUserNumber0(BigDecimal userNumber0)
          Sets a new value for the attribute userNumber0.
 void setUserNumber1(BigDecimal userNumber1)
          Sets a new value for the attribute userNumber1.
 void setUserNumber2(BigDecimal userNumber2)
          Sets a new value for the attribute userNumber2.
 void setUserNumber3(BigDecimal userNumber3)
          Sets a new value for the attribute userNumber3.
 void setUserNumber4(BigDecimal... userNumber4)
           This method is equivalent to
 void setUserString0(String userString0)
          Sets a new value for the attribute userString0.
 void setUserString1(String userString1)
          Sets a new value for the attribute userString1.
 void setUserString2(String userString2)
          Sets a new value for the attribute userString2.
 void setUserString3(String userString3)
          Sets a new value for the attribute userString3.
 void setUserString4(String... userString4)
           This method is equivalent to
<T extends org.openmdx.base.cci2.Void>
T
updateIndex()
           
<T extends UpdateInventoryResult>
T
updateInventory()
           
 
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
 

Field Detail

CLASS

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


BASE_CLASS

public static final List<String> BASE_CLASS
Define this class as base class

See Also:
SalesOrder.CLASS
Constructor Detail

SalesOrder

public SalesOrder()
Method Detail

openmdxjdoGetObjectId

protected String openmdxjdoGetObjectId()
Retrieve the object's JDO identity key

Specified by:
openmdxjdoGetObjectId in class org.oasisopen.jdo2.Identifiable
Returns:
the value of the object's JDO identity key

openmdxjdoGetSlices

protected final <E extends org.w3c.jdo2.AbstractObject.Slice> SortedMap<Integer,E> openmdxjdoGetSlices()
Overrides:
openmdxjdoGetSlices in class org.w3c.jdo2.AbstractObject

getAccessLevelDelete

public short getAccessLevelDelete()
Retrieves the value for the attribute accessLevelDelete.

Specified by:
getAccessLevelDelete in interface SecureObject
Returns:
The non-null value for attribute accessLevelDelete.

setAccessLevelDelete

public void setAccessLevelDelete(short accessLevelDelete)
Sets a new value for the attribute accessLevelDelete.

Specified by:
setAccessLevelDelete in interface SecureObject
Parameters:
accessLevelDelete - The non-null new value for attribute accessLevelDelete.

getModifiedBy

public final Set<String> getModifiedBy()
Specified by:
getModifiedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

getPricingRule

public PricingRule getPricingRule()
Retrieves the value for the reference pricingRule.

Specified by:
getPricingRule in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setPricingRule

public void setPricingRule(PricingRule pricingRule)
Sets a new value for the reference pricingRule.

Specified by:
setPricingRule in interface AbstractContract
Parameters:
pricingRule - The non-null new value for this reference.

getPropertySetEntry

public <T extends PropertySetEntry> Collection<T> getPropertySetEntry()
Retrieves a set containing all the elements for the reference propertySetEntry.

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

getCustomer

public Account getCustomer()
Retrieves the value for the reference customer.

Specified by:
getCustomer in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setCustomer

public void setCustomer(Account customer)
Sets a new value for the reference customer.

Specified by:
setCustomer in interface AbstractContract
Parameters:
customer - The non-null new value for this reference.

getAccessLevelBrowse

public short getAccessLevelBrowse()
Retrieves the value for the attribute accessLevelBrowse.

Specified by:
getAccessLevelBrowse in interface SecureObject
Returns:
The non-null value for attribute accessLevelBrowse.

setAccessLevelBrowse

public void setAccessLevelBrowse(short accessLevelBrowse)
Sets a new value for the attribute accessLevelBrowse.

Specified by:
setAccessLevelBrowse in interface SecureObject
Parameters:
accessLevelBrowse - The non-null new value for attribute accessLevelBrowse.

updateInventory

public <T extends UpdateInventoryResult> T updateInventory()
                                                throws RefException
Specified by:
updateInventory in interface AbstractContract
Throws:
RefException

removeAllOwningGroup

public <T extends ModifySecureObjectResult> T removeAllOwningGroup(short mode)
                                                        throws RefException
Specified by:
removeAllOwningGroup in interface SecureObject
Throws:
RefException

addSubscription

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

isUserBoolean0

public final Boolean isUserBoolean0()
Specified by:
isUserBoolean0 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean0.

setUserBoolean0

public void setUserBoolean0(Boolean userBoolean0)
Sets a new value for the attribute userBoolean0.

Specified by:
setUserBoolean0 in interface CrxObject
Parameters:
userBoolean0 - The possibly null new value for attribute userBoolean0.

getUserDateTime4

public final List<Date> getUserDateTime4()
Specified by:
getUserDateTime4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDateTime4

public void setUserDateTime4(Date... userDateTime4)

This method is equivalent to

   list.clear();
   for(java.util.Date e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserDateTime4 in interface CrxObject
Parameters:
userDateTime4 - value(s) to be added to userDateTime4

getCarrier

public Account getCarrier()
Retrieves the value for the reference carrier.

Specified by:
getCarrier in interface ShippingDetail
Returns:
The non-null value for this reference.

setCarrier

public void setCarrier(Account carrier)
Sets a new value for the reference carrier.

Specified by:
setCarrier in interface ShippingDetail
Parameters:
carrier - The non-null new value for this reference.

getUserDateTime2

public final Date getUserDateTime2()
Specified by:
getUserDateTime2 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime2.

setUserDateTime2

public void setUserDateTime2(Date userDateTime2)
Sets a new value for the attribute userDateTime2.

Specified by:
setUserDateTime2 in interface CrxObject
Parameters:
userDateTime2 - The possibly null new value for attribute userDateTime2.

getUserDateTime3

public final Date getUserDateTime3()
Specified by:
getUserDateTime3 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime3.

setUserDateTime3

public void setUserDateTime3(Date userDateTime3)
Sets a new value for the attribute userDateTime3.

Specified by:
setUserDateTime3 in interface CrxObject
Parameters:
userDateTime3 - The possibly null new value for attribute userDateTime3.

getUserBoolean4

public final List<Boolean> getUserBoolean4()
Specified by:
getUserBoolean4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserBoolean4

public void setUserBoolean4(boolean... userBoolean4)

This method is equivalent to

   list.clear();
   for(boolean e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserBoolean4 in interface CrxObject
Parameters:
userBoolean4 - value(s) to be added to userBoolean4

getUserDateTime0

public final Date getUserDateTime0()
Specified by:
getUserDateTime0 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime0.

setUserDateTime0

public void setUserDateTime0(Date userDateTime0)
Sets a new value for the attribute userDateTime0.

Specified by:
setUserDateTime0 in interface CrxObject
Parameters:
userDateTime0 - The possibly null new value for attribute userDateTime0.

setOwningUser

public <T extends ModifySecureObjectResult> T setOwningUser(short mode,
                                                            User user)
                                                 throws RefException
Specified by:
setOwningUser in interface SecureObject
Throws:
RefException

getTotalTaxAmount

public BigDecimal getTotalTaxAmount()
Retrieves the value for the attribute totalTaxAmount.

Specified by:
getTotalTaxAmount in interface AbstractContract
Returns:
The non-null value for attribute totalTaxAmount.

isUserBoolean3

public final Boolean isUserBoolean3()
Specified by:
isUserBoolean3 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean3.

setUserBoolean3

public void setUserBoolean3(Boolean userBoolean3)
Sets a new value for the attribute userBoolean3.

Specified by:
setUserBoolean3 in interface CrxObject
Parameters:
userBoolean3 - The possibly null new value for attribute userBoolean3.

getUserDateTime1

public final Date getUserDateTime1()
Specified by:
getUserDateTime1 in interface CrxObject
Returns:
The possibly null value for attribute userDateTime1.

setUserDateTime1

public void setUserDateTime1(Date userDateTime1)
Sets a new value for the attribute userDateTime1.

Specified by:
setUserDateTime1 in interface CrxObject
Parameters:
userDateTime1 - The possibly null new value for attribute userDateTime1.

isUserBoolean2

public final Boolean isUserBoolean2()
Specified by:
isUserBoolean2 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean2.

setUserBoolean2

public void setUserBoolean2(Boolean userBoolean2)
Sets a new value for the attribute userBoolean2.

Specified by:
setUserBoolean2 in interface CrxObject
Parameters:
userBoolean2 - The possibly null new value for attribute userBoolean2.

getSupplier

public Account getSupplier()
Retrieves the value for the reference supplier.

Specified by:
getSupplier in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setSupplier

public void setSupplier(Account supplier)
Sets a new value for the reference supplier.

Specified by:
setSupplier in interface AbstractContract
Parameters:
supplier - The non-null new value for this reference.

getContractNumber

public final String getContractNumber()
Specified by:
getContractNumber in interface AbstractContract
Returns:
The possibly null value for attribute contractNumber.

setContractNumber

public void setContractNumber(String contractNumber)
Sets a new value for the attribute contractNumber.

Specified by:
setContractNumber in interface AbstractContract
Parameters:
contractNumber - The possibly null new value for attribute contractNumber.

isUserBoolean1

public final Boolean isUserBoolean1()
Specified by:
isUserBoolean1 in interface CrxObject
Returns:
The possibly null value for attribute userBoolean1.

setUserBoolean1

public void setUserBoolean1(Boolean userBoolean1)
Sets a new value for the attribute userBoolean1.

Specified by:
setUserBoolean1 in interface CrxObject
Parameters:
userBoolean1 - The possibly null new value for attribute userBoolean1.

getOwningGroup

public <T extends PrincipalGroup> List<T> getOwningGroup()
Retrieves the Collection of objects referenced by owningGroup.

Specified by:
getOwningGroup in interface SecureObject
Returns:
The Collection of referenced objects.

getUserDate0

public final javax.xml.datatype.XMLGregorianCalendar getUserDate0()
Specified by:
getUserDate0 in interface CrxObject
Returns:
The possibly null value for attribute userDate0.

setUserDate0

public void setUserDate0(javax.xml.datatype.XMLGregorianCalendar userDate0)
Sets a new value for the attribute userDate0.

Specified by:
setUserDate0 in interface CrxObject
Parameters:
userDate0 - The possibly null new value for attribute userDate0.

addOwningGroup

public <T extends ModifySecureObjectResult> T addOwningGroup(PrincipalGroup group,
                                                             short mode)
                                                  throws RefException
Specified by:
addOwningGroup in interface SecureObject
Throws:
RefException

clone_

public <T extends CloneResult> T clone_(String referenceFilter)
                             throws RefException
Specified by:
clone_ in interface Cloneable
Throws:
RefException

getUserDate3

public final javax.xml.datatype.XMLGregorianCalendar getUserDate3()
Specified by:
getUserDate3 in interface CrxObject
Returns:
The possibly null value for attribute userDate3.

setUserDate3

public void setUserDate3(javax.xml.datatype.XMLGregorianCalendar userDate3)
Sets a new value for the attribute userDate3.

Specified by:
setUserDate3 in interface CrxObject
Parameters:
userDate3 - The possibly null new value for attribute userDate3.

getUserDate4

public final List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
Specified by:
getUserDate4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDate4

public void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)

This method is equivalent to

   list.clear();
   for(javax.xml.datatype.XMLGregorianCalendar e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserDate4 in interface CrxObject
Parameters:
userDate4 - value(s) to be added to userDate4

getUserDate1

public final javax.xml.datatype.XMLGregorianCalendar getUserDate1()
Specified by:
getUserDate1 in interface CrxObject
Returns:
The possibly null value for attribute userDate1.

setUserDate1

public void setUserDate1(javax.xml.datatype.XMLGregorianCalendar userDate1)
Sets a new value for the attribute userDate1.

Specified by:
setUserDate1 in interface CrxObject
Parameters:
userDate1 - The possibly null new value for attribute userDate1.

getRemovedPosition

public <T extends AbstractRemovedPosition> Collection<T> getRemovedPosition()
Retrieves a set containing all the elements for the reference removedPosition.

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

getUserDate2

public final javax.xml.datatype.XMLGregorianCalendar getUserDate2()
Specified by:
getUserDate2 in interface CrxObject
Returns:
The possibly null value for attribute userDate2.

setUserDate2

public void setUserDate2(javax.xml.datatype.XMLGregorianCalendar userDate2)
Sets a new value for the attribute userDate2.

Specified by:
setUserDate2 in interface CrxObject
Parameters:
userDate2 - The possibly null new value for attribute userDate2.

isGift

public boolean isGift()
Retrieves the value for the attribute isGift.

Specified by:
isGift in interface ShippingDetail
Returns:
The non-null value for attribute isGift.

setGift

public void setGift(boolean isGift)
Sets a new value for the attribute isGift.

Specified by:
setGift in interface ShippingDetail
Parameters:
isGift - The non-null new value for attribute isGift.

getCategory

public final List<String> getCategory()
Specified by:
getCategory in interface CrxObject
Returns:
A list containing all elements for this attribute.

setCategory

public void setCategory(String... category)

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setCategory in interface CrxObject
Parameters:
category - value(s) to be added to category

getCreatedBy

public final Set<String> getCreatedBy()
Specified by:
getCreatedBy in interface org.openmdx.base.cci2.BasicObject
Returns:
A set containing all elements for this attribute.

getCalcRule

public CalculationRule getCalcRule()
Retrieves the value for the reference calcRule.

Specified by:
getCalcRule in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setCalcRule

public void setCalcRule(CalculationRule calcRule)
Sets a new value for the reference calcRule.

Specified by:
setCalcRule in interface AbstractContract
Parameters:
calcRule - The non-null new value for this reference.

setAccessLevel

public <T extends ModifySecureObjectResult> T setAccessLevel(short accessLevelBrowse,
                                                             short accessLevelDelete,
                                                             short accessLevelUpdate,
                                                             short mode)
                                                  throws RefException
Specified by:
setAccessLevel in interface SecureObject
Throws:
RefException

getDepotReference

public <T extends DepotReference> Collection<T> getDepotReference()
Retrieves a set containing all the elements for the reference depotReference.

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

getIndexEntry

public <T extends IndexEntry> Collection<T> getIndexEntry()
Retrieves a set containing all the elements for the reference indexEntry.

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

getTotalAmountIncludingTax

public BigDecimal getTotalAmountIncludingTax()
Retrieves the value for the attribute totalAmountIncludingTax.

Specified by:
getTotalAmountIncludingTax in interface AbstractContract
Returns:
The non-null value for attribute totalAmountIncludingTax.

getShippingTrackingNumber

public final String getShippingTrackingNumber()
Specified by:
getShippingTrackingNumber in interface ShippingDetail
Returns:
The possibly null value for attribute shippingTrackingNumber.

setShippingTrackingNumber

public void setShippingTrackingNumber(String shippingTrackingNumber)
Sets a new value for the attribute shippingTrackingNumber.

Specified by:
setShippingTrackingNumber in interface ShippingDetail
Parameters:
shippingTrackingNumber - The possibly null new value for attribute shippingTrackingNumber.

getView

public <T extends org.openmdx.compatibility.view1.cci2.View> Collection<T> getView()
Retrieves a set containing all the elements for the reference view.

Specified by:
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
Returns:
A set containing all the elements for this reference.

getOwningUser

public User getOwningUser()
Retrieves the value for the reference owningUser.

Specified by:
getOwningUser in interface SecureObject
Returns:
The – possibly null – value for this reference.

setOwningUser

public void setOwningUser(User owningUser)
Sets a new value for the reference owningUser.

Specified by:
setOwningUser in interface SecureObject
Parameters:
owningUser - The non-null new value for this reference.

getExternalLink

public final List<URI> getExternalLink()
Specified by:
getExternalLink in interface CrxObject
Returns:
A list containing all elements for this attribute.

setExternalLink

public void setExternalLink(URI... externalLink)

This method is equivalent to

   list.clear();
   for(java.net.URI e : attributeName){
     list.add(e);
   }
 

Specified by:
setExternalLink in interface CrxObject
Parameters:
externalLink - value(s) to be added to externalLink

getPosition

public <T extends AbstractSalesOrderPosition> Collection<T> getPosition()
Retrieves a set containing all the elements for the reference position.

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

createInvoice

public <T extends SalesOrderCreateInvoiceResult> T createInvoice()
                                                      throws RefException
Specified by:
createInvoice in interface SalesOrder
Throws:
RefException

getDisabledReason

public final String getDisabledReason()
Specified by:
getDisabledReason in interface CrxObject
Returns:
The possibly null value for attribute disabledReason.

setDisabledReason

public void setDisabledReason(String disabledReason)
Sets a new value for the attribute disabledReason.

Specified by:
setDisabledReason in interface CrxObject
Parameters:
disabledReason - The possibly null new value for attribute disabledReason.

assignToMe

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

getContact

public <T extends Contact> List<T> getContact()
Retrieves the Collection of objects referenced by contact.

Specified by:
getContact in interface AbstractContract
Returns:
The Collection of referenced objects.

getPricingDate

public final Date getPricingDate()
Specified by:
getPricingDate in interface AbstractContract
Returns:
The possibly null value for attribute pricingDate.

setPricingDate

public void setPricingDate(Date pricingDate)
Sets a new value for the attribute pricingDate.

Specified by:
setPricingDate in interface AbstractContract
Parameters:
pricingDate - The possibly null new value for attribute pricingDate.

getSubmitStatusDescription

public final String getSubmitStatusDescription()
Specified by:
getSubmitStatusDescription in interface SalesOrder
Returns:
The possibly null value for attribute submitStatusDescription.

setSubmitStatusDescription

public void setSubmitStatusDescription(String submitStatusDescription)
Sets a new value for the attribute submitStatusDescription.

Specified by:
setSubmitStatusDescription in interface SalesOrder
Parameters:
submitStatusDescription - The possibly null new value for attribute submitStatusDescription.

getIdentity

public XRI getIdentity()
Retrieves the value for the derived attribute identity.

Specified by:
getIdentity in interface org.openmdx.base.cci2.ExtentCapable
Returns:
The non-null value for the attribute identity

getExpiresOn

public final Date getExpiresOn()
Specified by:
getExpiresOn in interface AbstractContract
Returns:
The possibly null value for attribute expiresOn.

setExpiresOn

public void setExpiresOn(Date expiresOn)
Sets a new value for the attribute expiresOn.

Specified by:
setExpiresOn in interface AbstractContract
Parameters:
expiresOn - The possibly null new value for attribute expiresOn.

getCreatedAt

public Date getCreatedAt()
Retrieves the value for the attribute createdAt.

Specified by:
getCreatedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute createdAt.

getTotalAmount

public BigDecimal getTotalAmount()
Retrieves the value for the attribute totalAmount.

Specified by:
getTotalAmount in interface AbstractContract
Returns:
The non-null value for attribute totalAmount.

getContractCurrency

public short getContractCurrency()
Retrieves the value for the attribute contractCurrency.

Specified by:
getContractCurrency in interface AbstractContract
Returns:
The non-null value for attribute contractCurrency.

setContractCurrency

public void setContractCurrency(short contractCurrency)
Sets a new value for the attribute contractCurrency.

Specified by:
setContractCurrency in interface AbstractContract
Parameters:
contractCurrency - The non-null new value for attribute contractCurrency.

getNote

public <T extends Note> Collection<T> getNote()
Retrieves a set containing all the elements for the reference note.

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

removeSubscription

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

getGiftMessage

public final String getGiftMessage()
Specified by:
getGiftMessage in interface ShippingDetail
Returns:
The possibly null value for attribute giftMessage.

setGiftMessage

public void setGiftMessage(String giftMessage)
Sets a new value for the attribute giftMessage.

Specified by:
setGiftMessage in interface ShippingDetail
Parameters:
giftMessage - The possibly null new value for attribute giftMessage.

getTotalDiscountAmount

public BigDecimal getTotalDiscountAmount()
Retrieves the value for the attribute totalDiscountAmount.

Specified by:
getTotalDiscountAmount in interface AbstractContract
Returns:
The non-null value for attribute totalDiscountAmount.

getPositionModification

public <T extends PositionModification> Collection<T> getPositionModification()
Retrieves a set containing all the elements for the reference positionModification.

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

updateIndex

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

isTemplate

public final Boolean isTemplate()
Specified by:
isTemplate in interface TemplateEnabled
Returns:
The possibly null value for attribute isTemplate.

setTemplate

public void setTemplate(Boolean isTemplate)
Sets a new value for the attribute isTemplate.

Specified by:
setTemplate in interface TemplateEnabled
Parameters:
isTemplate - The possibly null new value for attribute isTemplate.

getCompetitor

public <T extends Competitor> List<T> getCompetitor()
Retrieves the Collection of objects referenced by competitor.

Specified by:
getCompetitor in interface AbstractContract
Returns:
The Collection of referenced objects.

getBroker

public Account getBroker()
Retrieves the value for the reference broker.

Specified by:
getBroker in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setBroker

public void setBroker(Account broker)
Sets a new value for the reference broker.

Specified by:
setBroker in interface AbstractContract
Parameters:
broker - The non-null new value for this reference.

getPricingState

public short getPricingState()
Retrieves the value for the attribute pricingState.

Specified by:
getPricingState in interface AbstractContract
Returns:
The non-null value for attribute pricingState.

removePendingInventoryBookings

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

getReplacement

public <T extends TemplateReplacement> Collection<T> getReplacement()
Retrieves a set containing all the elements for the reference replacement.

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

exportXml

public <T extends ExportResult> T exportXml(String attributeFilter,
                                            String referenceFilter)
                                 throws RefException
Specified by:
exportXml in interface XmlExporter
Throws:
RefException

getUserString4

public final List<String> getUserString4()
Specified by:
getUserString4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserString4

public void setUserString4(String... userString4)

This method is equivalent to

   list.clear();
   for(java.lang.String e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserString4 in interface CrxObject
Parameters:
userString4 - value(s) to be added to userString4

getClosedOn

public final Date getClosedOn()
Specified by:
getClosedOn in interface AbstractContract
Returns:
The possibly null value for attribute closedOn.

setClosedOn

public void setClosedOn(Date closedOn)
Sets a new value for the attribute closedOn.

Specified by:
setClosedOn in interface AbstractContract
Parameters:
closedOn - The possibly null new value for attribute closedOn.

getInvoice

public <T extends Invoice> List<T> getInvoice()
Retrieves the Collection of objects referenced by invoice.

Specified by:
getInvoice in interface SalesOrder
Returns:
The Collection of referenced objects.

getUserString0

public final String getUserString0()
Specified by:
getUserString0 in interface CrxObject
Returns:
The possibly null value for attribute userString0.

setUserString0

public void setUserString0(String userString0)
Sets a new value for the attribute userString0.

Specified by:
setUserString0 in interface CrxObject
Parameters:
userString0 - The possibly null new value for attribute userString0.

getUserString1

public final String getUserString1()
Specified by:
getUserString1 in interface CrxObject
Returns:
The possibly null value for attribute userString1.

setUserString1

public void setUserString1(String userString1)
Sets a new value for the attribute userString1.

Specified by:
setUserString1 in interface CrxObject
Parameters:
userString1 - The possibly null new value for attribute userString1.

getUserString2

public final String getUserString2()
Specified by:
getUserString2 in interface CrxObject
Returns:
The possibly null value for attribute userString2.

setUserString2

public void setUserString2(String userString2)
Sets a new value for the attribute userString2.

Specified by:
setUserString2 in interface CrxObject
Parameters:
userString2 - The possibly null new value for attribute userString2.

getUserString3

public final String getUserString3()
Specified by:
getUserString3 in interface CrxObject
Returns:
The possibly null value for attribute userString3.

setUserString3

public void setUserString3(String userString3)
Sets a new value for the attribute userString3.

Specified by:
setUserString3 in interface CrxObject
Parameters:
userString3 - The possibly null new value for attribute userString3.

addSubscriptionForParent

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

createObject

public <T extends TemplateCreateObjectResult> T createObject(String name)
                                                  throws RefException
Specified by:
createObject in interface TemplateEnabled
Throws:
RefException

getAdditionalExternalLink

public <T extends AdditionalExternalLink> Collection<T> getAdditionalExternalLink()
Retrieves a set containing all the elements for the reference additionalExternalLink.

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

getPriority

public short getPriority()
Retrieves the value for the attribute priority.

Specified by:
getPriority in interface AbstractContract
Returns:
The non-null value for attribute priority.

setPriority

public void setPriority(short priority)
Sets a new value for the attribute priority.

Specified by:
setPriority in interface AbstractContract
Parameters:
priority - The non-null new value for attribute priority.

getDescription

public final String getDescription()
Specified by:
getDescription in interface AbstractContract
Returns:
The possibly null value for attribute description.

setDescription

public void setDescription(String description)
Sets a new value for the attribute description.

Specified by:
setDescription in interface AbstractContract
Parameters:
description - The possibly null new value for attribute description.

getDeliveryRequest

public <T extends DeliveryRequest> Collection<T> getDeliveryRequest()
Retrieves a set containing all the elements for the reference deliveryRequest.

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

getTemplateReferenceFilter

public String getTemplateReferenceFilter()
Retrieves the value for the attribute templateReferenceFilter.

Specified by:
getTemplateReferenceFilter in interface TemplateEnabled
Returns:
The non-null value for attribute templateReferenceFilter.

setTemplateReferenceFilter

public void setTemplateReferenceFilter(String templateReferenceFilter)
Sets a new value for the attribute templateReferenceFilter.

Specified by:
setTemplateReferenceFilter in interface TemplateEnabled
Parameters:
templateReferenceFilter - The non-null new value for attribute templateReferenceFilter.

getInventoryCb

public <T extends CompoundBooking> List<T> getInventoryCb()
Retrieves the Collection of objects referenced by inventoryCb.

Specified by:
getInventoryCb in interface AbstractContract
Returns:
The Collection of referenced objects.

getTotalSalesCommission

public BigDecimal getTotalSalesCommission()
Retrieves the value for the attribute totalSalesCommission.

Specified by:
getTotalSalesCommission in interface AbstractContract
Returns:
The non-null value for attribute totalSalesCommission.

getSubmitDate

public final Date getSubmitDate()
Specified by:
getSubmitDate in interface SalesOrder
Returns:
The possibly null value for attribute submitDate.

setSubmitDate

public void setSubmitDate(Date submitDate)
Sets a new value for the attribute submitDate.

Specified by:
setSubmitDate in interface SalesOrder
Parameters:
submitDate - The possibly null new value for attribute submitDate.

getContractState

public short getContractState()
Retrieves the value for the attribute contractState.

Specified by:
getContractState in interface AbstractContract
Returns:
The non-null value for attribute contractState.

setContractState

public void setContractState(short contractState)
Sets a new value for the attribute contractState.

Specified by:
setContractState in interface AbstractContract
Parameters:
contractState - The non-null new value for attribute contractState.

removeOwningGroup

public <T extends ModifySecureObjectResult> T removeOwningGroup(PrincipalGroup group,
                                                                short mode)
                                                     throws RefException
Specified by:
removeOwningGroup in interface SecureObject
Throws:
RefException

importItem

public <T extends ImportResult> T importItem(byte[] item,
                                             String itemMimeType,
                                             String itemName,
                                             short locale)
                                  throws RefException
Specified by:
importItem in interface Importer
Throws:
RefException

getUserNumber4

public final List<BigDecimal> getUserNumber4()
Specified by:
getUserNumber4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserNumber4

public void setUserNumber4(BigDecimal... userNumber4)

This method is equivalent to

   list.clear();
   for(java.math.BigDecimal e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserNumber4 in interface CrxObject
Parameters:
userNumber4 - value(s) to be added to userNumber4

deleteObject

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

getSalesRep

public Account getSalesRep()
Retrieves the value for the reference salesRep.

Specified by:
getSalesRep in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setSalesRep

public void setSalesRep(Account salesRep)
Sets a new value for the reference salesRep.

Specified by:
setSalesRep in interface AbstractContract
Parameters:
salesRep - The non-null new value for this reference.

getFreightTerms

public short getFreightTerms()
Retrieves the value for the attribute freightTerms.

Specified by:
getFreightTerms in interface SalesOrder
Returns:
The non-null value for attribute freightTerms.

setFreightTerms

public void setFreightTerms(short freightTerms)
Sets a new value for the attribute freightTerms.

Specified by:
setFreightTerms in interface SalesOrder
Parameters:
freightTerms - The non-null new value for attribute freightTerms.

getAccessGrantedByParent

public org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
Retrieves the value for the reference accessGrantedByParent.

Specified by:
getAccessGrantedByParent in interface SecureObject
Returns:
The – possibly null – value for this reference.

getOwner

public final List<String> getOwner()
Specified by:
getOwner in interface SecureObject
Returns:
A list containing all elements for this attribute.

applyReplacements

public <T extends TemplateApplyReplacementsResult> T applyReplacements()
                                                            throws RefException
Specified by:
applyReplacements in interface TemplateEnabled
Throws:
RefException

markAsClosed

public <T extends org.openmdx.base.cci2.Void> T markAsClosed(short salesOrderState)
                                                  throws RefException
Specified by:
markAsClosed in interface SalesOrder
Throws:
RefException

getCancelOn

public final Date getCancelOn()
Specified by:
getCancelOn in interface AbstractContract
Returns:
The possibly null value for attribute cancelOn.

setCancelOn

public void setCancelOn(Date cancelOn)
Sets a new value for the attribute cancelOn.

Specified by:
setCancelOn in interface AbstractContract
Parameters:
cancelOn - The possibly null new value for attribute cancelOn.

getMedia

public <T extends Media> Collection<T> getMedia()
Retrieves a set containing all the elements for the reference media.

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

getModifiedAt

public Date getModifiedAt()
Retrieves the value for the attribute modifiedAt.

Specified by:
getModifiedAt in interface org.openmdx.base.cci2.BasicObject
Returns:
The non-null value for attribute modifiedAt.

getActiveOn

public final Date getActiveOn()
Specified by:
getActiveOn in interface AbstractContract
Returns:
The possibly null value for attribute activeOn.

setActiveOn

public void setActiveOn(Date activeOn)
Sets a new value for the attribute activeOn.

Specified by:
setActiveOn in interface AbstractContract
Parameters:
activeOn - The possibly null new value for attribute activeOn.

getSubmitStatus

public final Short getSubmitStatus()
Specified by:
getSubmitStatus in interface SalesOrder
Returns:
The possibly null value for attribute submitStatus.

setSubmitStatus

public void setSubmitStatus(Short submitStatus)
Sets a new value for the attribute submitStatus.

Specified by:
setSubmitStatus in interface SalesOrder
Parameters:
submitStatus - The possibly null new value for attribute submitStatus.

getPropertySet

public <T extends PropertySet> Collection<T> getPropertySet()
Retrieves a set containing all the elements for the reference propertySet.

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

getUserNumber2

public final BigDecimal getUserNumber2()
Specified by:
getUserNumber2 in interface CrxObject
Returns:
The possibly null value for attribute userNumber2.

setUserNumber2

public void setUserNumber2(BigDecimal userNumber2)
Sets a new value for the attribute userNumber2.

Specified by:
setUserNumber2 in interface CrxObject
Parameters:
userNumber2 - The possibly null new value for attribute userNumber2.

getUserNumber3

public final BigDecimal getUserNumber3()
Specified by:
getUserNumber3 in interface CrxObject
Returns:
The possibly null value for attribute userNumber3.

setUserNumber3

public void setUserNumber3(BigDecimal userNumber3)
Sets a new value for the attribute userNumber3.

Specified by:
setUserNumber3 in interface CrxObject
Parameters:
userNumber3 - The possibly null new value for attribute userNumber3.

getUserNumber0

public final BigDecimal getUserNumber0()
Specified by:
getUserNumber0 in interface CrxObject
Returns:
The possibly null value for attribute userNumber0.

setUserNumber0

public void setUserNumber0(BigDecimal userNumber0)
Sets a new value for the attribute userNumber0.

Specified by:
setUserNumber0 in interface CrxObject
Parameters:
userNumber0 - The possibly null new value for attribute userNumber0.

getName

public String getName()
Retrieves the value for the attribute name.

Specified by:
getName in interface AbstractContract
Returns:
The non-null value for attribute name.

setName

public void setName(String name)
Sets a new value for the attribute name.

Specified by:
setName in interface AbstractContract
Parameters:
name - The non-null new value for attribute name.

getUserNumber1

public final BigDecimal getUserNumber1()
Specified by:
getUserNumber1 in interface CrxObject
Returns:
The possibly null value for attribute userNumber1.

setUserNumber1

public void setUserNumber1(BigDecimal userNumber1)
Sets a new value for the attribute userNumber1.

Specified by:
setUserNumber1 in interface CrxObject
Parameters:
userNumber1 - The possibly null new value for attribute userNumber1.

getContractLanguage

public short getContractLanguage()
Retrieves the value for the attribute contractLanguage.

Specified by:
getContractLanguage in interface AbstractContract
Returns:
The non-null value for attribute contractLanguage.

setContractLanguage

public void setContractLanguage(short contractLanguage)
Sets a new value for the attribute contractLanguage.

Specified by:
setContractLanguage in interface AbstractContract
Parameters:
contractLanguage - The non-null new value for attribute contractLanguage.

createProductOfferingPosition

public <T extends CreateProductOfferingPositionResult> T createProductOfferingPosition(ProductOffering offering,
                                                                                       BigDecimal quantity)
                                                                            throws RefException
Specified by:
createProductOfferingPosition in interface AbstractContract
Throws:
RefException

getActivity

public <T extends Activity> List<T> getActivity()
Retrieves the Collection of objects referenced by activity.

Specified by:
getActivity in interface AbstractContract
Returns:
The Collection of referenced objects.

removeSubscriptionForParent

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

getOrigin

public AbstractContract getOrigin()
Retrieves the value for the reference origin.

Specified by:
getOrigin in interface AbstractContract
Returns:
The – possibly null – value for this reference.

setOrigin

public void setOrigin(AbstractContract origin)
Sets a new value for the reference origin.

Specified by:
setOrigin in interface AbstractContract
Parameters:
origin - The non-null new value for this reference.

getAudit

public <T extends AuditEntry> Collection<T> getAudit()
Retrieves a set containing all the elements for the reference audit.

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

getShippingMethod

public short getShippingMethod()
Retrieves the value for the attribute shippingMethod.

Specified by:
getShippingMethod in interface ShippingDetail
Returns:
The non-null value for attribute shippingMethod.

setShippingMethod

public void setShippingMethod(short shippingMethod)
Sets a new value for the attribute shippingMethod.

Specified by:
setShippingMethod in interface ShippingDetail
Parameters:
shippingMethod - The non-null new value for attribute shippingMethod.

getShippingInstructions

public final String getShippingInstructions()
Specified by:
getShippingInstructions in interface ShippingDetail
Returns:
The possibly null value for attribute shippingInstructions.

setShippingInstructions

public void setShippingInstructions(String shippingInstructions)
Sets a new value for the attribute shippingInstructions.

Specified by:
setShippingInstructions in interface ShippingDetail
Parameters:
shippingInstructions - The possibly null new value for attribute shippingInstructions.

getAttachedDocument

public <T extends DocumentAttachment> Collection<T> getAttachedDocument()
Retrieves a set containing all the elements for the reference attachedDocument.

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

getTotalBaseAmount

public BigDecimal getTotalBaseAmount()
Retrieves the value for the attribute totalBaseAmount.

Specified by:
getTotalBaseAmount in interface AbstractContract
Returns:
The non-null value for attribute totalBaseAmount.

getAccessLevelUpdate

public short getAccessLevelUpdate()
Retrieves the value for the attribute accessLevelUpdate.

Specified by:
getAccessLevelUpdate in interface SecureObject
Returns:
The non-null value for attribute accessLevelUpdate.

setAccessLevelUpdate

public void setAccessLevelUpdate(short accessLevelUpdate)
Sets a new value for the attribute accessLevelUpdate.

Specified by:
setAccessLevelUpdate in interface SecureObject
Parameters:
accessLevelUpdate - The non-null new value for attribute accessLevelUpdate.

createPosition

public <T extends CreatePositionResult> T createPosition(String name,
                                                         Uom priceUom,
                                                         Date pricingDate,
                                                         PricingRule pricingRule,
                                                         Product product,
                                                         BigDecimal quantity,
                                                         Uom uom)
                                              throws RefException
Specified by:
createPosition in interface AbstractContract
Throws:
RefException

getAddress

public <T extends ContractAddress> Collection<T> getAddress()
Retrieves a set containing all the elements for the reference address.

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

reprice

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

getUserCode4

public final List<Short> getUserCode4()
Specified by:
getUserCode4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserCode4

public void setUserCode4(short... userCode4)

This method is equivalent to

   list.clear();
   for(short e : attributeName){
     list.add(e);
   }
 

Specified by:
setUserCode4 in interface CrxObject
Parameters:
userCode4 - value(s) to be added to userCode4

getRating

public <T extends Rating> Collection<T> getRating()
Retrieves a set containing all the elements for the reference rating.

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

getPaymentTerms

public short getPaymentTerms()
Retrieves the value for the attribute paymentTerms.

Specified by:
getPaymentTerms in interface AbstractContract
Returns:
The non-null value for attribute paymentTerms.

setPaymentTerms

public void setPaymentTerms(short paymentTerms)
Sets a new value for the attribute paymentTerms.

Specified by:
setPaymentTerms in interface AbstractContract
Parameters:
paymentTerms - The non-null new value for attribute paymentTerms.

getUserCode1

public final Short getUserCode1()
Specified by:
getUserCode1 in interface CrxObject
Returns:
The possibly null value for attribute userCode1.

setUserCode1

public void setUserCode1(Short userCode1)
Sets a new value for the attribute userCode1.

Specified by:
setUserCode1 in interface CrxObject
Parameters:
userCode1 - The possibly null new value for attribute userCode1.

getUserCode0

public final Short getUserCode0()
Specified by:
getUserCode0 in interface CrxObject
Returns:
The possibly null value for attribute userCode0.

setUserCode0

public void setUserCode0(Short userCode0)
Sets a new value for the attribute userCode0.

Specified by:
setUserCode0 in interface CrxObject
Parameters:
userCode0 - The possibly null new value for attribute userCode0.

getUserCode3

public final Short getUserCode3()
Specified by:
getUserCode3 in interface CrxObject
Returns:
The possibly null value for attribute userCode3.

setUserCode3

public void setUserCode3(Short userCode3)
Sets a new value for the attribute userCode3.

Specified by:
setUserCode3 in interface CrxObject
Parameters:
userCode3 - The possibly null new value for attribute userCode3.

isDisabled

public boolean isDisabled()
Retrieves the value for the attribute disabled.

Specified by:
isDisabled in interface CrxObject
Returns:
The non-null value for attribute disabled.

setDisabled

public void setDisabled(boolean disabled)
Sets a new value for the attribute disabled.

Specified by:
setDisabled in interface CrxObject
Parameters:
disabled - The non-null new value for attribute disabled.

sendAlert

public <T extends org.openmdx.base.cci2.Void> T sendAlert(String description,
                                                          short importance,
                                                          String name,
                                                          org.openmdx.base.cci2.BasicObject reference,
                                                          String toUsers)
                                               throws RefException
Specified by:
sendAlert in interface AlertSender
Throws:
RefException

getUserCode2

public final Short getUserCode2()
Specified by:
getUserCode2 in interface CrxObject
Returns:
The possibly null value for attribute userCode2.

setUserCode2

public void setUserCode2(Short userCode2)
Sets a new value for the attribute userCode2.

Specified by:
setUserCode2 in interface CrxObject
Parameters:
userCode2 - The possibly null new value for attribute userCode2.

openmdxjdoGetSize

protected int openmdxjdoGetSize(int field)
Overrides:
openmdxjdoGetSize in class org.w3c.jdo2.AbstractObject

openmdxjdoSetSize

protected void openmdxjdoSetSize(int field,
                                 int size)
Overrides:
openmdxjdoSetSize in class org.w3c.jdo2.AbstractObject

newSlice

protected org.w3c.jdo2.AbstractObject.Slice newSlice(int index)

openmdxjdoGetClass

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

Returns:
the model class
See Also:
SalesOrder.CLASS

setSegment

public void setSegment(Segment segment)
Sets a new value for the reference segment.

Specified by:
setSegment in interface SalesOrder
Parameters:
segment - The non-null new value for this reference.

openmdxjdoGetObjectsByParent

public static CloseableCollection<SalesOrder> openmdxjdoGetObjectsByParent(Segment segment)
Navigate through an object's composite association


setSegment

public void setSegment(Segment segment,
                       boolean idIsPersistent,
                       String id)
Set the object's composite association org:opencrx:kernel:contract1:SegmentContainsSalesOrder.

Specified by:
setSegment in interface SalesOrder
Parameters:
segment - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.

newIdentity

public static SalesOrder.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                              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.