org.opencrx.kernel.contract1.cci
Class AbstractContractImpl

java.lang.Object
  extended by org.openmdx.base.accessor.jmi.spi.RefObject_1
      extended by org.opencrx.kernel.contract1.cci.AbstractContractImpl
All Implemented Interfaces:
Serializable, PersistenceCapable, RefBaseObject, RefFeatured, RefObject, Assignable, SecureObject, TemplateEnabled, AbstractContract, AddressContainer, DeliveryRequestContainer, ShippingDetail, DepotReferenceHolder, RefObject_1_0

public class AbstractContractImpl
extends RefObject_1
implements AbstractContract

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.jdo.spi.PersistenceCapable
PersistenceCapable.ObjectIdFieldConsumer, PersistenceCapable.ObjectIdFieldManager, PersistenceCapable.ObjectIdFieldSupplier
 
Field Summary
 
Fields inherited from interface javax.jdo.spi.PersistenceCapable
CHECK_READ, CHECK_WRITE, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE
 
Constructor Summary
AbstractContractImpl(Object_1_0 object, RefClass refClass)
           
 
Method Summary
 void addActivity(Activity newValue)
           
 void addActivity(int index, Activity newValue)
           
 void addAddress(ContractAddress newValue)
           
 void addAddress(String id, ContractAddress newValue)
           
 void addCompetitor(Competitor newValue)
           
 void addCompetitor(int index, Competitor newValue)
           
 void addContact(Contact newValue)
           
 void addContact(int index, Contact newValue)
           
 void addDeliveryRequest(DeliveryRequest newValue)
           
 void addDeliveryRequest(String id, DeliveryRequest newValue)
           
 void addDepotReference(DepotReference newValue)
           
 void addDepotReference(String id, DepotReference newValue)
           
protected  void addInventoryCb(CompoundBooking newValue)
           
protected  void addInventoryCb(int index, CompoundBooking newValue)
           
 void addOwningGroup(int index, PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams params)
           
 void addOwningGroup(PrincipalGroup newValue)
           
 ModifySecureObjectResult addOwningGroup(PrincipalGroup group, short mode)
           
protected  void addPositionModification(PositionModification newValue)
           
protected  void addPositionModification(String id, PositionModification newValue)
           
protected  void addRemovedPosition(AbstractRemovedPosition newValue)
           
protected  void addRemovedPosition(String id, AbstractRemovedPosition newValue)
           
 void addReplacement(String id, TemplateReplacement newValue)
           
 void addReplacement(TemplateReplacement newValue)
           
 TemplateApplyReplacementsResult applyReplacements()
           
 TemplateApplyReplacementsResult applyReplacements(Void params)
           
 Void assignToMe()
           
 Void assignToMe(Void params)
           
 TemplateCreateObjectResult createObject(String name)
           
 TemplateCreateObjectResult createObject(TemplateCreateObjectParams params)
           
 CreatePositionResult createPosition(CreatePositionParams params)
           
 CreatePositionResult createPosition(String name, Uom priceUom, Date pricingDate, PricingRule pricingRule, Product product, BigDecimal quantity, Uom uom)
           
 CreateProductOfferingPositionResult createProductOfferingPosition(CreateProductOfferingPositionParams params)
           
 CreateProductOfferingPositionResult createProductOfferingPosition(ProductOffering offering, BigDecimal quantity)
           
 Void deleteObject()
           
 Void deleteObject(Void params)
           
 BasicObject getAccessGrantedByParent()
          Retrieves the value for the optional reference accessGrantedByParent.
 short getAccessLevelBrowse()
          Retrieves the value for the attribute accessLevelBrowse.
protected  short getAccessLevelBrowse(int index)
           
 short getAccessLevelDelete()
          Retrieves the value for the attribute accessLevelDelete.
protected  short getAccessLevelDelete(int index)
           
 short getAccessLevelUpdate()
          Retrieves the value for the attribute accessLevelUpdate.
protected  short getAccessLevelUpdate(int index)
           
 Date getActiveOn()
           
 Collection getActivity()
          Retrieves the objects referenced by activity.
 Activity getActivity(int index)
          Retrieves the value for the reference activity for the specified qualifier attribute value.
 Collection getAddress()
          Retrieves a collection containing all the elements for the reference address.
 List getAddress(ContractAddressFilter filter)
          Retrieves the value for the reference address for the specified filter.
 List getAddress(ContractAddressQuery query)
          Retrieves the value for the reference address for the specified query.
 ContractAddress getAddress(String id)
          Retrieves the value for the reference address for the specified qualifier attribute value.
 Account getBroker()
          Retrieves the value for the optional reference broker.
 CalculationRule getCalcRule()
          Retrieves the value for the optional reference calcRule.
 Date getCancelOn()
           
 Account getCarrier()
          Retrieves the value for the reference carrier.
 Date getClosedOn()
           
 Collection getCompetitor()
          Retrieves the objects referenced by competitor.
 Competitor getCompetitor(int index)
          Retrieves the value for the reference competitor for the specified qualifier attribute value.
 Collection getContact()
          Retrieves the objects referenced by contact.
 Contact getContact(int index)
          Retrieves the value for the reference contact for the specified qualifier attribute value.
 short getContractCurrency()
          Retrieves the value for the attribute contractCurrency.
