
org.humanistika.ns.tei_completer.Server Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tei-completer Show documentation
Show all versions of tei-completer Show documentation
An Oxygen XML Editor plugin for customizable attribute and value completion for TEI P5 documents
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v2.3.3
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.08.08 at 10:18:55 AM EEST
//
package org.humanistika.ns.tei_completer;
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.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;
import org.jvnet.jaxb2_commons.locator.util.LocatorUtils;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://humanistika.org/ns/tei-completer}authentication" minOccurs="0"/>
* <element ref="{http://humanistika.org/ns/tei-completer}baseUrl"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"authentication",
"baseUrl"
})
@XmlRootElement(name = "server")
public class Server implements Equals2
{
protected Authentication authentication;
@XmlElement(required = true)
protected String baseUrl;
/**
* Gets the value of the authentication property.
*
* @return
* possible object is
* {@link Authentication }
*
*/
public Authentication getAuthentication() {
return authentication;
}
/**
* Sets the value of the authentication property.
*
* @param value
* allowed object is
* {@link Authentication }
*
*/
public void setAuthentication(Authentication value) {
this.authentication = value;
}
/**
* Gets the value of the baseUrl property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBaseUrl() {
return baseUrl;
}
/**
* Sets the value of the baseUrl property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setBaseUrl(String value) {
this.baseUrl = value;
}
@Override
public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy2 strategy) {
if ((object == null)||(this.getClass()!= object.getClass())) {
return false;
}
if (this == object) {
return true;
}
final Server that = ((Server) object);
{
Authentication lhsAuthentication;
lhsAuthentication = this.getAuthentication();
Authentication rhsAuthentication;
rhsAuthentication = that.getAuthentication();
if (!strategy.equals(LocatorUtils.property(thisLocator, "authentication", lhsAuthentication), LocatorUtils.property(thatLocator, "authentication", rhsAuthentication), lhsAuthentication, rhsAuthentication, (this.authentication!= null), (that.authentication!= null))) {
return false;
}
}
{
String lhsBaseUrl;
lhsBaseUrl = this.getBaseUrl();
String rhsBaseUrl;
rhsBaseUrl = that.getBaseUrl();
if (!strategy.equals(LocatorUtils.property(thisLocator, "baseUrl", lhsBaseUrl), LocatorUtils.property(thatLocator, "baseUrl", rhsBaseUrl), lhsBaseUrl, rhsBaseUrl, (this.baseUrl!= null), (that.baseUrl!= null))) {
return false;
}
}
return true;
}
@Override
public boolean equals(Object object) {
final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance();
return equals(null, null, object, strategy);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy