org.opencrx.kernel.contract1.jmi1
Interface AbstractOpportunityPosition

All Superinterfaces:
AbstractOpportunityPosition, AddressContainer, AlertSender, Auditee, org.openmdx.base.cci2.BasicObject, BookingOrigin, Cloneable, org.openmdx.base.cci2.ContextCapable, ContractPosition, CrxObject, DeliveryRequestContainer, DepotReferenceHolder, org.openmdx.base.cci2.ExtentCapable, Importer, Indexed, RefBaseObject, RefFeatured, RefObject, SecureObject, ShippingDetail, SubscriptionTarget, org.openmdx.compatibility.view1.cci2.ViewCapable, XmlExporter
All Known Subinterfaces:
OpportunityBundledProductPosition, OpportunityComplexProductBundlePosition, OpportunityPosition, OpportunityProductBundlePosition, OpportunityProductOfferingPosition

public interface AbstractOpportunityPosition
extends AbstractOpportunityPosition, ContractPosition, CrxObject

Abstract class AbstractOpportunityPosition


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.opencrx.kernel.contract1.cci2.AbstractOpportunityPosition
AbstractOpportunityPosition.Identity
 
Method Summary
 void addAdditionalExternalLink(AdditionalExternalLink newValue)
          
 void addAdditionalExternalLink(String id, AdditionalExternalLink newValue)
          
 void addAddress(ContractAddress newValue)
          
 void addAddress(String id, ContractAddress newValue)
          
 void addAttachedDocument(DocumentAttachment newValue)
          
 void addAttachedDocument(String id, DocumentAttachment newValue)
          
 void addContact(Contact newValue)
          
 void addContact(int importance, Contact newValue)
          
 void addDeliveryInformation(DeliveryInformation newValue)
          
 void addDeliveryInformation(String id, DeliveryInformation newValue)
          
 void addDeliveryRequest(DeliveryRequest newValue)
          
 void addDeliveryRequest(String id, DeliveryRequest newValue)
          
 void addDepotReference(DepotReference newValue)
          
 void addDepotReference(String id, DepotReference newValue)
          
 void addMedia(Media newValue)
          
 void addMedia(String id, Media newValue)
          
 void addNote(Note newValue)
          
 void addNote(String id, Note newValue)
          
 void addOwningGroup(int index, PrincipalGroup newValue)
          
 void addOwningGroup(PrincipalGroup newValue)
          
 void addProductApplication(ProductApplication newValue)
          
 void addProductApplication(String id, ProductApplication newValue)
          
 void addPropertySet(PropertySet newValue)
          
 void addPropertySet(String id, PropertySet newValue)
          
 void addRating(Rating newValue)
          
 void addRating(String id, Rating newValue)
          
 org.openmdx.base.cci2.BasicObject getAccessGrantedByParent()
          Retrieves the value for the reference accessGrantedByParent.
<T extends AdditionalExternalLink>
List<T>
getAdditionalExternalLink(AdditionalExternalLinkQuery query)
          Retrieves the value for the reference additionalExternalLink for the specified query.
<T extends ContractAddress>
List<T>
getAddress(ContractAddressQuery query)
          Retrieves the value for the reference address for the specified query.
<T extends DocumentAttachment>
List<T>
getAttachedDocument(DocumentAttachmentQuery query)
          Retrieves the value for the reference attachedDocument for the specified query.
<T extends AuditEntry>
List<T>
getAudit(AuditEntryQuery query)
          Retrieves the value for the reference audit for the specified query.
 CalculationRule getCalcRule()
          Retrieves the value for the reference calcRule.
 Account getCarrier()
          Retrieves the value for the reference carrier.
<T extends DeliveryInformation>
List<T>
getDeliveryInformation(DeliveryInformationQuery query)
          Retrieves the value for the reference deliveryInformation for the specified query.
<T extends DeliveryRequest>
List<T>
getDeliveryRequest(DeliveryRequestQuery query)
          Retrieves the value for the reference deliveryRequest for the specified query.
<T extends DepotReference>
List<T>
getDepotReference(DepotReferenceQuery query)
          Retrieves the value for the reference depotReference for the specified query.
<T extends IndexEntry>
List<T>
getIndexEntry(IndexEntryQuery query)
          Retrieves the value for the reference indexEntry for the specified query.
 ProductBasePrice getListPrice()
          Retrieves the value for the reference listPrice.
<T extends Media>
List<T>
getMedia(MediaQuery query)
          Retrieves the value for the reference media for the specified query.
<T extends Note>
List<T>
getNote(NoteQuery query)
          Retrieves the value for the reference note for the specified query.
 User getOwningUser()
          Retrieves the value for the reference owningUser.
<T extends PositionModification>
List<T>
getPositionModification(PositionModificationQuery query)
          Retrieves the value for the reference positionModification for the specified query.
 PriceLevel getPriceLevel()
          Retrieves the value for the reference priceLevel.
 Uom getPriceUom()
          Retrieves the value for the reference priceUom.
 PricingRule getPricingRule()
          Retrieves the value for the reference pricingRule.
<T extends ProductApplication>
List<T>
getProductApplication(ProductApplicationQuery query)
          Retrieves the value for the reference productApplication for the specified query.
<T extends PropertySet>
List<T>
getPropertySet(PropertySetQuery query)
          Retrieves the value for the reference propertySet for the specified query.
<T extends PropertySetEntry>
List<T>
getPropertySetEntry(PropertySetEntryQuery query)
          Retrieves the value for the reference propertySetEntry for the specified query.
<T extends Rating>
List<T>
getRating(RatingQuery query)
          Retrieves the value for the reference rating for the specified query.
 SalesTaxType getSalesTaxType()
          Retrieves the value for the reference salesTaxType.
 Uom getUom()
          Retrieves the value for the reference uom.
<T extends org.openmdx.compatibility.view1.cci2.View>
List<T>
getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
          Retrieves the value for the reference view for the specified query.
 void removeAdditionalExternalLink(String id)
          
 void removeAddress(String id)
          
 void removeAttachedDocument(String id)
          
 void removeCalcRule()
          Removes the value for the optional reference calcRule.
 void removeContact(int importance)
          
 void removeDeliveryInformation(String id)
          
 void removeDeliveryRequest(String id)
          
 void removeDepotReference(String id)
          
 void removeListPrice()
          Removes the value for the optional reference listPrice.
 void removeMedia(String id)
          
 void removeNote(String id)
          
 void removeOwningGroup(int index)
          
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 void removePriceLevel()
          Removes the value for the optional reference priceLevel.
 void removePriceUom()
          Removes the value for the optional reference priceUom.
 void removePricingRule()
          Removes the value for the optional reference pricingRule.
 void removeProductApplication(String id)
          
 void removePropertySet(String id)
          
 void removeRating(String id)
          
 void removeUom()
          Removes the value for the optional reference uom.
 void setCalcRule(CalculationRule calcRule)
          Sets a new value for the reference calcRule.
 void setCarrier(Account carrier)
          Sets a new value for the reference carrier.
 void setListPrice(ProductBasePrice listPrice)
          Sets a new value for the reference listPrice.
 void setOpportunity(Opportunity opportunity)
          Sets a new value for the reference opportunity.
 void setOpportunity(Opportunity opportunity, boolean idIsPersistent, String id)
          Set the object's composite association org:opencrx:kernel:contract1:OpportunityHasOpportunityPosition.
 void setOwningUser(User owningUser)
          Sets a new value for the reference owningUser.
 void setPriceLevel(PriceLevel priceLevel)
          Sets a new value for the reference priceLevel.
 void setPriceUom(Uom priceUom)
          Sets a new value for the reference priceUom.
 void setPricingRule(PricingRule pricingRule)
          Sets a new value for the reference pricingRule.
 void setSalesTaxType(SalesTaxType salesTaxType)
          Sets a new value for the reference salesTaxType.
 void setUom(Uom uom)
          Sets a new value for the reference uom.
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AbstractOpportunityPosition
getCloseProbability, getEstimatedCloseDate, setCloseProbability, setEstimatedCloseDate
 
Methods inherited from interface org.opencrx.kernel.contract1.jmi1.ContractPosition
reprice
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ContractPosition
getAmount, getBaseAmount, getContact, getContractPositionState, getDeliveryInformation, getDescription, getDiscount, getDiscountAmount, getDiscountDescription, getLineItemNumber, getMaxQuantity, getMinMaxQuantityHandling, getMinQuantity, getName, getOffsetQuantity, getPositionModification, getPositionNumber, getPricePerUnit, getPriceUomDescription, getPriceUomDetailedDescription, getPricingDate, getPricingState, getProductApplication, getProductDescription, getProductDetailedDescription, getQuantity, getQuantityBackOrdered, getQuantityShipped, getSalesCommission, getSalesTaxTypeDescription, getSalesTaxTypeDetailedDescription, getTaxAmount, getUomDescription, getUomDetailedDescription, isDiscountIsPercentage, isSalesCommissionIsPercentage, reprice, setContractPositionState, setDescription, setDiscount, setDiscountDescription, setDiscountIsPercentage, setMaxQuantity, setMinMaxQuantityHandling, setMinQuantity, setName, setOffsetQuantity, setPositionNumber, setPricePerUnit, setPricingDate, setPricingState, setQuantity, setSalesCommission, setSalesCommissionIsPercentage
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.AddressContainer
getAddress
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.DeliveryRequestContainer
getDeliveryRequest
 