protected  short getContractCurrency(int index)
           
 short getContractLanguage()
          Retrieves the value for the attribute contractLanguage.
protected  short getContractLanguage(int index)
           
 String getContractNumber()
           
 short getContractState()
          Retrieves the value for the attribute contractState.
protected  short getContractState(int index)
           
 Account getCustomer()
          Retrieves the value for the optional reference customer.
 Collection getDeliveryRequest()
          Retrieves a collection containing all the elements for the reference deliveryRequest.
 List getDeliveryRequest(DeliveryRequestFilter filter)
          Retrieves the value for the reference deliveryRequest for the specified filter.
 List getDeliveryRequest(DeliveryRequestQuery query)
          Retrieves the value for the reference deliveryRequest for the specified query.
 DeliveryRequest getDeliveryRequest(String id)
          Retrieves the value for the reference deliveryRequest for the specified qualifier attribute value.
 Collection getDepotReference()
          Retrieves a collection containing all the elements for the reference depotReference.
 List getDepotReference(DepotReferenceFilter filter)
          Retrieves the value for the reference depotReference for the specified filter.
 List getDepotReference(DepotReferenceQuery query)
          Retrieves the value for the reference depotReference for the specified query.
 DepotReference getDepotReference(String id)
          Retrieves the value for the reference depotReference for the specified qualifier attribute value.
 String getDescription()
           
 Date getExpiresOn()
           
 String getGiftMessage()
           
 Collection getInventoryCb()
          Retrieves the objects referenced by inventoryCb.
 CompoundBooking getInventoryCb(int index)
          Retrieves the value for the reference inventoryCb for the specified qualifier attribute value.
 String getName()
          Retrieves the value for the attribute name.
protected  String getName(int index)
           
 AbstractContract getOrigin()
          Retrieves the value for the optional reference origin.
 List getOwner()
           
 String getOwner(int index)
           
 Collection getOwningGroup()
          Retrieves the objects referenced by owningGroup.
 PrincipalGroup getOwningGroup(int index)
          Retrieves the value for the reference owningGroup for the specified qualifier attribute value.
 User getOwningUser()
          Retrieves the value for the optional reference owningUser.
 short getPaymentTerms()
          Retrieves the value for the attribute paymentTerms.
protected  short getPaymentTerms(int index)
           
 Collection getPositionModification()
          Retrieves a collection containing all the elements for the reference positionModification.
 List getPositionModification(PositionModificationFilter filter)
          Retrieves the value for the reference positionModification for the specified filter.
 List getPositionModification(PositionModificationQuery query)
          Retrieves the value for the reference positionModification for the specified query.
 PositionModification getPositionModification(String id)
          Retrieves the value for the reference positionModification for the specified qualifier attribute value.
 Date getPricingDate()
           
 PricingRule getPricingRule()
          Retrieves the value for the optional reference pricingRule.
 short getPricingState()
          Retrieves the value for the attribute pricingState.
protected  short getPricingState(int index)
           
 short getPriority()
          Retrieves the value for the attribute priority.
protected  short getPriority(int index)
           
 Collection getRemovedPosition()
          Retrieves a collection containing all the elements for the reference removedPosition.
 List getRemovedPosition(AbstractRemovedPositionFilter filter)
          Retrieves the value for the reference removedPosition for the specified filter.
 List getRemovedPosition(AbstractRemovedPositionQuery query)
          Retrieves the value for the reference removedPosition for the specified query.
 AbstractRemovedPosition getRemovedPosition(String id)
          Retrieves the value for the reference removedPosition for the specified qualifier attribute value.
 Collection getReplacement()
          Retrieves a collection containing all the elements for the reference replacement.
 TemplateReplacement getReplacement(String id)
          Retrieves the value for the reference replacement for the specified qualifier attribute value.
 List getReplacement(TemplateReplacementFilter filter)
          Retrieves the value for the reference replacement for the specified filter.
 List getReplacement(TemplateReplacementQuery query)
          Retrieves the value for the reference replacement for the specified query.
 Account getSalesRep()
          Retrieves the value for the optional reference salesRep.
 String getShippingInstructions()
           
 short getShippingMethod()
          Retrieves the value for the attribute shippingMethod.
protected  short getShippingMethod(int index)
           
 String getShippingTrackingNumber()
           
 Account getSupplier()
          Retrieves the value for the optional reference supplier.
 String getTemplateReferenceFilter()
          Retrieves the value for the attribute templateReferenceFilter.
protected  String getTemplateReferenceFilter(int index)
           
 BigDecimal getTotalAmount()
          Retrieves the value for the attribute totalAmount.
protected  BigDecimal getTotalAmount(int index)
           
 BigDecimal getTotalAmountIncludingTax()
          Retrieves the value for the attribute totalAmountIncludingTax.
protected  BigDecimal getTotalAmountIncludingTax(int index)
           
 BigDecimal getTotalBaseAmount()
          Retrieves the value for the attribute totalBaseAmount.
