ProductAttributeItem.java
package com.mycim.valueobject.prp;
import java.io.Serializable;
import java.sql.Timestamp;
public class ProductAttributeItem implements Serializable {
private Long productRrn;
private String productId;
private Integer productVersion;
private Long processRrn;
private String processId;
private Integer processVersion;
private Long routeRrn;
private String routeId;
private Integer routeVersion;
private String routeSeq;
private Long operationRrn;
private String operationId;
private String operationSeq;
private String flowSeq;
private Long attributeNameRrn;
private String attributeName;
private Long attributeValueRrn;
private String attributeValue;
private Long ecnRrn;
private String status;
private Timestamp effectiveTime;
private Timestamp terminatedTime;
private String createdUser;
private Timestamp createdTime;
private String updatedUser;
private Timestamp updatedTime;
public Long getProductRrn() {
return productRrn;
}
public void setProductRrn(Long productRrn) {
this.productRrn = productRrn;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public Integer getProductVersion() {
return productVersion;
}
public void setProductVersion(Integer productVersion) {
this.productVersion = productVersion;
}
public Long getProcessRrn() {
return processRrn;
}
public void setProcessRrn(Long processRrn) {
this.processRrn = processRrn;
}
public String getProcessId() {
return processId;
}
public void setProcessId(String processId) {
this.processId = processId;
}
public Integer getProcessVersion() {
return processVersion;
}
public void setProcessVersion(Integer processVersion) {
this.processVersion = processVersion;
}
public Long getRouteRrn() {
return routeRrn;
}
public void setRouteRrn(Long routeRrn) {
this.routeRrn = routeRrn;
}
public String getRouteId() {
return routeId;
}
public void setRouteId(String routeId) {
this.routeId = routeId;
}
public Integer getRouteVersion() {
return routeVersion;
}
public void setRouteVersion(Integer routeVersion) {
this.routeVersion = routeVersion;
}
public String getRouteSeq() {
return routeSeq;
}
public void setRouteSeq(String routeSeq) {
this.routeSeq = routeSeq;
}
public Long getOperationRrn() {
return operationRrn;
}
public void setOperationRrn(Long operationRrn) {
this.operationRrn = operationRrn;
}
public String getOperationId() {
return operationId;
}
public void setOperationId(String operationId) {
this.operationId = operationId;
}
public String getOperationSeq() {
return operationSeq;
}
public void setOperationSeq(String operationSeq) {
this.operationSeq = operationSeq;
}
public String getFlowSeq() {
return flowSeq;
}
public void setFlowSeq(String flowSeq) {
this.flowSeq = flowSeq;
}
public Long getAttributeNameRrn() {
return attributeNameRrn;
}
public void setAttributeNameRrn(Long attributeNameRrn) {
this.attributeNameRrn = attributeNameRrn;
}
public String getAttributeName() {
return attributeName;
}
public void setAttributeName(String attributeName) {
this.attributeName = attributeName;
}
public Long getAttributeValueRrn() {
return attributeValueRrn;
}
public void setAttributeValueRrn(Long attributeValueRrn) {
this.attributeValueRrn = attributeValueRrn;
}
public String getAttributeValue() {
return attributeValue;
}
public void setAttributeValue(String attributeValue) {
this.attributeValue = attributeValue;
}
public Long getEcnRrn() {
return ecnRrn;
}
public void setEcnRrn(Long ecnRrn) {
this.ecnRrn = ecnRrn;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public Timestamp getEffectiveTime() {
return effectiveTime;
}
public void setEffectiveTime(Timestamp effectiveTime) {
this.effectiveTime = effectiveTime;
}
public Timestamp getTerminatedTime() {
return terminatedTime;
}
public void setTerminatedTime(Timestamp terminatedTime) {
this.terminatedTime = terminatedTime;
}
public String getCreatedUser() {
return createdUser;
}
public void setCreatedUser(String createdUser) {
this.createdUser = createdUser;
}
public Timestamp getCreatedTime() {
return createdTime;
}
public void setCreatedTime(Timestamp createdTime) {
this.createdTime = createdTime;
}
public String getUpdatedUser() {
return updatedUser;
}
public void setUpdatedUser(String updatedUser) {
this.updatedUser = updatedUser;
}
public Timestamp getUpdatedTime() {
return updatedTime;
}
public void setUpdatedTime(Timestamp updatedTime) {
this.updatedTime = updatedTime;
}
@java.lang.Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((productRrn == null) ? 0 : productRrn.hashCode());
result = prime * result + ((productVersion == null) ? 0 : productVersion.hashCode());
result = prime * result + ((processRrn == null) ? 0 : processRrn.hashCode());
result = prime * result + ((processVersion == null) ? 0 : processVersion.hashCode());
result = prime * result + ((routeRrn == null) ? 0 : routeRrn.hashCode());
result = prime * result + ((operationRrn == null) ? 0 : operationRrn.hashCode());
result = prime * result + ((attributeNameRrn == null) ? 0 : attributeNameRrn.hashCode());
return result;
}
@java.lang.Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
ProductAttributeItem other = (ProductAttributeItem) obj;
if (productRrn == null) {
if (other.productRrn != null) {
return false;
}
} else if (!productRrn.equals(other.productRrn)) {
return false;
}
if (productVersion == null) {
if (other.productVersion != null) {
return false;
}
} else if (!productVersion.equals(other.productVersion)) {
return false;
}
if (processRrn == null) {
if (other.processRrn != null) {
return false;
}
} else if (!processRrn.equals(other.processRrn)) {
return false;
}
if (processVersion == null) {
if (other.processVersion != null) {
return false;
}
} else if (!processVersion.equals(other.processVersion)) {
return false;
}
if (routeRrn == null) {
if (other.routeRrn != null) {
return false;
}
} else if (!routeRrn.equals(other.routeRrn)) {
return false;
}
if (operationRrn == null) {
if (other.operationRrn != null) {
return false;
}
} else if (!operationRrn.equals(other.operationRrn)) {
return false;
}
if (attributeNameRrn == null) {
if (other.attributeNameRrn != null) {
return false;
}
} else if (!attributeNameRrn.equals(other.attributeNameRrn)) {
return false;
}
return true;
}
@java.lang.Override
public String toString() {
return "ProductAttributeDetailInfo [productRrn=" + productRrn + ", productId=" + productId +
", productVersion=" + productVersion + ", processRrn=" + processRrn + ", processId=" + processId +
", processVersion=" + processVersion + ", routeRrn=" + routeRrn + ", routeId=" + routeId +
", routeVersion=" + routeVersion + ", routeSeq=" + routeSeq + ", operationRrn=" + operationRrn +
", operationId=" + operationId + ", operationSeq=" + operationSeq + ", flowSeq=" + flowSeq +
", attributeNameRrn=" + attributeNameRrn + ", attributeName=" + attributeName + ", attributeValueRrn=" +
attributeValueRrn + ", attributeValue=" + attributeValue + ", ecnRrn=" + ecnRrn + ", status=" + status +
", effectiveTime=" + effectiveTime + ", terminatedTime=" + terminatedTime + ", createdUser=" +
createdUser + ", createdTime=" + createdTime + ", updatedUser=" + updatedUser + ", updatedTime=" +
updatedTime + "]";
}
}