Methods inherited from interface org.opencrx.kernel.contract1.cci2.ShippingDetail
getGiftMessage, getShippingInstructions, getShippingMethod, getShippingTrackingNumber, isGift, setGift, setGiftMessage, setShippingInstructions, setShippingMethod, setShippingTrackingNumber
 
Methods inherited from interface org.opencrx.kernel.depot1.cci2.DepotReferenceHolder
getDepotReference
 
Methods inherited from interface org.opencrx.kernel.generic.jmi1.CrxObject
getCategory, getExternalLink, getUserBoolean4, getUserCode4, getUserDate4, getUserDateTime4, getUserNumber4, getUserString4, setCategory, setExternalLink, setUserBoolean4, setUserCode4, setUserDate4, setUserDateTime4, setUserNumber4, setUserString4
 
Methods inherited from interface org.opencrx.kernel.generic.cci2.CrxObject
getAdditionalExternalLink, getAttachedDocument, getCategory, getDisabledReason, getExternalLink, getMedia, getNote, getPropertySet, getPropertySetEntry, getRating, getUserBoolean4, getUserCode0, getUserCode1, getUserCode2, getUserCode3, getUserCode4, getUserDate0, getUserDate1, getUserDate2, getUserDate3, getUserDate4, getUserDateTime0, getUserDateTime1, getUserDateTime2, getUserDateTime3, getUserDateTime4, getUserNumber0, getUserNumber1, getUserNumber2, getUserNumber3, getUserNumber4, getUserString0, getUserString1, getUserString2, getUserString3, getUserString4, isDisabled, isUserBoolean0, isUserBoolean1, isUserBoolean2, isUserBoolean3, setCategory, setDisabled, setDisabledReason, setExternalLink, setUserBoolean0, setUserBoolean1, setUserBoolean2, setUserBoolean3, setUserBoolean4, setUserCode0, setUserCode1, setUserCode2, setUserCode3, setUserCode4, setUserDate0, setUserDate1, setUserDate2, setUserDate3, setUserDate4, setUserDateTime0, setUserDateTime1, setUserDateTime2, setUserDateTime3, setUserDateTime4, setUserNumber0, setUserNumber1, setUserNumber2, setUserNumber3, setUserNumber4, setUserString0, setUserString1, setUserString2, setUserString3, setUserString4
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.AlertSender
sendAlert
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Auditee
getAudit
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Cloneable
clone_
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Importer
importItem
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.Indexed
updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.cci2.Indexed
getIndexEntry, updateIndex
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SecureObject
addOwningGroup, getOwner, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SecureObject
addOwningGroup, getAccessLevelBrowse, getAccessLevelDelete, getAccessLevelUpdate, getOwner, getOwningGroup, removeAllOwningGroup, removeOwningGroup, setAccessLevel, setAccessLevelBrowse, setAccessLevelDelete, setAccessLevelUpdate, setOwningUser
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.cci2.SubscriptionTarget
addSubscription, addSubscriptionForParent, removeSubscription, removeSubscriptionForParent
 
Methods inherited from interface org.opencrx.kernel.base.jmi1.XmlExporter
exportXml
 
Methods inherited from interface org.opencrx.kernel.base.cci2.XmlExporter
exportXml
 
Methods inherited from interface org.openmdx.base.jmi1.BasicObject
getCreatedBy, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getModifiedAt
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 
Methods inherited from interface javax.jmi.reflect.RefObject
refClass, refDelete, refImmediateComposite, refIsInstanceOf, refOutermostComposite
 
Methods inherited from interface javax.jmi.reflect.RefFeatured
refGetValue, refGetValue, refInvokeOperation, refInvokeOperation, refSetValue, refSetValue
 
Methods inherited from interface javax.jmi.reflect.RefBaseObject
equals, hashCode, refImmediatePackage, refMetaObject, refMofId, refOutermostPackage, refVerifyConstraints
 

Method Detail

getAudit

<T extends AuditEntry> List<T> getAudit(AuditEntryQuery query)
Retrieves the value for the reference audit for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getIndexEntry

