com.trigyn.jws.dashboard.vo.DashletVO Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dashboard Show documentation
Show all versions of dashboard Show documentation
Dashboard and dashlet utils
package com.trigyn.jws.dashboard.vo;
import java.io.Serializable;
import java.util.List;
import java.util.Objects;
public class DashletVO implements Serializable{
private static final long serialVersionUID = 6186812372333154327L;
private String dashletId = null;
private String dashletTitle = null;
private String dashletName = null;
private String dashletBody = null;
private String dashletQuery = null;
private Integer xCoordinate = null;
private Integer yCoordinate = null;
private Integer width = null;
private Integer height = null;
private String contextId = null;
private Integer showHeader = null;
private Integer isActive = null;
private List roleIdList = null;
private List dashletPropertVOList = null;
public DashletVO() {
}
public DashletVO(String dashletId, String dashletTitle, String dashletName, String dashletBody, String dashletQuery
, Integer xCoordinate, Integer yCoordinate, Integer width, Integer height, String contextId, Integer showHeader,
Integer isActive, List roleIdList, List dashletPropertVOList) {
this.dashletId = dashletId;
this.dashletTitle = dashletTitle;
this.dashletName = dashletName;
this.dashletBody = dashletBody;
this.dashletQuery = dashletQuery;
this.xCoordinate = xCoordinate;
this.yCoordinate = yCoordinate;
this.width = width;
this.height = height;
this.contextId = contextId;
this.showHeader = showHeader;
this.isActive = isActive;
this.roleIdList = roleIdList;
this.dashletPropertVOList = dashletPropertVOList;
}
public DashletVO(String dashletId, String dashletTitle, String dashletName, String dashletBody
, String dashletQuery, Integer xCoordinate, Integer yCoordinate, Integer width
, Integer height, String contextId, Integer showHeader, Integer isActive) {
this.dashletId = dashletId;
this.dashletTitle = dashletTitle;
this.dashletName = dashletName;
this.dashletBody = dashletBody;
this.dashletQuery = dashletQuery;
this.xCoordinate = xCoordinate;
this.yCoordinate = yCoordinate;
this.width = width;
this.height = height;
this.contextId = contextId;
this.showHeader = showHeader;
this.isActive = isActive;
}
public String getDashletId() {
return dashletId;
}
public void setDashletId(String dashletId) {
this.dashletId = dashletId;
}
public String getDashletTitle() {
return dashletTitle;
}
public void setDashletTitle(String dashletTitle) {
this.dashletTitle = dashletTitle;
}
public String getDashletName() {
return dashletName;
}
public void setDashletName(String dashletName) {
this.dashletName = dashletName;
}
public String getDashletBody() {
return dashletBody;
}
public void setDashletBody(String dashletBody) {
this.dashletBody = dashletBody;
}
public String getDashletQuery() {
return dashletQuery;
}
public void setDashletQuery(String dashletQuery) {
this.dashletQuery = dashletQuery;
}
public Integer getxCoordinate() {
return xCoordinate;
}
public void setXCoordinate(Integer xCoordinate) {
this.xCoordinate = xCoordinate;
}
public Integer getyCoordinate() {
return yCoordinate;
}
public void setYCoordinate(Integer yCoordinate) {
this.yCoordinate = yCoordinate;
}
public Integer getWidth() {
return width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return height;
}
public void setHeight(Integer height) {
this.height = height;
}
public String getContextId() {
return contextId;
}
public void setContextId(String contextId) {
this.contextId = contextId;
}
public Integer getShowHeader() {
return showHeader;
}
public void setShowHeader(Integer showHeader) {
this.showHeader = showHeader;
}
public Integer getIsActive() {
return isActive;
}
public void setIsActive(Integer isActive) {
this.isActive = isActive;
}
public List getRoleIdList() {
return roleIdList;
}
public void setRoleIdList(List roleIdList) {
this.roleIdList = roleIdList;
}
public List getDashletPropertVOList() {
return dashletPropertVOList;
}
public void setDashletPropertVOList(List dashletPropertVOList) {
this.dashletPropertVOList = dashletPropertVOList;
}
@Override
public int hashCode() {
return Objects.hash(contextId, dashletBody, dashletId, dashletName, dashletPropertVOList, dashletQuery, dashletTitle, height, roleIdList, showHeader, width, xCoordinate, yCoordinate);
}
@Override
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
DashletVO other = (DashletVO) obj;
return Objects.equals(contextId, other.contextId) && Objects.equals(dashletBody, other.dashletBody) && Objects.equals(dashletId, other.dashletId) && Objects.equals(dashletName, other.dashletName)
&& Objects.equals(dashletPropertVOList, other.dashletPropertVOList) && Objects.equals(dashletQuery, other.dashletQuery) && Objects.equals(dashletTitle, other.dashletTitle) && Objects.equals(height, other.height)
&& Objects.equals(roleIdList, other.roleIdList) && Objects.equals(showHeader, other.showHeader) && Objects.equals(width, other.width) && Objects.equals(xCoordinate, other.xCoordinate)
&& Objects.equals(yCoordinate, other.yCoordinate);
}
@Override
public String toString() {
return "DashletVO [dashletId=" + dashletId + ", dashletTitle=" + dashletTitle + ", dashletName=" + dashletName + ", dashletBody=" + dashletBody + ", dashletQuery=" + dashletQuery + ", xCoordinate=" + xCoordinate + ", yCoordinate="
+ yCoordinate + ", width=" + width + ", height=" + height + ", contextId=" + contextId + ", showHeader=" + showHeader + ", roleIdList=" + roleIdList + ", dashletPropertVOList=" + dashletPropertVOList + "]";
}
}