com.elluminate.sas.BlackboardListSession Maven / Gradle / Ivy
package com.elluminate.sas;
import java.io.Serializable;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBHashCodeStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* Java class for ListSession complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ListSession">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="userId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="groupingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="sessionId" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="creatorId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="startTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="endTime" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="sessionName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ListSession", propOrder = {
"userId",
"groupingId",
"sessionId",
"creatorId",
"startTime",
"endTime",
"sessionName"
})
@XmlRootElement(name = "ListSession")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public class BlackboardListSession
implements Serializable, Equals, HashCode, ToString
{
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected String userId;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected String groupingId;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected Long sessionId;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected String creatorId;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected Long startTime;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected Long endTime;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected String sessionName;
/**
* Gets the value of the userId property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public String getUserId() {
return userId;
}
/**
* Sets the value of the userId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setUserId(String value) {
this.userId = value;
}
/**
* Gets the value of the groupingId property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public String getGroupingId() {
return groupingId;
}
/**
* Sets the value of the groupingId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setGroupingId(String value) {
this.groupingId = value;
}
/**
* Gets the value of the sessionId property.
*
* @return
* possible object is
* {@link Long }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public Long getSessionId() {
return sessionId;
}
/**
* Sets the value of the sessionId property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setSessionId(Long value) {
this.sessionId = value;
}
/**
* Gets the value of the creatorId property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public String getCreatorId() {
return creatorId;
}
/**
* Sets the value of the creatorId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setCreatorId(String value) {
this.creatorId = value;
}
/**
* Gets the value of the startTime property.
*
* @return
* possible object is
* {@link Long }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public Long getStartTime() {
return startTime;
}
/**
* Sets the value of the startTime property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setStartTime(Long value) {
this.startTime = value;
}
/**
* Gets the value of the endTime property.
*
* @return
* possible object is
* {@link Long }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public Long getEndTime() {
return endTime;
}
/**
* Sets the value of the endTime property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setEndTime(Long value) {
this.endTime = value;
}
/**
* Gets the value of the sessionName property.
*
* @return
* possible object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public String getSessionName() {
return sessionName;
}
/**
* Sets the value of the sessionName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setSessionName(String value) {
this.sessionName = value;
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public String toString() {
final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE;
final StringBuilder buffer = new StringBuilder();
append(null, buffer, strategy);
return buffer.toString();
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
strategy.appendStart(locator, this, buffer);
appendFields(locator, buffer, strategy);
strategy.appendEnd(locator, this, buffer);
return buffer;
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) {
{
String theUserId;
theUserId = this.getUserId();
strategy.appendField(locator, this, "userId", buffer, theUserId);
}
{
String theGroupingId;
theGroupingId = this.getGroupingId();
strategy.appendField(locator, this, "groupingId", buffer, theGroupingId);
}
{
Long theSessionId;
theSessionId = this.getSessionId();
strategy.appendField(locator, this, "sessionId", buffer, theSessionId);
}
{
String theCreatorId;
theCreatorId = this.getCreatorId();
strategy.appendField(locator, this, "creatorId", buffer, theCreatorId);
}
{
Long theStartTime;
theStartTime = this.getStartTime();
strategy.appendField(locator, this, "startTime", buffer, theStartTime);
}
{
Long theEndTime;
theEndTime = this.getEndTime();
strategy.appendField(locator, this, "endTime", buffer, theEndTime);
}
{
String theSessionName;
theSessionName = this.getSessionName();
strategy.appendField(locator, this, "sessionName", buffer, theSessionName);
}
return buffer;
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) {
if (!(object instanceof BlackboardListSession)) {
return false;
}
if (this == object) {
return true;
}
final BlackboardListSession that = ((BlackboardListSession) object);
{
String lhsUserId;
lhsUserId = this.getUserId();
String rhsUserId;
rhsUserId = that.getUserId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "userId", lhsUserId), LocatorUtils.property(thatLocator, "userId", rhsUserId), lhsUserId, rhsUserId)) {
return false;
}
}
{
String lhsGroupingId;
lhsGroupingId = this.getGroupingId();
String rhsGroupingId;
rhsGroupingId = that.getGroupingId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "groupingId", lhsGroupingId), LocatorUtils.property(thatLocator, "groupingId", rhsGroupingId), lhsGroupingId, rhsGroupingId)) {
return false;
}
}
{
Long lhsSessionId;
lhsSessionId = this.getSessionId();
Long rhsSessionId;
rhsSessionId = that.getSessionId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sessionId", lhsSessionId), LocatorUtils.property(thatLocator, "sessionId", rhsSessionId), lhsSessionId, rhsSessionId)) {
return false;
}
}
{
String lhsCreatorId;
lhsCreatorId = this.getCreatorId();
String rhsCreatorId;
rhsCreatorId = that.getCreatorId();
if (!strategy.equals(LocatorUtils.property(thisLocator, "creatorId", lhsCreatorId), LocatorUtils.property(thatLocator, "creatorId", rhsCreatorId), lhsCreatorId, rhsCreatorId)) {
return false;
}
}
{
Long lhsStartTime;
lhsStartTime = this.getStartTime();
Long rhsStartTime;
rhsStartTime = that.getStartTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "startTime", lhsStartTime), LocatorUtils.property(thatLocator, "startTime", rhsStartTime), lhsStartTime, rhsStartTime)) {
return false;
}
}
{
Long lhsEndTime;
lhsEndTime = this.getEndTime();
Long rhsEndTime;
rhsEndTime = that.getEndTime();
if (!strategy.equals(LocatorUtils.property(thisLocator, "endTime", lhsEndTime), LocatorUtils.property(thatLocator, "endTime", rhsEndTime), lhsEndTime, rhsEndTime)) {
return false;
}
}
{
String lhsSessionName;
lhsSessionName = this.getSessionName();
String rhsSessionName;
rhsSessionName = that.getSessionName();
if (!strategy.equals(LocatorUtils.property(thisLocator, "sessionName", lhsSessionName), LocatorUtils.property(thatLocator, "sessionName", rhsSessionName), lhsSessionName, rhsSessionName)) {
return false;
}
}
return true;
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public boolean equals(Object object) {
final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE;
return equals(null, null, object, strategy);
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) {
int currentHashCode = 1;
{
String theUserId;
theUserId = this.getUserId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "userId", theUserId), currentHashCode, theUserId);
}
{
String theGroupingId;
theGroupingId = this.getGroupingId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "groupingId", theGroupingId), currentHashCode, theGroupingId);
}
{
Long theSessionId;
theSessionId = this.getSessionId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sessionId", theSessionId), currentHashCode, theSessionId);
}
{
String theCreatorId;
theCreatorId = this.getCreatorId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creatorId", theCreatorId), currentHashCode, theCreatorId);
}
{
Long theStartTime;
theStartTime = this.getStartTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "startTime", theStartTime), currentHashCode, theStartTime);
}
{
Long theEndTime;
theEndTime = this.getEndTime();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "endTime", theEndTime), currentHashCode, theEndTime);
}
{
String theSessionName;
theSessionName = this.getSessionName();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "sessionName", theSessionName), currentHashCode, theSessionName);
}
return currentHashCode;
}
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public int hashCode() {
final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE;
return this.hashCode(null, strategy);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy