org.opencrx.kernel.contract1.jdo2
Class Opportunity

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

Class Opportunity

See Also:
Serialized Form

Nested Class Summary
static class Opportunity.Identity
          The object's application identity
static class Opportunity.Slice
          Slice object hold the Opportunity'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> BASE_CLASS
          Define this class as base class
static List<String> CLASS
          Define the model class org::opencrx::kernel::contract1::Opportunity
 
Constructor Summary
Opportunity()
           
 
Method Summary
 void addAdditionalExternalLink(boolean idIsPersistent, String id, AdditionalExternalLink additionalExternalLink)
          Adds the specified element to the set of the values for the reference additionalExternalLink.
 void addAddress(boolean idIsPersistent, String id, ContractAddress address)
          Adds the specified element to the set of the values for the reference address.
 void addAttachedDocument(boolean idIsPersistent, String id, DocumentAttachment attachedDocument)
          Adds the specified element to the set of the values for the reference attachedDocument.
 void addDeliveryRequest(boolean idIsPersistent, String id, DeliveryRequest deliveryRequest)
          Adds the specified element to the set of the values for the reference deliveryRequest.
 void addDepotReference(boolean idIsPersistent, String id, DepotReference depotReference)
          Adds the specified element to the set of the values for the reference depotReference.
 void addMedia(boolean idIsPersistent, String id, Media media)
          Adds the specified element to the set of the values for the reference media.
 void addNote(boolean idIsPersistent, String id, Note note)
          Adds the specified element to the set of the values for the reference note.
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
 void addPosition(boolean idIsPersistent, String id, AbstractOpportunityPosition position)
          Adds the specified element to the set of the values for the reference position.
 void addPropertySet(boolean idIsPersistent, String id, PropertySet propertySet)
          Adds the specified element to the set of the values for the reference propertySet.
 void addRating(boolean idIsPersistent, String id, Rating rating)
          Adds the specified element to the set of the values for the reference rating.
 void addToSegment(Segment segment)
          Sets a new value for the reference segment.
 void addToSegment(Segment segment, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:contract1:SegmentContainsOpportunity.
 org.openmdx.base.cci2.Void assignToMe()
           
 CheckPermissionsResult checkPermissions(String principalName)
           
 CloneResult clone_(String referenceFilter)
           
 CreatePositionResult createPosition(String name, Uom priceUom, Date pricingDate, PricingRule pricingRule, Product product, BigDecimal quantity, Uom uom)
           
 OpportunityCreateQuoteResult createQuote()
           
 ExportResult 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()
          Retrieves the possibly null value for the optional attribute activeOn.
<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.
 AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent, String id)
          Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.
<T extends ContractAddress>
Collection<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
 ContractAddress getAddress(boolean idIsPersistent, String id)
          Retrieves the value for the reference address for the specified qualifier attribute value.
<T extends DocumentAttachment>
Collection<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
 DocumentAttachment getAttachedDocument(boolean idIsPersistent, String id)
          Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.
<T extends AuditEntry>
Collection<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
 AuditEntry getAudit(boolean idIsPersistent, String id)
          Retrieves the value for the reference audit for the specified qualifier attribute value.
 Account getBroker()
          Retrieves the value for the reference broker.
 CalculationRule getCalcRule()
          Retrieves the value for the reference calcRule.
 Date getCancelOn()
          Retrieves the possibly null value for the optional attribute cancelOn.
 Account getCarrier()
          Retrieves the value for the reference carrier.
 List<String> getCategory()
          Retrieves a list containing all the elements for the attribute category.
 Date getClosedOn()
          Retrieves the possibly null value for the optional attribute closedOn.
 Short getCloseProbability()
          Retrieves the possibly null value for the optional attribute closeProbability.
<T extends Competitor>
List<T>
getCompetitor()
          Retrieves the Collection of objects referenced by competitor.
<T extends Account>
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()
          Retrieves the possibly null value for the optional attribute contractNumber.
 short getContractState()
          Retrieves the value for the attribute contractState.
 Date getCreatedAt()
          Retrieves the value for the attribute createdAt.
 Set<String> getCreatedBy()
          Retrieves a set containing all the elements for the attribute createdBy.
 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.
 DeliveryRequest getDeliveryRequest(boolean idIsPersistent, String id)
          Retrieves the value for the reference deliveryRequest for the specified qualifier attribute value.
<T extends DepotReference>
Collection<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 DepotReference getDepotReference(boolean idIsPersistent, String id)
          Retrieves the value for the reference depotReference for the specified qualifier attribute value.
 String getDescription()
          Retrieves the possibly null value for the optional attribute description.
 String getDisabledReason()
          Retrieves the possibly null value for the optional attribute disabledReason.
 Date getEstimatedCloseDate()
          Retrieves the possibly null value for the optional attribute estimatedCloseDate.
 BigDecimal getEstimatedValue()
          Retrieves the possibly null value for the optional attribute estimatedValue.
 Date getExpiresOn()
          Retrieves the possibly null value for the optional attribute expiresOn.
 List<String> getExternalLink()
          Retrieves a list containing all the elements for the attribute externalLink.
 String getGiftMessage()
          Retrieves the possibly null value for the optional attribute giftMessage.
 String getIdentity()
          Retrieves the value for the attribute identity.
<T extends IndexEntry>
Collection<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
 IndexEntry getIndexEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference indexEntry for the specified qualifier attribute value.
<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.
 Media getMedia(boolean idIsPersistent, String id)
          Retrieves the value for the reference media for the specified qualifier attribute value.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
          Retrieves a set containing all the elements for the attribute modifiedBy.
 String getName()
          Retrieves the value for the attribute name.
 String getNextStep()
          Retrieves the possibly null value for the optional attribute nextStep.
<T extends Note>
Collection<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
 Note getNote(boolean idIsPersistent, String id)
          Retrieves the value for the reference note for the specified qualifier attribute value.
 short getOpportunityRating()
          Retrieves the value for the attribute opportunityRating.
 short getOpportunitySource()
          Retrieves the value for the attribute opportunitySource.
 AbstractContract getOrigin()
          Retrieves the value for the reference origin.
 List<String> getOwner()
          Retrieves a list containing all the elements for the attribute owner.
<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 AbstractOpportunityPosition>
Collection<T>
getPosition()
          Retrieves a set containing all the elements for the reference position.
 AbstractOpportunityPosition getPosition(boolean idIsPersistent, String id)
          Retrieves the value for the reference position for the specified qualifier attribute value.
