com.jelastic.api.development.persistence.SessionPid Maven / Gradle / Ivy
The newest version!
package com.jelastic.api.development.persistence;
import java.io.Serializable;
import java.util.Date;
/**
*
* @author Ruslan Sinitskiy
*/
public class SessionPid implements Serializable {
private int id;
private String pidVal;
private String pidKey;
private int app_id;
private Date updateTime = new Date();
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getPidVal() {
return pidVal;
}
public void setPidVal(String pidVal) {
updateTime = new Date();
this.pidVal = pidVal;
}
public String getPidKey() {
return pidKey;
}
public void setPidKey(String pidKey) {
this.pidKey = pidKey;
}
public int getApp_id() {
return app_id;
}
public void setApp_id(int app_id) {
this.app_id = app_id;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
final SessionPid other = (SessionPid) obj;
if (this.id != other.getId()) {
return false;
}
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy