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

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


package com.elluminate.sas;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAnyAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
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 anonymous complex type. * *

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

 * <complexType>
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="Password" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *       </sequence>
 *       <anyAttribute/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name", "password" }) @XmlRootElement(name = "BasicAuth") @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") public class BlackboardBasicAuth implements Serializable, Equals, HashCode, ToString { @XmlElement(name = "Name", 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 name; @XmlElement(name = "Password", 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 password; @XmlAnyAttribute @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") private Map otherAttributes = new HashMap(); /** * Gets the value of the name 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 getName() { return name; } /** * Sets the value of the name 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 setName(String value) { this.name = value; } /** * Gets the value of the password 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 getPassword() { return password; } /** * Sets the value of the password 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 setPassword(String value) { this.password = value; } /** * Gets a map that contains attributes that aren't bound to any typed property on this class. * *

* the map is keyed by the name of the attribute and * the value is the string value of the attribute. * * the map returned by this method is live, and you can add new attribute * by updating the map directly. Because of this design, there's no setter. * * * @return * always non-null */ @Generated(value = "com.sun.tools.xjc.Driver", date = "2016-03-11T12:37:42-06:00", comments = "JAXB RI v2.2.5-2") public Map getOtherAttributes() { return otherAttributes; } @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 theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName); } { String thePassword; thePassword = this.getPassword(); strategy.appendField(locator, this, "password", buffer, thePassword); } 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 BlackboardBasicAuth)) { return false; } if (this == object) { return true; } final BlackboardBasicAuth that = ((BlackboardBasicAuth) object); { String lhsName; lhsName = this.getName(); String rhsName; rhsName = that.getName(); if (!strategy.equals(LocatorUtils.property(thisLocator, "name", lhsName), LocatorUtils.property(thatLocator, "name", rhsName), lhsName, rhsName)) { return false; } } { String lhsPassword; lhsPassword = this.getPassword(); String rhsPassword; rhsPassword = that.getPassword(); if (!strategy.equals(LocatorUtils.property(thisLocator, "password", lhsPassword), LocatorUtils.property(thatLocator, "password", rhsPassword), lhsPassword, rhsPassword)) { 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 theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); } { String thePassword; thePassword = this.getPassword(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "password", thePassword), currentHashCode, thePassword); } 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