<T extends PositionModification>
Collection<T>
getPositionModification()
          Retrieves a set containing all the elements for the reference positionModification.
 PositionModification getPositionModification(boolean idIsPersistent, String id)
          Retrieves the value for the reference positionModification for the specified qualifier attribute value.
 Date getPricingDate()
          Retrieves the possibly null value for the optional attribute pricingDate.
 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.
 PropertySet getPropertySet(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySet for the specified qualifier attribute value.
<T extends PropertySetEntry>
Collection<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
 PropertySetEntry getPropertySetEntry(boolean idIsPersistent, String id)
          Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.
<T extends Quote>
List<T>
getQuote()
          Retrieves the Collection of objects referenced by quote.
<T extends Rating>
Collection<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
 Rating getRating(boolean idIsPersistent, String id)
          Retrieves the value for the reference rating for the specified qualifier attribute value.
<T extends AbstractRemovedPosition>
Collection<T>
getRemovedPosition()
          Retrieves a set containing all the elements for the reference removedPosition.
 AbstractRemovedPosition getRemovedPosition(boolean idIsPersistent, String id)
          Retrieves the value for the reference removedPosition for the specified qualifier attribute value.
 Account getSalesRep()
          Retrieves the value for the reference salesRep.
 String getShippingInstructions()
          Retrieves the possibly null value for the optional attribute shippingInstructions.
 short getShippingMethod()
          Retrieves the value for the attribute shippingMethod.
 String getShippingTrackingNumber()
          Retrieves the possibly null value for the optional attribute shippingTrackingNumber.
 Account getSupplier()
          Retrieves the value for the reference supplier.
 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()
          Retrieves a list containing all the elements for the attribute userBoolean4.
 Short getUserCode0()
          Retrieves the possibly null value for the optional attribute userCode0.
 Short getUserCode1()
          Retrieves the possibly null value for the optional attribute userCode1.
 Short getUserCode2()
          Retrieves the possibly null value for the optional attribute userCode2.
 Short getUserCode3()
          Retrieves the possibly null value for the optional attribute userCode3.
 List<Short> getUserCode4()
          Retrieves a list containing all the elements for the attribute userCode4.
 javax.xml.datatype.XMLGregorianCalendar getUserDate0()
          Retrieves the possibly null value for the optional attribute userDate0.
 javax.xml.datatype.XMLGregorianCalendar getUserDate1()
          Retrieves the possibly null value for the optional attribute userDate1.
 javax.xml.datatype.XMLGregorianCalendar getUserDate2()
          Retrieves the possibly null value for the optional attribute userDate2.
 javax.xml.datatype.XMLGregorianCalendar getUserDate3()
          Retrieves the possibly null value for the optional attribute userDate3.
 List<javax.xml.datatype.XMLGregorianCalendar> getUserDate4()
          Retrieves a list containing all the elements for the attribute userDate4.
 Date getUserDateTime0()
          Retrieves the possibly null value for the optional attribute userDateTime0.
 Date getUserDateTime1()
          Retrieves the possibly null value for the optional attribute userDateTime1.
 Date getUserDateTime2()
          Retrieves the possibly null value for the optional attribute userDateTime2.
 Date getUserDateTime3()
          Retrieves the possibly null value for the optional attribute userDateTime3.
 List<Date> getUserDateTime4()
          Retrieves a list containing all the elements for the attribute userDateTime4.
 BigDecimal getUserNumber0()
          Retrieves the possibly null value for the optional attribute userNumber0.
 BigDecimal getUserNumber1()
          Retrieves the possibly null value for the optional attribute userNumber1.
 BigDecimal getUserNumber2()
          Retrieves the possibly null value for the optional attribute userNumber2.
 BigDecimal getUserNumber3()
          Retrieves the possibly null value for the optional attribute userNumber3.
 List<BigDecimal> getUserNumber4()
          Retrieves a list containing all the elements for the attribute userNumber4.
 String getUserString0()
          Retrieves the possibly null value for the optional attribute userString0.
 String getUserString1()
          Retrieves the possibly null value for the optional attribute userString1.
 String getUserString2()
          Retrieves the possibly null value for the optional attribute userString2.
 String getUserString3()
          Retrieves the possibly null value for the optional attribute userString3.
 List<String> getUserString4()
          Retrieves a list containing all the elements for the attribute userString4.
<T extends org.openmdx.compatibility.view1.cci2.View>
Collection<T>
getView()
          Retrieves a set containing all the elements for the reference view.
 org.openmdx.compatibility.view1.cci2.View getView(boolean namespaceIsPersistent, String namespace)
          Retrieves the value for the reference view for the specified qualifier attribute value.
 ImportResult importItem(byte[] item, String itemMimeType, String itemName, short locale)
           
 Boolean isDisabled()
          Retrieves the possibly null value for the optional attribute disabled.
 boolean isGift()
          Retrieves the value for the attribute isGift.
 Boolean isUserBoolean0()
          Retrieves the possibly null value for the optional attribute userBoolean0.
 Boolean isUserBoolean1()
          Retrieves the possibly null value for the optional attribute userBoolean1.
 Boolean isUserBoolean2()
          Retrieves the possibly null value for the optional attribute userBoolean2.
 Boolean isUserBoolean3()
          Retrieves the possibly null value for the optional attribute userBoolean3.
 org.openmdx.base.cci2.Void markAsClosed(short opportunityState)
           
static Opportunity.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<Opportunity> 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)
           
static Opportunity.Identity openmdxjdoToIdentity(org.oasisopen.spi2.ObjectId objectId)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 org.openmdx.base.cci2.Void removePendingInventoryBookings()
           
 org.openmdx.base.cci2.Void reprice()
           
 org.openmdx.base.cci2.Void sendAlert(String description, short importance, String name, org.openmdx.base.cci2.BasicObject reference, Integer resendDelayInSeconds, String toUsers)
           
 ModifySecureObjectResult 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)
          Clears category and adds the given value(s).
 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 setEstimatedValue(BigDecimal estimatedValue)
          Sets a new value for the attribute estimatedValue.
 void setExpiresOn(Date expiresOn)
          Sets a new value for the attribute expiresOn.
 void setExternalLink(String... externalLink)
          Clears externalLink and adds the given value(s).
 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 setNextStep(String nextStep)
          Sets a new value for the attribute nextStep.
 void setOpportunityRating(short opportunityRating)
          Sets a new value for the attribute opportunityRating.
 void setOpportunitySource(short opportunitySource)
          Sets a new value for the attribute opportunitySource.
 void setOrigin(AbstractContract origin)
          Sets a new value for the reference origin.
 ModifySecureObjectResult 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 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 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)
          Clears userBoolean4 and adds the given value(s).
 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)
          Clears userCode4 and adds the given value(s).
 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)
          Clears userDate4 and adds the given value(s).
 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)
          Clears userDateTime4 and adds the given value(s).
 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)
          Clears userNumber4 and adds the given value(s).
 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)
          Clears userString4 and adds the given value(s).
 UpdateIndexResult updateIndex()
           
 UpdateInventoryResult 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
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::Opportunity


BASE_CLASS

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

See Also:
Opportunity.CLASS
Constructor Detail

Opportunity

public Opportunity()
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()
Retrieves a set containing all the elements for the attribute modifiedBy.

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.

getPropertySetEntry

public PropertySetEntry getPropertySetEntry(boolean idIsPersistent,
                                            String id)
Retrieves the value for the reference propertySetEntry for the specified qualifier attribute value.

Specified by:
getPropertySetEntry in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

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 UpdateInventoryResult updateInventory()
Specified by:
updateInventory in interface AbstractContract

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(short mode)
Specified by:
removeAllOwningGroup in interface SecureObject

isUserBoolean0

public final Boolean isUserBoolean0()
Retrieves the possibly null value for the optional attribute userBoolean0.

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()
Retrieves a list containing all the elements for the attribute userDateTime4.

Specified by:
getUserDateTime4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDateTime4

public void setUserDateTime4(Date... userDateTime4)
Clears userDateTime4 and adds the given value(s).

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()
Retrieves the possibly null value for the optional attribute userDateTime2.

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()
Retrieves the possibly null value for the optional attribute userDateTime3.

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()
Retrieves a list containing all the elements for the attribute userBoolean4.

Specified by:
getUserBoolean4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserBoolean4

public void setUserBoolean4(boolean... userBoolean4)
Clears userBoolean4 and adds the given value(s).

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()
Retrieves the possibly null value for the optional attribute userDateTime0.

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 ModifySecureObjectResult setOwningUser(short mode,
                                              User user)
Specified by:
setOwningUser in interface SecureObject

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()
Retrieves the possibly null value for the optional attribute userBoolean3.

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()
Retrieves the possibly null value for the optional attribute userDateTime1.

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()
Retrieves the possibly null value for the optional attribute userBoolean2.

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()
Retrieves the possibly null value for the optional attribute contractNumber.

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()
Retrieves the possibly null value for the optional attribute userBoolean1.

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()
Retrieves the possibly null value for the optional attribute userDate0.

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 ModifySecureObjectResult addOwningGroup(PrincipalGroup group,
                                               short mode)
Specified by:
addOwningGroup in interface SecureObject

clone_

public CloneResult clone_(String referenceFilter)
Specified by:
clone_ in interface Cloneable

getUserDate3

public final javax.xml.datatype.XMLGregorianCalendar getUserDate3()
Retrieves the possibly null value for the optional attribute userDate3.

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()
Retrieves a list containing all the elements for the attribute userDate4.

Specified by:
getUserDate4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserDate4

public void setUserDate4(javax.xml.datatype.XMLGregorianCalendar... userDate4)
Clears userDate4 and adds the given value(s).

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()
Retrieves the possibly null value for the optional attribute userDate1.

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.