protected  BigDecimal getTotalBaseAmount(int index)
           
 BigDecimal getTotalDiscountAmount()
          Retrieves the value for the attribute totalDiscountAmount.
protected  BigDecimal getTotalDiscountAmount(int index)
           
 BigDecimal getTotalSalesCommission()
          Retrieves the value for the attribute totalSalesCommission.
protected  BigDecimal getTotalSalesCommission(int index)
           
 BigDecimal getTotalTaxAmount()
          Retrieves the value for the attribute totalTaxAmount.
protected  BigDecimal getTotalTaxAmount(int index)
           
 boolean isGift()
          Retrieves the value for the attribute isGift.
protected  boolean isGift(int index)
           
 Boolean isTemplate()
           
protected  void removeAccessGrantedByParent()
           
 void removeActivity(int index)
           
 void removeAddress(String id)
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams params)
           
 ModifySecureObjectResult removeAllOwningGroup(short mode)
           
 void removeBroker()
          Removes the value for the optional reference broker.
 void removeCalcRule()
          Removes the value for the optional reference calcRule.
 void removeCompetitor(int index)
           
 void removeContact(int index)
           
 void removeCustomer()
          Removes the value for the optional reference customer.
 void removeDeliveryRequest(String id)
           
 void removeDepotReference(String id)
           
protected  void removeInventoryCb(int index)
           
 void removeOrigin()
          Removes the value for the optional reference origin.
 void removeOwningGroup(int index)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams params)
           
 ModifySecureObjectResult removeOwningGroup(PrincipalGroup group, short mode)
           
 void removeOwningUser()
          Removes the value for the optional reference owningUser.
 Void removePendingInventoryBookings()
           
 Void removePendingInventoryBookings(Void params)
           
protected  void removePositionModification(String id)
           
 void removePricingRule()
          Removes the value for the optional reference pricingRule.
protected  void removeRemovedPosition(String id)
           
 void removeReplacement(String id)
           
 void removeSalesRep()
          Removes the value for the optional reference salesRep.
 void removeSupplier()
          Removes the value for the optional reference supplier.
 Void reprice()
           
 Void reprice(Void params)
           
protected  void setAccessGrantedByParent(BasicObject newValue)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams params)
           
 ModifySecureObjectResult setAccessLevel(short accessLevelBrowse, short accessLevelDelete, short accessLevelUpdate, short mode)
           
protected  void setAccessLevelBrowse(int index, short newValue)
           
 void setAccessLevelBrowse(short newValue)
          Sets a new value for the attribute accessLevelBrowse.
protected  void setAccessLevelDelete(int index, short newValue)
           
 void setAccessLevelDelete(short newValue)
          Sets a new value for the attribute accessLevelDelete.
protected  void setAccessLevelUpdate(int index, short newValue)
           
 void setAccessLevelUpdate(short newValue)
          Sets a new value for the attribute accessLevelUpdate.
 void setActiveOn(Date newValue)
          Sets a new value for the attribute activeOn.
 void setActivity(Activity[] newValue)
           
 void setActivity(List newValue)
           
 void setAddress(ContractAddress[] newValue)
           
 void setAddress(List newValue)
           
 void setBroker(Account newValue)
          Sets a new value for the reference broker.
 void setCalcRule(CalculationRule newValue)
          Sets a new value for the reference calcRule.
 void setCancelOn(Date newValue)
          Sets a new value for the attribute cancelOn.
 void setCarrier(Account newValue)
          Sets a new value for the reference carrier.
 void setClosedOn(Date newValue)
          Sets a new value for the attribute closedOn.
 void setCompetitor(Competitor[] newValue)
           
 void setCompetitor(List newValue)
           
 void setContact(Contact[] newValue)
           
 void setContact(List newValue)
           
protected  void setContractCurrency(int index, short newValue)
           
 void setContractCurrency(short newValue)
          Sets a new value for the attribute contractCurrency.
protected  void setContractLanguage(int index, short newValue)
           
 void setContractLanguage(short newValue)
          Sets a new value for the attribute contractLanguage.
 void setContractNumber(String newValue)
          Sets a new value for the attribute contractNumber.
protected  void setContractState(int index, short newValue)
           
 void setContractState(short newValue)
          Sets a new value for the attribute contractState.
 void setCustomer(Account newValue)
          Sets a new value for the reference customer.
 void setDeliveryRequest(DeliveryRequest[] newValue)
           
 void setDeliveryRequest(List newValue)
           
 void setDepotReference(DepotReference[] newValue)
           
 void setDepotReference(List newValue)
           
 void setDescription(String newValue)
          Sets a new value for the attribute description.
 void setExpiresOn(Date newValue)
          Sets a new value for the attribute expiresOn.
 void setGift(boolean newValue)
          Sets a new value for the attribute isGift.
protected  void setGift(int index, boolean newValue)
           
 void setGiftMessage(String newValue)
          Sets a new value for the attribute giftMessage.
protected  void setInventoryCb(CompoundBooking[] newValue)
           
protected  void setInventoryCb(List newValue)
           
protected  void<