use of org.kuali.rice.core.web.format.BooleanFormatter in project cu-kfs by CU-CommunityApps.
the class BatchDisbursementVoucherNonResidentAlienTax method setForeignSourceIncomeCode.
/**
* Takes a <code>String</code> and attempt to format as <code>Boolean</code> for setting the foreignSourceIncomeCode field
*
* @param foreignSourceIncomeCode as string
*/
public void setForeignSourceIncomeCode(String foreignSourceIncomeCode) {
if (StringUtils.isNotBlank(foreignSourceIncomeCode)) {
Boolean foreignSourceIncome = (Boolean) (new BooleanFormatter()).convertFromPresentationFormat(foreignSourceIncomeCode);
super.setForeignSourceIncomeCode(foreignSourceIncome);
}
}
use of org.kuali.rice.core.web.format.BooleanFormatter in project cu-kfs by CU-CommunityApps.
the class BatchDisbursementVoucherDocument method setDisbVchrSpecialHandlingCode.
/**
* Takes a <code>String</code> and attempt to format as <code>Boolean</code> for setting the disbVchrSpecialHandlingCode field
*
* @param disbVchrSpecialHandlingCode as string
*/
public void setDisbVchrSpecialHandlingCode(String disbVchrSpecialHandlingCode) {
if (StringUtils.isNotBlank(disbVchrSpecialHandlingCode)) {
Boolean disbVchrSpecialHandling = (Boolean) (new BooleanFormatter()).convertFromPresentationFormat(disbVchrSpecialHandlingCode);
super.setDisbVchrSpecialHandlingCode(disbVchrSpecialHandling);
}
}
use of org.kuali.rice.core.web.format.BooleanFormatter in project cu-kfs by CU-CommunityApps.
the class BatchDisbursementVoucherDocument method setExceptionIndicator.
/**
* Takes a <code>String</code> and attempt to format as <code>Boolean</code> for setting the exceptionIndicator field
*
* @param exceptionIndicator as string
*/
public void setExceptionIndicator(String exceptionIndicator) {
if (StringUtils.isNotBlank(exceptionIndicator)) {
Boolean exception = (Boolean) (new BooleanFormatter()).convertFromPresentationFormat(exceptionIndicator);
super.setExceptionIndicator(exception);
}
}
use of org.kuali.rice.core.web.format.BooleanFormatter in project cu-kfs by CU-CommunityApps.
the class BatchIWantDocument method setGoods.
public void setGoods(String goods) {
if (StringUtils.isNotBlank(goods)) {
Boolean goodsB = (Boolean) (new BooleanFormatter()).convertFromPresentationFormat(goods);
super.setGoods(goodsB);
}
}
use of org.kuali.rice.core.web.format.BooleanFormatter in project cu-kfs by CU-CommunityApps.
the class BatchIWantDocument method setSameAsInitiator.
public void setSameAsInitiator(String sameAsInitiator) {
if (StringUtils.isNotBlank(sameAsInitiator)) {
Boolean sameAsInitiatorB = (Boolean) (new BooleanFormatter()).convertFromPresentationFormat(sameAsInitiator);
super.setSameAsInitiator(sameAsInitiatorB);
}
}
Aggregations