getUserDate2

public final javax.xml.datatype.XMLGregorianCalendar getUserDate2()
Retrieves the possibly null value for the optional attribute userDate2.

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.

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.

getRemovedPosition

public AbstractRemovedPosition getRemovedPosition(boolean idIsPersistent,
                                                  String id)
Retrieves the value for the reference removedPosition for the specified qualifier attribute value.

Specified by:
getRemovedPosition in interface AbstractContract
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

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()
Retrieves a list containing all the elements for the attribute category.

Specified by:
getCategory in interface CrxObject
Returns:
A list containing all elements for this attribute.

setCategory

public void setCategory(String... category)
Clears category and adds the given value(s).

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()
Retrieves a set containing all the elements for the attribute createdBy.

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 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse,
                                               short accessLevelDelete,
                                               short accessLevelUpdate,
                                               short mode)
Specified by:
setAccessLevel in interface SecureObject

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.

getDepotReference

public DepotReference getDepotReference(boolean idIsPersistent,
                                        String id)
Retrieves the value for the reference depotReference for the specified qualifier attribute value.

Specified by:
getDepotReference in interface DepotReferenceHolder
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addDepotReference

public void addDepotReference(boolean idIsPersistent,
                              String id,
                              DepotReference depotReference)
Adds the specified element to the set of the values for the reference depotReference.

Note: This is an extension to the JMI 1 standard.

Specified by:
addDepotReference in interface DepotReferenceHolder
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
depotReference - The element to be appended.

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.

getIndexEntry

public IndexEntry getIndexEntry(boolean idIsPersistent,
                                String id)
Retrieves the value for the reference indexEntry for the specified qualifier attribute value.

Specified by:
getIndexEntry in interface Indexed
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

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()
Retrieves the possibly null value for the optional attribute shippingTrackingNumber.

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.

getView

public org.openmdx.compatibility.view1.cci2.View getView(boolean namespaceIsPersistent,
                                                         String namespace)
Retrieves the value for the reference view for the specified qualifier attribute value.

Specified by:
getView in interface org.openmdx.compatibility.view1.cci2.ViewCapable
Parameters:
namespaceIsPersistent - Defines whether value for the qualifier is persistent or not
namespace - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

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<String> getExternalLink()
Retrieves a list containing all the elements for the attribute externalLink.

Specified by:
getExternalLink in interface CrxObject
Returns:
A list containing all elements for this attribute.

setExternalLink

public void setExternalLink(String... externalLink)
Clears externalLink and adds the given value(s).

This method is equivalent to

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

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

getPosition

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

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

getPosition

public AbstractOpportunityPosition getPosition(boolean idIsPersistent,
                                               String id)
Retrieves the value for the reference position for the specified qualifier attribute value.

Specified by:
getPosition in interface Opportunity
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addPosition

public void addPosition(boolean idIsPersistent,
                        String id,
                        AbstractOpportunityPosition position)
Adds the specified element to the set of the values for the reference position.

Note: This is an extension to the JMI 1 standard.

Specified by:
addPosition in interface Opportunity
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
position - The element to be appended.

getDisabledReason

public final String getDisabledReason()
Retrieves the possibly null value for the optional attribute disabledReason.

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 org.openmdx.base.cci2.Void assignToMe()
Specified by:
assignToMe in interface Assignable

getContact

public <T extends Account> 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()
Retrieves the possibly null value for the optional attribute pricingDate.

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.

getIdentity

public String getIdentity()
Retrieves the value for the attribute identity.

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

getExpiresOn

public final Date getExpiresOn()
Retrieves the possibly null value for the optional attribute expiresOn.

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.

getNote

public Note getNote(boolean idIsPersistent,
                    String id)
Retrieves the value for the reference note for the specified qualifier attribute value.

Specified by:
getNote in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addNote

public void addNote(boolean idIsPersistent,
                    String id,
                    Note note)
Adds the specified element to the set of the values for the reference note.

Note: This is an extension to the JMI 1 standard.

Specified by:
addNote in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
note - The element to be appended.

getGiftMessage

