All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.elluminate.sas.BlackboardUploadRepositoryContent Maven / Gradle / Ivy


package com.elluminate.sas;

import java.io.Serializable;
import javax.activation.DataHandler;
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.XmlMimeType;
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 UploadRepositoryContent complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="UploadRepositoryContent">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="creatorId" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="filename" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="content" type="{http://www.w3.org/2001/XMLSchema}base64Binary"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "UploadRepositoryContent", propOrder = { "creatorId", "filename", "description", "content" }) @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") public class BlackboardUploadRepositoryContent implements Serializable, Equals, HashCode, ToString { @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; @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 filename; @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; @XmlElement(required = true) @XmlMimeType("application/octet-stream") @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") protected DataHandler content; /** * 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 filename 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 getFilename() { return filename; } /** * Sets the value of the filename 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 setFilename(String value) { this.filename = 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 content property. * * @return * possible object is * {@link DataHandler } * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") public DataHandler getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link DataHandler } * */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") public void setContent(DataHandler value) { this.content = 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 theCreatorId; theCreatorId = this.getCreatorId(); strategy.appendField(locator, this, "creatorId", buffer, theCreatorId); } { String theFilename; theFilename = this.getFilename(); strategy.appendField(locator, this, "filename", buffer, theFilename); } { String theDescription; theDescription = this.getDescription(); strategy.appendField(locator, this, "description", buffer, theDescription); } { DataHandler theContent; theContent = this.getContent(); strategy.appendField(locator, this, "content", buffer, theContent); } 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 BlackboardUploadRepositoryContent)) { return false; } if (this == object) { return true; } final BlackboardUploadRepositoryContent that = ((BlackboardUploadRepositoryContent) object); { 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; } } { String lhsFilename; lhsFilename = this.getFilename(); String rhsFilename; rhsFilename = that.getFilename(); if (!strategy.equals(LocatorUtils.property(thisLocator, "filename", lhsFilename), LocatorUtils.property(thatLocator, "filename", rhsFilename), lhsFilename, rhsFilename)) { 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; } } { DataHandler lhsContent; lhsContent = this.getContent(); DataHandler rhsContent; rhsContent = that.getContent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "content", lhsContent), LocatorUtils.property(thatLocator, "content", rhsContent), lhsContent, rhsContent)) { 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 theCreatorId; theCreatorId = this.getCreatorId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "creatorId", theCreatorId), currentHashCode, theCreatorId); } { String theFilename; theFilename = this.getFilename(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "filename", theFilename), currentHashCode, theFilename); } { String theDescription; theDescription = this.getDescription(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "description", theDescription), currentHashCode, theDescription); } { DataHandler theContent; theContent = this.getContent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "content", theContent), currentHashCode, theContent); } 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