org.opencrx.kernel.contract1.jdo2
Class Lead

java.lang.Object
  extended by org.oasisopen.jdo2.Identifiable
      extended by org.w3c.jdo2.AbstractObject
          extended by org.opencrx.kernel.contract1.jdo2.Lead
All Implemented Interfaces:
Serializable, AlertSender, Assignable, Auditee, Cloneable, Exporter, Importer, Indexed, SecureObject, AbstractContract, AddressContainer, DeliveryRequestContainer, Lead, ShippingDetail, DepotReferenceHolder, CrxObject, BasicObject, ContextCapable, ExtentCapable, ViewCapable

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

Class Lead

See Also:
Serialized Form

Nested Class Summary
static class Lead.Identity
          The object's application identity
static class Lead.Slice
          Slice object hold the Lead'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::Lead
 
Constructor Summary
Lead()
           
 
Method Summary
 ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
           
 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:SegmentContainsLead.
 Void assignToMe()
           
 CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
           
 CloneResult clone_(CloneParams in)
           
 LeadCreateOpportunityResult createOpportunity()
           
 CreatePositionResult createPosition(CreatePositionParams in)
           
 ExportItemResult exportItem(ExportItemParams in)
           
 ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
           
 ViewCapable 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>
CrxObjectHasAdditionalExternalLink.AdditionalExternalLink<T>
getAdditionalExternalLink()
          Retrieves a set containing all the elements for the reference additionalExternalLink.
<T extends ContractAddress>
AddressContainerContainsContractAddress.Address<T>
getAddress()
          Retrieves a set containing all the elements for the reference address.
<T extends DocumentAttachment>
CrxObjectHasAttachedDocument.AttachedDocument<T>
getAttachedDocument()
          Retrieves a set containing all the elements for the reference attachedDocument.
<T extends AuditEntry>
AuditeeHasAuditEntries.Audit<T>
getAudit()
          Retrieves a set containing all the elements for the reference audit.
 Account getBroker()
          Retrieves the value for the reference broker.
 CalculationRule getCalcRule()
          Retrieves the value for the reference calcRule.
 Date getCancelOn()
          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.
<T extends Context>
Map<String,T>
getContext()
          Retrieves the Collection of objects referenced by context.
 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>
DeliveryRequestContainerContainsDeliveryRequest.DeliveryRequest<T>
getDeliveryRequest()
          Retrieves a set containing all the elements for the reference deliveryRequest.
<T extends DepotReference>
DepotReferenceHolderContainsDepotReference.DepotReference<T>
getDepotReference()
          Retrieves a set containing all the elements for the reference depotReference.
 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 getEstimatedSalesCommission()
          Retrieves the possibly null value for the optional attribute estimatedSalesCommission.
 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>
IndexedHasIndexEntry.IndexEntry<T>
getIndexEntry()
          Retrieves a set containing all the elements for the reference indexEntry.
<T extends CompoundBooking>
List<T>
getInventoryCb()
          Retrieves the Collection of objects referenced by inventoryCb.
 short getLeadRating()
          Retrieves the value for the attribute leadRating.
 short getLeadSource()
          Retrieves the value for the attribute leadSource.
<T extends Media>
CrxObjectHasMedia.Media<T>
getMedia()
          Retrieves a set containing all the elements for the reference media.
 Date getModifiedAt()
          Retrieves the value for the attribute modifiedAt.
 Set<String> getModifiedBy()
          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>
CrxObjectHasNote.Note<T>
getNote()
          Retrieves a set containing all the elements for the reference note.
<T extends Opportunity>
List<T>
getOpportunity()
          Retrieves the Collection of objects referenced by opportunity.
 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 PositionModification>
ContractContainsPositionModification.PositionModification<T>
getPositionModification()
          Retrieves a set containing all the elements for the reference positionModification.
 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>
CrxObjectContainsPropertySet.PropertySet<T>
getPropertySet()
          Retrieves a set containing all the elements for the reference propertySet.
<T extends PropertySetEntry>
CrxObjectContainsPropertySetEntry.PropertySetEntry<T>
getPropertySetEntry()
          Retrieves a set containing all the elements for the reference propertySetEntry.
<T extends Rating>
CrxObjectHasRating.Rating<T>
getRating()
          Retrieves a set containing all the elements for the reference rating.
<T extends AbstractRemovedPosition>
ContractContainsRemovedPosition.RemovedPosition<T>
getRemovedPosition()
          Retrieves a set containing all the elements for the reference removedPosition.
 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.
 XMLGregorianCalendar getUserDate0()
          Retrieves the possibly null value for the optional attribute userDate0.
 XMLGregorianCalendar getUserDate1()
          Retrieves the possibly null value for the optional attribute userDate1.
 XMLGregorianCalendar getUserDate2()
          Retrieves the possibly null value for the optional attribute userDate2.
 XMLGregorianCalendar getUserDate3()
          Retrieves the possibly null value for the optional attribute userDate3.
 List<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 View>
