com.elluminate.sas.BlackboardMultimediaResponse 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.XmlElement;
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 MultimediaResponse complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MultimediaResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="multimediaId" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="size" type="{http://www.w3.org/2001/XMLSchema}long"/>
* <element name="creatorId" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MultimediaResponse", propOrder = {
"multimediaId",
"description",
"size",
"creatorId"
})
@XmlRootElement(name = "MultimediaResponse")
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public class BlackboardMultimediaResponse
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 long multimediaId;
@XmlElement(required = true)
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected String description;
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
protected long size;
@XmlElement(required = true)
@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;
/**
* Gets the value of the multimediaId property.
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public long getMultimediaId() {
return multimediaId;
}
/**
* Sets the value of the multimediaId property.
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setMultimediaId(long value) {
this.multimediaId = value;
}
/**
* Gets the value of the description 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 getDescription() {
return description;
}
/**
* Sets the value of the description 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 setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the size property.
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public long getSize() {
return size;
}
/**
* Sets the value of the size property.
*
*/
@Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2")
public void setSize(long value) {
this.size = 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;
}
@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) {
{
long theMultimediaId;
theMultimediaId = (true?this.getMultimediaId(): 0L);
strategy.appendField(locator, this, "multimediaId", buffer, theMultimediaId);
}
{
String theDescription;
theDescription = this.getDescription();
strategy.appendField(locator, this, "description", buffer, theDescription);
}
{
long theSize;
theSize = (true?this.getSize(): 0L);
strategy.appendField(locator, this, "size", buffer, theSize);
}
{
String theCreatorId;
theCreatorId = this.getCreatorId();
strategy.appendField(locator, this, "creatorId", buffer, theCreatorId);
}
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 BlackboardMultimediaResponse)) {
return false;
}
if (this == object) {
return true;
}
final BlackboardMultimediaResponse that = ((BlackboardMultimediaResponse) object);
{
long lhsMultimediaId;
lhsMultimediaId = (true?this.getMultimediaId(): 0L);
long rhsMultimediaId;
rhsMultimediaId = (true?that.getMultimediaId(): 0L);
if (!strategy.equals(LocatorUtils.property(thisLocator, "multimediaId", lhsMultimediaId), LocatorUtils.property(thatLocator, "multimediaId", rhsMultimediaId), lhsMultimediaId, rhsMultimediaId)) {
return false;
}
}
{
String lhsDescription;
lhsDescription = this.getDescription();
String rhsDescription;
rhsDescription = that.getDescription();
if (!strategy.equals(LocatorUtils.property(thisLocator, "description", lhsDescription), LocatorUtils.property(thatLocator, "description", rhsDescription), lhsDescription, rhsDescription)) {
return false;
}
}
{
long lhsSize;
lhsSize = (true?this.getSize(): 0L);
long rhsSize;
rhsSize = (true?that.getSize(): 0L);
if (!strategy.equals(LocatorUtils.property(thisLocator, "size", lhsSize), LocatorUtils.property(thatLocator, "size", rhsSize), lhsSize, rhsSize)) {
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;
}
}
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;
{
long theMultimediaId;
theMultimediaId = (true?this.getMultimediaId(): 0L);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "multimediaId", theMultimediaId), currentHashCode, theMultimediaId);
}
{
String theDescription;
theDescription = this.getDescription();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription);
}
{
long theSize;
theSize = (true?this.getSize(): 0L);
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "size", theSize), currentHashCode, theSize);
}
{
String theCreatorId;
theCreatorId = this.getCreatorId();
currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creatorId", theCreatorId), currentHashCode, theCreatorId);
}
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