
org.humanistika.ns.tei_completer.AutoComplete 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}namespaceBindings" minOccurs="0"/>
* <element ref="{http://humanistika.org/ns/tei-completer}context"/>
* <element ref="{http://humanistika.org/ns/tei-completer}attribute"/>
* <element ref="{http://humanistika.org/ns/tei-completer}dependent" minOccurs="0"/>
* <element ref="{http://humanistika.org/ns/tei-completer}selection"/>
* <element ref="{http://humanistika.org/ns/tei-completer}request"/>
* <element ref="{http://humanistika.org/ns/tei-completer}response" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"namespaceBindings",
"context",
"attribute",
"dependent",
"selection",
"request",
"response"
})
@XmlRootElement(name = "autoComplete")
public class AutoComplete implements Equals2
{
protected NamespaceBindings namespaceBindings;
@XmlElement(required = true)
protected String context;
@XmlElement(required = true)
protected String attribute;
protected Dependent dependent;
@XmlElement(required = true)
protected Selection selection;
@XmlElement(required = true)
protected Request request;
protected Response response;
/**
* Optional namespace bindings to use when XPaths used in this autoComplete are evaluated. Overrides any default global namespace bindings with the same prefix.
*
* @return
* possible object is
* {@link NamespaceBindings }
*
*/
public NamespaceBindings getNamespaceBindings() {
return namespaceBindings;
}
/**
* Sets the value of the namespaceBindings property.
*
* @param value
* allowed object is
* {@link NamespaceBindings }
*
*/
public void setNamespaceBindings(NamespaceBindings value) {
this.namespaceBindings = value;
}
/**
* Gets the value of the context property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getContext() {
return context;
}
/**
* Sets the value of the context property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setContext(String value) {
this.context = value;
}
/**
* Gets the value of the attribute property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAttribute() {
return attribute;
}
/**
* Sets the value of the attribute property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAttribute(String value) {
this.attribute = value;
}
/**
* An optional dependency for the context.
*
* @return
* possible object is
* {@link Dependent }
*
*/
public Dependent getDependent() {
return dependent;
}
/**
* Sets the value of the dependent property.
*
* @param value
* allowed object is
* {@link Dependent }
*
*/
public void setDependent(Dependent value) {
this.dependent = value;
}
/**
* Gets the value of the selection property.
*
* @return
* possible object is
* {@link Selection }
*
*/
public Selection getSelection() {
return selection;
}
/**
* Sets the value of the selection property.
*
* @param value
* allowed object is
* {@link Selection }
*
*/
public void setSelection(Selection value) {
this.selection = value;
}
/**
* Gets the value of the request property.
*
* @return
* possible object is
* {@link Request }
*
*/
public Request getRequest() {
return request;
}
/**
* Sets the value of the request property.
*
* @param value
* allowed object is
* {@link Request }
*
*/
public void setRequest(Request value) {
this.request = value;
}
/**
* Optional configuration of steps to perform on the response.
*
* @return
* possible object is
* {@link Response }
*
*/
public Response getResponse() {
return response;
}
/**
* Sets the value of the response property.
*
* @param value
* allowed object is
* {@link Response }
*
*/
public void setResponse(Response value) {
this.response = 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 AutoComplete that = ((AutoComplete) object);
{
NamespaceBindings lhsNamespaceBindings;
lhsNamespaceBindings = this.getNamespaceBindings();
NamespaceBindings rhsNamespaceBindings;
rhsNamespaceBindings = that.getNamespaceBindings();
if (!strategy.equals(LocatorUtils.property(thisLocator, "namespaceBindings", lhsNamespaceBindings), LocatorUtils.property(thatLocator, "namespaceBindings", rhsNamespaceBindings), lhsNamespaceBindings, rhsNamespaceBindings, (this.namespaceBindings!= null), (that.namespaceBindings!= null))) {
return false;
}
}
{
String lhsContext;
lhsContext = this.getContext();
String rhsContext;
rhsContext = that.getContext();
if (!strategy.equals(LocatorUtils.property(thisLocator, "context", lhsContext), LocatorUtils.property(thatLocator, "context", rhsContext), lhsContext, rhsContext, (this.context!= null), (that.context!= null))) {
return false;
}
}
{
String lhsAttribute;
lhsAttribute = this.getAttribute();
String rhsAttribute;
rhsAttribute = that.getAttribute();
if (!strategy.equals(LocatorUtils.property(thisLocator, "attribute", lhsAttribute), LocatorUtils.property(thatLocator, "attribute", rhsAttribute), lhsAttribute, rhsAttribute, (this.attribute!= null), (that.attribute!= null))) {
return false;
}
}
{
Dependent lhsDependent;
lhsDependent = this.getDependent();
Dependent rhsDependent;
rhsDependent = that.getDependent();
if (!strategy.equals(LocatorUtils.property(thisLocator, "dependent", lhsDependent), LocatorUtils.property(thatLocator, "dependent", rhsDependent), lhsDependent, rhsDependent, (this.dependent!= null), (that.dependent!= null))) {
return false;
}
}
{
Selection lhsSelection;
lhsSelection = this.getSelection();
Selection rhsSelection;
rhsSelection = that.getSelection();
if (!strategy.equals(LocatorUtils.property(thisLocator, "selection", lhsSelection), LocatorUtils.property(thatLocator, "selection", rhsSelection), lhsSelection, rhsSelection, (this.selection!= null), (that.selection!= null))) {
return false;
}
}
{
Request lhsRequest;
lhsRequest = this.getRequest();
Request rhsRequest;
rhsRequest = that.getRequest();
if (!strategy.equals(LocatorUtils.property(thisLocator, "request", lhsRequest), LocatorUtils.property(thatLocator, "request", rhsRequest), lhsRequest, rhsRequest, (this.request!= null), (that.request!= null))) {
return false;
}
}
{
Response lhsResponse;
lhsResponse = this.getResponse();
Response rhsResponse;
rhsResponse = that.getResponse();
if (!strategy.equals(LocatorUtils.property(thisLocator, "response", lhsResponse), LocatorUtils.property(thatLocator, "response", rhsResponse), lhsResponse, rhsResponse, (this.response!= null), (that.response!= 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