public final String getGiftMessage()
Retrieves the possibly null value for the optional attribute giftMessage.

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.

getEstimatedCloseDate

public final Date getEstimatedCloseDate()
Retrieves the possibly null value for the optional attribute estimatedCloseDate.

Specified by:
getEstimatedCloseDate in interface Opportunity
Returns:
The possibly null value for attribute estimatedCloseDate.

setEstimatedCloseDate

public void setEstimatedCloseDate(Date estimatedCloseDate)
Sets a new value for the attribute estimatedCloseDate.

Specified by:
setEstimatedCloseDate in interface Opportunity
Parameters:
estimatedCloseDate - The possibly null new value for attribute estimatedCloseDate.

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.

getPositionModification

public PositionModification getPositionModification(boolean idIsPersistent,
                                                    String id)
Retrieves the value for the reference positionModification for the specified qualifier attribute value.

Specified by:
getPositionModification in interface AbstractContract
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

updateIndex

public UpdateIndexResult updateIndex()
Specified by:
updateIndex in interface Indexed

createQuote

public OpportunityCreateQuoteResult createQuote()
Specified by:
createQuote in interface Opportunity

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 org.openmdx.base.cci2.Void removePendingInventoryBookings()
Specified by:
removePendingInventoryBookings in interface AbstractContract

getEstimatedValue

public final BigDecimal getEstimatedValue()
Retrieves the possibly null value for the optional attribute estimatedValue.

Specified by:
getEstimatedValue in interface Opportunity
Returns:
The possibly null value for attribute estimatedValue.

setEstimatedValue

public void setEstimatedValue(BigDecimal estimatedValue)
Sets a new value for the attribute estimatedValue.

Specified by:
setEstimatedValue in interface Opportunity
Parameters:
estimatedValue - The possibly null new value for attribute estimatedValue.

exportXml

public ExportResult exportXml(String attributeFilter,
                              String referenceFilter)
Specified by:
exportXml in interface XmlExporter

getUserString4

public final List<String> getUserString4()
Retrieves a list containing all the elements for the attribute userString4.

Specified by:
getUserString4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserString4

public void setUserString4(String... userString4)
Clears userString4 and adds the given value(s).

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()
Retrieves the possibly null value for the optional attribute closedOn.

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.

getUserString0

public final String getUserString0()
Retrieves the possibly null value for the optional attribute userString0.

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()
Retrieves the possibly null value for the optional attribute userString1.

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()
Retrieves the possibly null value for the optional attribute userString2.

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()
Retrieves the possibly null value for the optional attribute userString3.

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.

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.

getAdditionalExternalLink

public AdditionalExternalLink getAdditionalExternalLink(boolean idIsPersistent,
                                                        String id)
Retrieves the value for the reference additionalExternalLink for the specified qualifier attribute value.

Specified by:
getAdditionalExternalLink in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAdditionalExternalLink

public void addAdditionalExternalLink(boolean idIsPersistent,
                                      String id,
                                      AdditionalExternalLink additionalExternalLink)
Adds the specified element to the set of the values for the reference additionalExternalLink.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAdditionalExternalLink in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
additionalExternalLink - The element to be appended.

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()
Retrieves the possibly null value for the optional attribute description.

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.

getDeliveryRequest

public DeliveryRequest getDeliveryRequest(boolean idIsPersistent,
                                          String id)
Retrieves the value for the reference deliveryRequest for the specified qualifier attribute value.

Specified by:
getDeliveryRequest in interface DeliveryRequestContainer
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addDeliveryRequest

public void addDeliveryRequest(boolean idIsPersistent,
                               String id,
                               DeliveryRequest deliveryRequest)
Adds the specified element to the set of the values for the reference deliveryRequest.

Note: This is an extension to the JMI 1 standard.

Specified by:
addDeliveryRequest in interface DeliveryRequestContainer
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
deliveryRequest - The element to be appended.

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.

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 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group,
                                                  short mode)
Specified by:
removeOwningGroup in interface SecureObject

importItem

public ImportResult importItem(byte[] item,
                               String itemMimeType,
                               String itemName,
                               short locale)
Specified by:
importItem in interface Importer

getUserNumber4

