org.opencrx.kernel.contract1.jdo2
Class Quote

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.contract1.jdo2.Quote
All Implemented Interfaces:
Serializable, AlertSender, Assignable, Auditee, Cloneable, Importer, Indexed, SecureObject, SubscriptionTarget, TemplateEnabled, XmlExporter, AbstractContract, AddressContainer, DeliveryRequestContainer, Quote, 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 Quote
extends org.w3c.jdo2.AbstractObject
implements Quote

Class Quote

See Also:
Serialized Form

Nested Class Summary
static class Quote.Identity
          The object's application identity
static class Quote.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::Quote
 
Constructor Summary
Quote()
           
 
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 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 QuoteCreateSalesOrderResult>
T
createSalesOrder()
           
<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()
           
 Short getCloseProbability()
           
<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 getEstimatedCloseDate()
           
 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 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 AbstractQuotePosition>
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.
<T extends SalesOrder>
List<T>
getSalesOrder()
          Retrieves the Collection of objects referenced by salesOrder.
 Account getSalesRep()
          Retrieves the value for the reference salesRep.
 String getShippingInstructions()
           
 short getShippingMethod()
          Retrieves the value for the attribute shippingMethod.
 String getShippingTrackingNumber()
           
 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 quoteState)
           
static Quote.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<Quote> 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 setCloseProbability(Short closeProbability)
          Sets a new value for the attribute closeProbability.
 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 setEstimatedCloseDate(Date estimatedCloseDate)
          Sets a new value for the attribute estimatedCloseDate.
 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:SegmentContainsQuote.
 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 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(