ObjectHasView.View<T>
getView()
          Retrieves a set containing all the elements for the reference view.
 ImportResult importItem(ImportParams in)
           
 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.
 Void markAsClosed(LeadMarkAsClosedParams in)
           
static Lead.Identity newIdentity(Segment.Identity segment, QualifierType idType, 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
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 Lead.Identity openmdxjdoToIdentity(ObjectId objectId)
           
 ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
           
 ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
           
 Void removePendingInventoryBookings()
           
 Void reprice()
           
 Void sendAlert(SendAlertParams in)
           
 ModifySecureObjectResult setAccessLevel(SetAccessLevelParams in)
           
 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 setEstimatedSalesCommission(BigDecimal estimatedSalesCommission)
          Sets a new value for the attribute estimatedSalesCommission.
 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 setLeadRating(short leadRating)
          Sets a new value for the attribute leadRating.
 void setLeadSource(short leadSource)
          Sets a new value for the attribute leadSource.
 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 setOrigin(AbstractContract origin)
          Sets a new value for the reference origin.
 ModifySecureObjectResult setOwningUser(SetOwningUserParams in)
           
 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(XMLGregorianCalendar userDate0)
          Sets a new value for the attribute userDate0.
 void setUserDate1(XMLGregorianCalendar userDate1)
          Sets a new value for the attribute userDate1.
 void setUserDate2(XMLGregorianCalendar userDate2)
          Sets a new value for the attribute userDate2.
 void setUserDate3(XMLGregorianCalendar userDate3)
          Sets a new value for the attribute userDate3.
 void setUserDate4(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, openmdxjdoNewMap, openmdxjdoNewSlice, openmdxjdoSetArray, openmdxjdoSetCollection, openmdxjdoToArray, openmdxjdoToArray, openmdxjdoValidateElement
 
Methods inherited from class org.oasisopen.jdo2.Identifiable
jdoClass, modelClasses, 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::Lead


BASE_CLASS

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

See Also:
Lead.CLASS
Constructor Detail

Lead

public Lead()
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.

getLeadSource

public short getLeadSource()
Retrieves the value for the attribute leadSource.

Specified by:
getLeadSource in interface Lead
Returns:
The non-null value for attribute leadSource.

setLeadSource

public void setLeadSource(short leadSource)
Sets a new value for the attribute leadSource.

Specified by:
setLeadSource in interface Lead
Parameters:
leadSource - The non-null new value for attribute leadSource.

getModifiedBy

public final Set<String> getModifiedBy()
Retrieves a set containing all the elements for the attribute modifiedBy.

Specified by:
getModifiedBy in interface BasicObject
Returns:
A set containing all elements for this attribute.

getLeadRating

public short getLeadRating()
Retrieves the value for the attribute leadRating.

Specified by:
getLeadRating in interface Lead
Returns:
The non-null value for attribute leadRating.

setLeadRating

public void setLeadRating(short leadRating)
Sets a new value for the attribute leadRating.

Specified by:
setLeadRating in interface Lead
Parameters:
leadRating - The non-null new value for attribute leadRating.

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> CrxObjectContainsPropertySetEntry.PropertySetEntry<T> getPropertySetEntry()
Retrieves a set containing all the elements for the reference propertySetEntry.

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

getCustomer

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

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

setCustomer

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

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

getAccessLevelBrowse

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

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

setAccessLevelBrowse

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

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

updateInventory

public UpdateInventoryResult updateInventory()
Specified by:
updateInventory in interface AbstractContract

removeAllOwningGroup

public ModifySecureObjectResult removeAllOwningGroup(RemoveAllOwningGroupParams in)
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.

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.

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(SetOwningUserParams in)
Specified by:
setOwningUser in interface SecureObject

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.

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.

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.

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 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(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.

clone_

public CloneResult clone_(CloneParams in)
Specified by:
clone_ in interface Cloneable

addOwningGroup

public ModifySecureObjectResult addOwningGroup(ModifyOwningGroupParams in)
Specified by:
addOwningGroup in interface SecureObject

getEstimatedSalesCommission

public final BigDecimal getEstimatedSalesCommission()
Retrieves the possibly null value for the optional attribute estimatedSalesCommission.

Specified by:
getEstimatedSalesCommission in interface Lead
Returns:
The possibly null value for attribute estimatedSalesCommission.

setEstimatedSalesCommission

public void setEstimatedSalesCommission(BigDecimal estimatedSalesCommission)
Sets a new value for the attribute estimatedSalesCommission.

Specified by:
setEstimatedSalesCommission in interface Lead
Parameters:
estimatedSalesCommission - The possibly null new value for attribute estimatedSalesCommission.

getUserDate3

public final 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(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<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(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 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(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 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(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> ContractContainsRemovedPosition.RemovedPosition<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.

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 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(SetAccessLevelParams in)
Specified by:
setAccessLevel in interface SecureObject

getIndexEntry

public <T extends IndexEntry> IndexedHasIndexEntry.IndexEntry<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.

getDepotReference

public <T extends DepotReference> DepotReferenceHolderContainsDepotReference.DepotReference<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.

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 View> ObjectHasView.View<T> getView()
Retrieves a set containing all the elements for the reference view.

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

getOwningUser

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

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

setOwningUser

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

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

getExternalLink

public final List<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

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 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 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 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> CrxObjectHasNote.Note<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.

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 Lead
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 Lead
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> ContractContainsPositionModification.PositionModification<T> getPositionModification()
Retrieves a set containing all the elements for the reference positionModification.

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

updateIndex

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

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.

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.

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.

exportItem

public ExportItemResult exportItem(ExportItemParams in)
Specified by:
exportItem in interface Exporter

removePendingInventoryBookings

public 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 Lead
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 Lead
Parameters:
estimatedValue - The possibly null new value for attribute estimatedValue.

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> CrxObjectHasAdditionalExternalLink.AdditionalExternalLink<T> getAdditionalExternalLink()
Retrieves a set containing all the elements for the reference additionalExternalLink.

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

getPriority

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

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

setPriority

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

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

getDescription

public final String getDescription()
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> DeliveryRequestContainerContainsDeliveryRequest.DeliveryRequest<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.

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.

importItem

public ImportResult importItem(ImportParams in)
Specified by:
importItem in interface Importer

removeOwningGroup

public ModifySecureObjectResult removeOwningGroup(ModifyOwningGroupParams in)
Specified by:
removeOwningGroup in interface SecureObject

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 ViewCapable 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.

createOpportunity

public LeadCreateOpportunityResult createOpportunity()
Specified by:
createOpportunity in interface Lead

markAsClosed

public Void markAsClosed(LeadMarkAsClosedParams in)
Specified by:
markAsClosed in interface Lead

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> CrxObjectHasMedia.Media<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.

getNextStep

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

Specified by:
getNextStep in interface Lead
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 Lead
Parameters:
nextStep - The possibly null new value for attribute nextStep.

getModifiedAt

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

Specified by:
getModifiedAt in interface 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> CrxObjectContainsPropertySet.PropertySet<T> getPropertySet()
Retrieves a set containing all the elements for the reference propertySet.

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

getUserNumber2

public final BigDecimal getUserNumber2()
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.

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.

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.

exportItemAdvanced

public ExportItemResult exportItemAdvanced(ExportItemAdvancedParams in)
Specified by:
exportItemAdvanced in interface Exporter

getOrigin

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

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

setOrigin

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

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

getAudit

public <T extends AuditEntry> AuditeeHasAuditEntries.Audit<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.

checkPermissions

public CheckPermissionsResult checkPermissions(CheckPermissionsParams in)
Specified by:
checkPermissions in interface SecureObject

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> CrxObjectHasAttachedDocument.AttachedDocument<T> getAttachedDocument()
Retrieves a set containing all the elements for the reference attachedDocument.

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

getTotalBaseAmount

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

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

getCloseProbability

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

Specified by:
getCloseProbability in interface Lead
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 Lead
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(CreatePositionParams in)
Specified by:
createPosition in interface AbstractContract

getOpportunity

public <T extends Opportunity> List<T> getOpportunity()
Retrieves the Collection of objects referenced by opportunity.

Specified by:
getOpportunity in interface Lead
Returns:
The Collection of referenced objects.

getAddress

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

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

reprice

public Void reprice()
Specified by:
reprice in interface AbstractContract

getContext

public <T extends Context> Map<String,T> getContext()
Retrieves the Collection of objects referenced by context.

Specified by:
getContext in interface ContextCapable
Returns:
The Collection of referenced objects.

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> CrxObjectHasRating.Rating<T> getRating()
Retrieves a set containing all the elements for the reference rating.

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

getPaymentTerms

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

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

setPaymentTerms

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

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

getUserCode1

public final Short getUserCode1()
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 Void sendAlert(SendAlertParams in)
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:
Lead.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.

addToSegment

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

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 Lead.Identity newIdentity(Segment.Identity segment,
                                        QualifierType idType,
                                        String id)

openmdxjdoToIdentity

public static Lead.Identity openmdxjdoToIdentity(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.