public final List<BigDecimal> getUserNumber4()
Retrieves a list containing all the elements for the attribute userNumber4.

Specified by:
getUserNumber4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserNumber4

public void setUserNumber4(BigDecimal... userNumber4)
Clears userNumber4 and adds the given value(s).

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

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.

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()
Retrieves a list containing all the elements for the attribute owner.

Specified by:
getOwner in interface SecureObject
Returns:
A list containing all elements for this attribute.

markAsClosed

public org.openmdx.base.cci2.Void markAsClosed(short opportunityState)
Specified by:
markAsClosed in interface Opportunity

getNextStep

public final String getNextStep()
Retrieves the possibly null value for the optional attribute nextStep.

Specified by:
getNextStep in interface Opportunity
Returns:
The possibly null value for attribute nextStep.

setNextStep

public void setNextStep(String nextStep)
Sets a new value for the attribute nextStep.

Specified by:
setNextStep in interface Opportunity
Parameters:
nextStep - The possibly null new value for attribute nextStep.

getCancelOn

public final Date getCancelOn()
Retrieves the possibly null value for the optional attribute cancelOn.

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.

getMedia

public Media getMedia(boolean idIsPersistent,
                      String id)
Retrieves the value for the reference media for the specified qualifier attribute value.

Specified by:
getMedia in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addMedia

public void addMedia(boolean idIsPersistent,
                     String id,
                     Media media)
Adds the specified element to the set of the values for the reference media.

Note: This is an extension to the JMI 1 standard.

Specified by:
addMedia in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
media - The element to be appended.

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()
Retrieves the possibly null value for the optional attribute activeOn.

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.

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.

getPropertySet

public PropertySet getPropertySet(boolean idIsPersistent,
                                  String id)
Retrieves the value for the reference propertySet for the specified qualifier attribute value.

Specified by:
getPropertySet in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addPropertySet

public void addPropertySet(boolean idIsPersistent,
                           String id,
                           PropertySet propertySet)
Adds the specified element to the set of the values for the reference propertySet.

Note: This is an extension to the JMI 1 standard.

Specified by:
addPropertySet in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
propertySet - The element to be appended.

getUserNumber2

public final BigDecimal getUserNumber2()
Retrieves the possibly null value for the optional attribute userNumber2.

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()
Retrieves the possibly null value for the optional attribute userNumber3.

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()
Retrieves the possibly null value for the optional attribute userNumber0.

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.

getQuote

public <T extends Quote> List<T> getQuote()
Retrieves the Collection of objects referenced by quote.

Specified by:
getQuote in interface Opportunity
Returns:
The Collection of referenced objects.

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()
Retrieves the possibly null value for the optional attribute userNumber1.

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.

getOpportunitySource

public short getOpportunitySource()
Retrieves the value for the attribute opportunitySource.

Specified by:
getOpportunitySource in interface Opportunity
Returns:
The non-null value for attribute opportunitySource.

setOpportunitySource

public void setOpportunitySource(short opportunitySource)
Sets a new value for the attribute opportunitySource.

Specified by:
setOpportunitySource in interface Opportunity
Parameters:
opportunitySource - The non-null new value for attribute opportunitySource.

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.

getOpportunityRating

public short getOpportunityRating()
Retrieves the value for the attribute opportunityRating.

Specified by:
getOpportunityRating in interface Opportunity
Returns:
The non-null value for attribute opportunityRating.

setOpportunityRating

public void setOpportunityRating(short opportunityRating)
Sets a new value for the attribute opportunityRating.

Specified by:
setOpportunityRating in interface Opportunity
Parameters:
opportunityRating - The non-null new value for attribute opportunityRating.

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.

checkPermissions

public CheckPermissionsResult checkPermissions(String principalName)
Specified by:
checkPermissions in interface SecureObject

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.

getAudit

public AuditEntry getAudit(boolean idIsPersistent,
                           String id)
Retrieves the value for the reference audit for the specified qualifier attribute value.

Specified by:
getAudit in interface Auditee
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

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()
Retrieves the possibly null value for the optional attribute shippingInstructions.

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.

getAttachedDocument