<T extends IndexEntry> List<T> getIndexEntry(IndexEntryQuery query)
Retrieves the value for the reference indexEntry for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getAccessGrantedByParent

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.

addOwningGroup

void addOwningGroup(int index,
                    PrincipalGroup newValue)

Parameters:
index - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addOwningGroup

void addOwningGroup(PrincipalGroup newValue)

Parameters:
newValue - The element to be appended.

removeOwningGroup

void removeOwningGroup(int index)


getOwningUser

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

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

setOwningUser

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.

removeOwningUser

void removeOwningUser()
Removes the value for the optional reference owningUser.


getAddress

<T extends ContractAddress> List<T> getAddress(ContractAddressQuery query)
Retrieves the value for the reference address for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addAddress

void addAddress(String id,
                ContractAddress newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addAddress

void addAddress(ContractAddress newValue)

Parameters:
newValue - The element to be appended.

removeAddress

void removeAddress(String id)


getCalcRule

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

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

setCalcRule

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

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

removeCalcRule

void removeCalcRule()
Removes the value for the optional reference calcRule.


addContact

void addContact(int importance,
                Contact newValue)

Parameters:
importance - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addContact

void addContact(Contact newValue)

Parameters:
newValue - The element to be appended.

removeContact

void removeContact(int importance)


getDeliveryInformation

<T extends DeliveryInformation> List<T> getDeliveryInformation(DeliveryInformationQuery query)
Retrieves the value for the reference deliveryInformation for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDeliveryInformation

void addDeliveryInformation(String id,
                            DeliveryInformation newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDeliveryInformation

void addDeliveryInformation(DeliveryInformation newValue)

Parameters:
newValue - The element to be appended.

removeDeliveryInformation

void removeDeliveryInformation(String id)


getListPrice

ProductBasePrice getListPrice()
Retrieves the value for the reference listPrice.

Specified by:
getListPrice in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setListPrice

void setListPrice(ProductBasePrice listPrice)
Sets a new value for the reference listPrice.

Specified by:
setListPrice in interface ContractPosition
Parameters:
listPrice - The non-null new value for this reference.

removeListPrice

void removeListPrice()
Removes the value for the optional reference listPrice.


getPositionModification

<T extends PositionModification> List<T> getPositionModification(PositionModificationQuery query)
Retrieves the value for the reference positionModification for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getPriceLevel

PriceLevel getPriceLevel()
Retrieves the value for the reference priceLevel.

Specified by:
getPriceLevel in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setPriceLevel

void setPriceLevel(PriceLevel priceLevel)
Sets a new value for the reference priceLevel.

Specified by:
setPriceLevel in interface ContractPosition
Parameters:
priceLevel - The non-null new value for this reference.

removePriceLevel

void removePriceLevel()
Removes the value for the optional reference priceLevel.


getPriceUom

Uom getPriceUom()
Retrieves the value for the reference priceUom.

Specified by:
getPriceUom in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setPriceUom

void setPriceUom(Uom priceUom)
Sets a new value for the reference priceUom.

Specified by:
setPriceUom in interface ContractPosition
Parameters:
priceUom - The non-null new value for this reference.

removePriceUom

void removePriceUom()
Removes the value for the optional reference priceUom.


getPricingRule

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

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

setPricingRule

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

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

removePricingRule

void removePricingRule()
Removes the value for the optional reference pricingRule.


getProductApplication

<T extends ProductApplication> List<T> getProductApplication(ProductApplicationQuery query)
Retrieves the value for the reference productApplication for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addProductApplication

void addProductApplication(String id,
                           ProductApplication newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addProductApplication

void addProductApplication(ProductApplication newValue)

Parameters:
newValue - The element to be appended.

removeProductApplication

void removeProductApplication(String id)


getSalesTaxType

SalesTaxType getSalesTaxType()
Retrieves the value for the reference salesTaxType.

Specified by:
getSalesTaxType in interface ContractPosition
Returns:
The non-null value for this reference.

setSalesTaxType

void setSalesTaxType(SalesTaxType salesTaxType)
Sets a new value for the reference salesTaxType.

Specified by:
setSalesTaxType in interface ContractPosition
Parameters:
salesTaxType - The non-null new value for this reference.

getUom

Uom getUom()
Retrieves the value for the reference uom.

Specified by:
getUom in interface ContractPosition
Returns:
The – possibly null – value for this reference.

setUom

void setUom(Uom uom)
Sets a new value for the reference uom.

Specified by:
setUom in interface ContractPosition
Parameters:
uom - The non-null new value for this reference.

removeUom

void removeUom()
Removes the value for the optional reference uom.


getDeliveryRequest

<T extends DeliveryRequest> List<T> getDeliveryRequest(DeliveryRequestQuery query)
Retrieves the value for the reference deliveryRequest for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDeliveryRequest

void addDeliveryRequest(String id,
                        DeliveryRequest newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDeliveryRequest

void addDeliveryRequest(DeliveryRequest newValue)

Parameters:
newValue - The element to be appended.

removeDeliveryRequest

void removeDeliveryRequest(String id)


getCarrier

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

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

setCarrier

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.

getDepotReference

<T extends DepotReference> List<T> getDepotReference(DepotReferenceQuery query)
Retrieves the value for the reference depotReference for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addDepotReference

void addDepotReference(String id,
                       DepotReference newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addDepotReference

void addDepotReference(DepotReference newValue)

Parameters:
newValue - The element to be appended.

removeDepotReference

void removeDepotReference(String id)


getAdditionalExternalLink

<T extends AdditionalExternalLink> List<T> getAdditionalExternalLink(AdditionalExternalLinkQuery query)
Retrieves the value for the reference additionalExternalLink for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addAdditionalExternalLink

void addAdditionalExternalLink(String id,
                               AdditionalExternalLink newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addAdditionalExternalLink

void addAdditionalExternalLink(AdditionalExternalLink newValue)

Parameters:
newValue - The element to be appended.

removeAdditionalExternalLink

void removeAdditionalExternalLink(String id)


getAttachedDocument

<T extends DocumentAttachment> List<T> getAttachedDocument(DocumentAttachmentQuery query)
Retrieves the value for the reference attachedDocument for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addAttachedDocument

void addAttachedDocument(String id,
                         DocumentAttachment newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addAttachedDocument

void addAttachedDocument(DocumentAttachment newValue)

Parameters:
newValue - The element to be appended.

removeAttachedDocument

void removeAttachedDocument(String id)


getMedia

<T extends Media> List<T> getMedia(MediaQuery query)
Retrieves the value for the reference media for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addMedia

void addMedia(String id,
              Media newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addMedia

void addMedia(Media newValue)

Parameters:
newValue - The element to be appended.

removeMedia

void removeMedia(String id)


getNote

<T extends Note> List<T> getNote(NoteQuery query)
Retrieves the value for the reference note for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addNote

void addNote(String id,
             Note newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addNote

void addNote(Note newValue)

Parameters:
newValue - The element to be appended.

removeNote

void removeNote(String id)


getPropertySet

<T extends PropertySet> List<T> getPropertySet(PropertySetQuery query)
Retrieves the value for the reference propertySet for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addPropertySet

void addPropertySet(String id,
                    PropertySet newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addPropertySet

void addPropertySet(PropertySet newValue)

Parameters:
newValue - The element to be appended.

removePropertySet

void removePropertySet(String id)


getPropertySetEntry

<T extends PropertySetEntry> List<T> getPropertySetEntry(PropertySetEntryQuery query)
Retrieves the value for the reference propertySetEntry for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

getRating

<T extends Rating> List<T> getRating(RatingQuery query)
Retrieves the value for the reference rating for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

addRating

void addRating(String id,
               Rating newValue)

Parameters:
id - The qualifier attribute value that qualifies the reference to get the element to be appended.
newValue - The element to be appended.

addRating

void addRating(Rating newValue)

Parameters:
newValue - The element to be appended.

removeRating

void removeRating(String id)


getView

<T extends org.openmdx.compatibility.view1.cci2.View> List<T> getView(org.openmdx.compatibility.view1.cci2.ViewQuery query)
Retrieves the value for the reference view for the specified query.

Parameters:
query - predicate which is applied to the set of referenced objects.
Returns:
The objects for which the predicate evaluates to true.

setOpportunity

void setOpportunity(Opportunity opportunity)
Sets a new value for the reference opportunity.

Specified by:
setOpportunity in interface AbstractOpportunityPosition
Parameters:
opportunity - The non-null new value for this reference.

setOpportunity

void setOpportunity(Opportunity opportunity,
                    boolean idIsPersistent,
                    String id)
Set the object's composite association org:opencrx:kernel:contract1:OpportunityHasOpportunityPosition.

Specified by:
setOpportunity in interface AbstractOpportunityPosition
Parameters:
opportunity - 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.


This software is published under the BSD license. Copyright © 2003-2007, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.