BORContextValue.java
package com.mycim.valueobject.prp;
import com.mycim.framework.utils.lang.StringUtils;
import com.mycim.framework.utils.lang.math.NumberUtils;
import com.mycim.valueobject.consts.ContextNames;
public class BORContextValue extends AbstractContextValue {
/**
*
*/
private static final long serialVersionUID = 1L;
public BORContextValue() {
this.setContextId(ContextNames.BOR_CONTEXT_KEY);
}
public BORContextValue(long contextRrn) {
super(contextRrn);
}
/**
* ResultValue1
*
* @return bomRrn
*/
public Long getBOMRrn() {
return NumberUtils.createLong(StringUtils.trimToNull(this.getResultValue1()));
}
/**
* ResultValue1
*
* @param bomRrn
*/
public void setBOMRrn(Long bomRrn) {
if (bomRrn != null) {
this.setResultValue1(Long.toString(bomRrn));
}
}
}