public DocumentAttachment getAttachedDocument(boolean idIsPersistent,
                                              String id)
Retrieves the value for the reference attachedDocument for the specified qualifier attribute value.

Specified by:
getAttachedDocument in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAttachedDocument

public void addAttachedDocument(boolean idIsPersistent,
                                String id,
                                DocumentAttachment attachedDocument)
Adds the specified element to the set of the values for the reference attachedDocument.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAttachedDocument in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
attachedDocument - The element to be appended.

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.

getCloseProbability

public final Short getCloseProbability()
Retrieves the possibly null value for the optional attribute closeProbability.

Specified by:
getCloseProbability in interface Opportunity
Returns:
The possibly null value for attribute closeProbability.

setCloseProbability

public void setCloseProbability(Short closeProbability)
Sets a new value for the attribute closeProbability.

Specified by:
setCloseProbability in interface Opportunity
Parameters:
closeProbability - The possibly null new value for attribute closeProbability.

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 CreatePositionResult createPosition(String name,
                                           Uom priceUom,
                                           Date pricingDate,
                                           PricingRule pricingRule,
                                           Product product,
                                           BigDecimal quantity,
                                           Uom uom)
Specified by:
createPosition in interface AbstractContract

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.

getAddress

public ContractAddress getAddress(boolean idIsPersistent,
                                  String id)
Retrieves the value for the reference address for the specified qualifier attribute value.

Specified by:
getAddress in interface AddressContainer
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addAddress

public void addAddress(boolean idIsPersistent,
                       String id,
                       ContractAddress address)
Adds the specified element to the set of the values for the reference address.

Note: This is an extension to the JMI 1 standard.

Specified by:
addAddress in interface AddressContainer
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
address - The element to be appended.

reprice

public org.openmdx.base.cci2.Void reprice()
Specified by:
reprice in interface AbstractContract

getUserCode4

public final List<Short> getUserCode4()
Retrieves a list containing all the elements for the attribute userCode4.

Specified by:
getUserCode4 in interface CrxObject
Returns:
A list containing all elements for this attribute.

setUserCode4

public void setUserCode4(short... userCode4)
Clears userCode4 and adds the given value(s).

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.

getRating

public Rating getRating(boolean idIsPersistent,
                        String id)
Retrieves the value for the reference rating for the specified qualifier attribute value.

Specified by:
getRating in interface CrxObject
Parameters:
idIsPersistent - Defines whether value for the qualifier is persistent or not
id - The value for the qualifier attribute that qualifies this reference.
Returns:
The possibly null value for this qualifier

addRating

public void addRating(boolean idIsPersistent,
                      String id,
                      Rating rating)
Adds the specified element to the set of the values for the reference rating.

Note: This is an extension to the JMI 1 standard.

Specified by:
addRating in interface CrxObject
Parameters:
idIsPersistent - true if id is persistent
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
rating - The element to be appended.

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()
Retrieves the possibly null value for the optional attribute userCode1.

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()
Retrieves the possibly null value for the optional attribute userCode0.

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()
Retrieves the possibly null value for the optional attribute userCode3.

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 final Boolean isDisabled()
Retrieves the possibly null value for the optional attribute disabled.

Specified by:
isDisabled in interface CrxObject
Returns:
The possibly 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 possibly null new value for attribute disabled.

sendAlert

public org.openmdx.base.cci2.Void sendAlert(String description,
                                            short importance,
                                            String name,
                                            org.openmdx.base.cci2.BasicObject reference,
                                            Integer resendDelayInSeconds,
                                            String toUsers)
Specified by:
sendAlert in interface AlertSender

getUserCode2

public final Short getUserCode2()
Retrieves the possibly null value for the optional attribute userCode2.

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:
Opportunity.CLASS

addToSegment

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

Parameters:
segment - The non-null new value for this reference.

openmdxjdoGetObjectsByParent

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


addToSegment

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

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 Opportunity.Identity newIdentity(org.openmdx.base.cci2.Segment.Identity segment,
                                               boolean idIsPersistent,
                                               String id)

openmdxjdoToIdentity

public static Opportunity.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.