@Entity public class QuoteEntity extends UserUpdatedTCEntity implements TaggableEntityIF<QuoteEntity,QuoteFreeTagLinkEntity>, HasRealisationReadOnlyIF<Money>, HasStagesAndLineItems<QuoteStageEntity,QuoteLineItemEntity>
lastUpdatedUserIdDATE_MOD_FIELD, dateCreated, dateModified, id, ID_FIELD, versionTC_FIELD, TC_PROPERTY_NAME| Constructor and Description |
|---|
QuoteEntity() |
getTrafficCompany, setTrafficCompanygetLastUpdatedUserId, setLastUpdatedUserIdgetDateCreated, getDateModified, getId, getProxiedId, getVersion, isPersisted, isUnpersisted, prePersist, preUpdate, setDateCreated, setDateModified, setId, setVersionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprivate static final org.apache.commons.logging.Log LOG
private QuoteStateType quoteStateType
private String quoteNumber
private BigDecimal probabilityOfProceeding
private Calendar anticipatedOrder
private Calendar deadline
private Set<QuoteLineItemEntity> lineItems
private Set<QuoteStageEntity> quoteStages
private JobDetailEntity jobDetail
private TrafficEmployeeEntity quoteOwnerSnapshot
private Money total
private QuoteUserCategoryListItemEntity quoteUserCategoryListItem
private SalesStageListItemEntity salesStageListItem
private String clientReference
private CustomRateSetEntity appliedCustomRateSet
private BigDecimal multicurrencyRate
private CurrencyType otherCurrency
private MultiCurrencyJobSyncMode multiCurrencySyncMode
private Set<QuoteFreeTagLinkEntity> freeTags
private MultiCurrencyJobEditMode multiCurrencyEditMode
private RealisationThresholdListItemEntity realisationThresholdListItem
private BigDecimal realisationThreshold
private Boolean quoteLocked
private Integer quoteVersion
private String externalData
private static final Comparator<QuoteLineItemEntity> LINE_ITEM_COMPARATOR
public String getExternalData()
public void setExternalData(String externalData)
public RealisationThresholdListItemEntity getRealisationThresholdListItem()
public void setRealisationThresholdListItem(RealisationThresholdListItemEntity realisationThresholdListItem)
public Boolean getQuoteLocked()
public void setQuoteLocked(Boolean quoteLocked)
public Integer getQuoteVersion()
public void setQuoteVersion(Integer quoteVersion)
public BigDecimal getRealisationThreshold()
public void setRealisationThreshold(BigDecimal realisationThreshold)
public MultiCurrencyJobSyncMode getMultiCurrencySyncMode()
public MultiCurrencyJobEditMode getMultiCurrencyEditMode()
public void setMultiCurrencyEditMode(MultiCurrencyJobEditMode multiCurrencyJobEditMode)
public void setMultiCurrencySyncMode(MultiCurrencyJobSyncMode multiCurrencySyncMode)
public QuoteStateType getQuoteStateType()
public void setQuoteStateType(QuoteStateType quoteStateType)
public String getQuoteNumber()
public void setQuoteNumber(String quoteNumber)
public BigDecimal getProbabilityOfProceeding()
public void setProbabilityOfProceeding(BigDecimal probabilityOfProceeding)
public Calendar getAnticipatedOrder()
public void setAnticipatedOrder(Calendar anticipatedOrder)
public Calendar getDeadline()
public void setDeadline(Calendar deadline)
public Set<QuoteLineItemEntity> getLineItems()
public void setLineItems(Set<QuoteLineItemEntity> lineItems)
public JobDetailEntity getJobDetail()
public void setJobDetail(JobDetailEntity jobDetail)
public Money getTotal()
public void setTotal(Money total)
public String getClientReference()
public void setClientReference(String clientReference)
public QuoteUserCategoryListItemEntity getQuoteUserCategoryListItem()
public void setQuoteUserCategoryListItem(QuoteUserCategoryListItemEntity quoteUserCategoryListItem)
public SalesStageListItemEntity getSalesStageListItem()
public void setSalesStageListItem(SalesStageListItemEntity salesStageListItem)
public CustomRateSetEntity getAppliedCustomRateSet()
public void setAppliedCustomRateSet(CustomRateSetEntity appliedCustomRateSet)
public BigDecimal getMulticurrencyRate()
public void setMulticurrencyRate(BigDecimal multicurrencyRate)
public CurrencyType getOtherCurrency()
public void setOtherCurrency(CurrencyType otherCurrency)
public Boolean getMulticurrencyEnabled()
public Set<QuoteStageEntity> getQuoteStages()
public void setQuoteStages(Set<QuoteStageEntity> quoteStages)
public Set<QuoteFreeTagLinkEntity> getFreeTags()
getFreeTags in interface TaggableEntityIF<QuoteEntity,QuoteFreeTagLinkEntity>public void setFreeTags(Set<QuoteFreeTagLinkEntity> freeTags)
setFreeTags in interface TaggableEntityIF<QuoteEntity,QuoteFreeTagLinkEntity>public TrafficEmployeeEntity getQuoteOwnerSnapshot()
public void setQuoteOwnerSnapshot(TrafficEmployeeEntity quoteOwnerSnapshot)
public Set<QuoteLineItemEntity> getLineItemsAllowedInStage()
getLineItemsAllowedInStage in interface HasStagesAndLineItems<QuoteStageEntity,QuoteLineItemEntity>public void populateChildren()
private Map<String,QuoteStageEntity> buildStageEntityMap()
public Boolean getDualTaxRates()
public List<QuoteLineItemEntity> getOrderedLineItems()
public void resetStageUUIDs()
public Money getPotentialValue()
getPotentialValue in interface HasRealisationReadOnlyIF<Money>public Money getEstimatedSellValue()
getEstimatedSellValue in interface HasRealisationReadOnlyIF<Money>public BigDecimal getRealisationPercentage()
getRealisationPercentage in interface HasRealisationReadOnlyIF<Money>public Collection<QuoteStageEntity> getStages()
getStages in interface HasStagesAndLineItems<QuoteStageEntity,QuoteLineItemEntity>public void resetQuoteLineItemUUIDs()
Copyright © 2008–2016 Sohnar Ltd.. All rights reserved.