0% found this document useful (0 votes)
6 views5 pages

PEBProject Value Details Bean

The PEBProjectValueDetailsBean class is a Java bean that encapsulates various financial details related to a project, including project ID, values for local and foreign supplies and services, currency codes, and exchange rates. It includes validation annotations to ensure required fields are not null or blank. The class also provides getter and setter methods for accessing and modifying its properties.

Uploaded by

Faizan Rab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views5 pages

PEBProject Value Details Bean

The PEBProjectValueDetailsBean class is a Java bean that encapsulates various financial details related to a project, including project ID, values for local and foreign supplies and services, currency codes, and exchange rates. It includes validation annotations to ensure required fields are not null or blank. The class also provides getter and setter methods for accessing and modifying its properties.

Uploaded by

Faizan Rab
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 5

public class PEBProjectValueDetailsBean {

private Integer projectId;

@NotNull(message = "{isPostbid.empty}")
private String postbidFlg;

@NotNull(message = "{projectvalue.projectValue.empty}")
private Double projectValue;

@NotNull(message = "{projectvalue.localSupplyValue.empty}")
private Double localSupplyValue;

@NotNull(message = "{projectvalue.localServiceValue.empty}")
private Double localServiceValue;

@NotNull(message = "{projectvalue.foreignSupplyValue.empty}")
private Double foreignSupplyValue;

@NotNull(message = "{projectvalue.foreignServiceValue.empty}")
private Double foreignServiceValue;

@NotNull(message = "{projectvalue.thirdPartySupplyValue.empty}")
private Double thirdPartySupplyValue;

@NotNull(message = "{projectvalue.thirdPartyServiceValue.empty}")
private Double thirdPartyServiceValue;

@NotBlank(message = "{projectvalue.localCurrencyCode.empty}")
private String localCurrencyCode;

@NotBlank(message = "{projectvalue.foreignCurrencyCode.empty}")
private String foreignCurrencyCode;

@NotBlank(message = "{projectvalue.thirdPartyCurrencyCode.empty}")
private String thirdPartyCurrencyCode;

@NotNull(message = "{projectvalue.localExchangeRate.empty}")
private Double localExchangeRate;

@NotNull(message = "{projectvalue.foreignExchangeRate.empty}")
private Double foreignExchangeRate;

@NotNull(message = "{projectvalue.thirdPartyExchangeRate.empty}")
private Double thirdPartyExchangeRate;

//@NotNull(message = "{topdetails.noOfInstall.empty}")
private Integer noOfInstallService;
private Integer noOfInstallSupply;

//@NotNull(message = "{topdetails.freqOfInstall.empty}")
private Integer freqOfInstallService;
private Integer freqOfInstallSupply;

//@NotNull(message = "{topdetails.moratoriumPeriod.empty}")
private Integer moratoriumPeriodService;
private Integer moratoriumPeriodSupply;

private Double usdExchangeRate;

private Integer retentionPaymentWaitPeriod;

private Integer retentionMoneyFrom;

public Integer getProjectId() {


return projectId;
}
public void setProjectId(Integer projectId) {
this.projectId = projectId;
}
public Double getProjectValue() {
return projectValue;
}
public void setProjectValue(Double projectValue) {
this.projectValue = projectValue;
}
public Double getLocalSupplyValue() {
return localSupplyValue;
}
public void setLocalSupplyValue(Double localSupplyValue) {
this.localSupplyValue = localSupplyValue;
}
public Double getLocalServiceValue() {
return localServiceValue;
}
public void setLocalServiceValue(Double localServiceValue) {
this.localServiceValue = localServiceValue;
}
public Double getForeignSupplyValue() {
return foreignSupplyValue;
}
public void setForeignSupplyValue(Double foreignSupplyValue) {
this.foreignSupplyValue = foreignSupplyValue;
}
public Double getForeignServiceValue() {
return foreignServiceValue;
}
public void setForeignServiceValue(Double foreignServiceValue) {
this.foreignServiceValue = foreignServiceValue;
}
public Double getThirdPartySupplyValue() {
return thirdPartySupplyValue;
}
public void setThirdPartySupplyValue(Double thirdPartySupplyValue) {
this.thirdPartySupplyValue = thirdPartySupplyValue;
}
public Double getThirdPartyServiceValue() {
return thirdPartyServiceValue;
}
public void setThirdPartyServiceValue(Double thirdPartyServiceValue) {
this.thirdPartyServiceValue = thirdPartyServiceValue;
}
public String getLocalCurrencyCode() {
return localCurrencyCode;
}
public void setLocalCurrencyCode(String localCurrencyCode) {
this.localCurrencyCode = localCurrencyCode;
}
public String getForeignCurrencyCode() {
return foreignCurrencyCode;
}
public void setForeignCurrencyCode(String foreignCurrencyCode) {
this.foreignCurrencyCode = foreignCurrencyCode;
}
public String getThirdPartyCurrencyCode() {
return thirdPartyCurrencyCode;
}
public void setThirdPartyCurrencyCode(String thirdPartyCurrencyCode) {
this.thirdPartyCurrencyCode = thirdPartyCurrencyCode;
}
public Double getLocalExchangeRate() {
return localExchangeRate;
}
public void setLocalExchangeRate(Double localExchangeRate) {
this.localExchangeRate = localExchangeRate;
}
public Double getForeignExchangeRate() {
return foreignExchangeRate;
}
public void setForeignExchangeRate(Double foreignExchangeRate) {
this.foreignExchangeRate = foreignExchangeRate;
}
public Double getThirdPartyExchangeRate() {
return thirdPartyExchangeRate;
}
public void setThirdPartyExchangeRate(Double thirdPartyExchangeRate) {
this.thirdPartyExchangeRate = thirdPartyExchangeRate;
}
public Integer getNoOfInstallService() {
return noOfInstallService;
}
public void setNoOfInstallService(Integer noOfInstallService) {
this.noOfInstallService = noOfInstallService;
}
public Integer getNoOfInstallSupply() {
return noOfInstallSupply;
}
public void setNoOfInstallSupply(Integer noOfInstallSupply) {
this.noOfInstallSupply = noOfInstallSupply;
}
public Integer getFreqOfInstallService() {
return freqOfInstallService;
}
public void setFreqOfInstallService(Integer freqOfInstallService) {
this.freqOfInstallService = freqOfInstallService;
}
public Integer getFreqOfInstallSupply() {
return freqOfInstallSupply;
}
public void setFreqOfInstallSupply(Integer freqOfInstallSupply) {
this.freqOfInstallSupply = freqOfInstallSupply;
}
public Integer getMoratoriumPeriodService() {
return moratoriumPeriodService;
}
public void setMoratoriumPeriodService(Integer moratoriumPeriodService) {
this.moratoriumPeriodService = moratoriumPeriodService;
}
public Integer getMoratoriumPeriodSupply() {
return moratoriumPeriodSupply;
}
public void setMoratoriumPeriodSupply(Integer moratoriumPeriodSupply) {
this.moratoriumPeriodSupply = moratoriumPeriodSupply;
}

public Double getUsdExchangeRate() {


return usdExchangeRate;
}
public void setUsdExchangeRate(Double usdExchangeRate) {
this.usdExchangeRate = usdExchangeRate;
}
public Integer getRetentionPaymentWaitPeriod() {
return retentionPaymentWaitPeriod;
}
public void setRetentionPaymentWaitPeriod(Integer retentionPaymentWaitPeriod)
{
this.retentionPaymentWaitPeriod = retentionPaymentWaitPeriod;
}
public Integer getRetentionMoneyFrom() {
return retentionMoneyFrom;
}
public void setRetentionMoneyFrom(Integer retentionMoneyFrom) {
this.retentionMoneyFrom = retentionMoneyFrom;
}

public String getPostbidFlg() {


return postbidFlg;
}
public void setPostbidFlg(String postbidFlg) {
this.postbidFlg = postbidFlg;
}
@Override
public String toString() {
return "PEBProjectValueDetailsBean [projectId=" + projectId + ",
projectValue=" + projectValue
+ ", localSupplyValue=" + localSupplyValue + ",
localServiceValue=" + localServiceValue
+ ", foreignSupplyValue=" + foreignSupplyValue + ",
foreignServiceValue=" + foreignServiceValue
+ ", thirdPartySupplyValue=" + thirdPartySupplyValue + ",
thirdPartyServiceValue="
+ thirdPartyServiceValue + ", localCurrencyCode=" +
localCurrencyCode + ", foreignCurrencyCode="
+ foreignCurrencyCode + ", thirdPartyCurrencyCode=" +
thirdPartyCurrencyCode + ", localExchangeRate="
+ localExchangeRate + ", foreignExchangeRate=" +
foreignExchangeRate + ", thirdPartyExchangeRate="
+ thirdPartyExchangeRate + ", noOfInstallService=" +
noOfInstallService + ", noOfInstallSupply="
+ noOfInstallSupply + ", freqOfInstallService=" +
freqOfInstallService + ", freqOfInstallSupply="
+ freqOfInstallSupply + ", moratoriumPeriodService=" +
moratoriumPeriodService
+ ", moratoriumPeriodSupply=" + moratoriumPeriodSupply + ",
usdExchangeRate=" + usdExchangeRate
+ ", retentionPaymentWaitPeriod=" +
retentionPaymentWaitPeriod + ", retentionMoneyFrom="
+ retentionMoneyFrom + "]";
}

You might also like