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

org.w3._1999.xhtml.Meta Maven / Gradle / Ivy

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.22.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2018.01.12 at 11:04:27 AM MST 
//


package org.w3._1999.xhtml;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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">
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}i18n"/>
 *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="http-equiv" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="content" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="scheme" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") @XmlRootElement(name = "meta") public class Meta implements Equals, HashCode, ToString { @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "http-equiv") @XmlSchemaType(name = "anySimpleType") protected String httpEquiv; @XmlAttribute(name = "name") @XmlSchemaType(name = "anySimpleType") protected String name; @XmlAttribute(name = "content", required = true) @XmlSchemaType(name = "anySimpleType") protected String content; @XmlAttribute(name = "scheme") @XmlSchemaType(name = "anySimpleType") protected String scheme; @XmlAttribute(name = "lang") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String langAttribute; @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace") protected String lang; @XmlAttribute(name = "dir") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) protected String dir; /** * Gets the value of the id property. * * @return * possible object is * {@link String } * */ public String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link String } * */ public void setId(String value) { this.id = value; } /** * Gets the value of the httpEquiv property. * * @return * possible object is * {@link String } * */ public String getHttpEquiv() { return httpEquiv; } /** * Sets the value of the httpEquiv property. * * @param value * allowed object is * {@link String } * */ public void setHttpEquiv(String value) { this.httpEquiv = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the content property. * * @return * possible object is * {@link String } * */ public String getContent() { return content; } /** * Sets the value of the content property. * * @param value * allowed object is * {@link String } * */ public void setContent(String value) { this.content = value; } /** * Gets the value of the scheme property. * * @return * possible object is * {@link String } * */ public String getScheme() { return scheme; } /** * Sets the value of the scheme property. * * @param value * allowed object is * {@link String } * */ public void setScheme(String value) { this.scheme = value; } /** * Gets the value of the langAttribute property. * * @return * possible object is * {@link String } * */ public String getLangAttribute() { return langAttribute; } /** * Sets the value of the langAttribute property. * * @param value * allowed object is * {@link String } * */ public void setLangAttribute(String value) { this.langAttribute = value; } /** * Gets the value of the lang property. * * @return * possible object is * {@link String } * */ public String getLang() { return lang; } /** * Sets the value of the lang property. * * @param value * allowed object is * {@link String } * */ public void setLang(String value) { this.lang = value; } /** * Gets the value of the dir property. * * @return * possible object is * {@link String } * */ public String getDir() { return dir; } /** * Sets the value of the dir property. * * @param value * allowed object is * {@link String } * */ public void setDir(String value) { this.dir = value; } public Meta withId(String value) { setId(value); return this; } public Meta withHttpEquiv(String value) { setHttpEquiv(value); return this; } public Meta withName(String value) { setName(value); return this; } public Meta withContent(String value) { setContent(value); return this; } public Meta withScheme(String value) { setScheme(value); return this; } public Meta withLangAttribute(String value) { setLangAttribute(value); return this; } public Meta withLang(String value) { setLang(value); return this; } public Meta withDir(String value) { setDir(value); return this; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, java.lang.Object object, EqualsStrategy strategy) { if (!(object instanceof Meta)) { return false; } if (this == object) { return true; } final Meta that = ((Meta) object); { String lhsId; lhsId = this.getId(); String rhsId; rhsId = that.getId(); if (!strategy.equals(LocatorUtils.property(thisLocator, "id", lhsId), LocatorUtils.property(thatLocator, "id", rhsId), lhsId, rhsId)) { return false; } } { String lhsHttpEquiv; lhsHttpEquiv = this.getHttpEquiv(); String rhsHttpEquiv; rhsHttpEquiv = that.getHttpEquiv(); if (!strategy.equals(LocatorUtils.property(thisLocator, "httpEquiv", lhsHttpEquiv), LocatorUtils.property(thatLocator, "httpEquiv", rhsHttpEquiv), lhsHttpEquiv, rhsHttpEquiv)) { return false; } } { 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 lhsContent; lhsContent = this.getContent(); String rhsContent; rhsContent = that.getContent(); if (!strategy.equals(LocatorUtils.property(thisLocator, "content", lhsContent), LocatorUtils.property(thatLocator, "content", rhsContent), lhsContent, rhsContent)) { return false; } } { String lhsScheme; lhsScheme = this.getScheme(); String rhsScheme; rhsScheme = that.getScheme(); if (!strategy.equals(LocatorUtils.property(thisLocator, "scheme", lhsScheme), LocatorUtils.property(thatLocator, "scheme", rhsScheme), lhsScheme, rhsScheme)) { return false; } } { String lhsLangAttribute; lhsLangAttribute = this.getLangAttribute(); String rhsLangAttribute; rhsLangAttribute = that.getLangAttribute(); if (!strategy.equals(LocatorUtils.property(thisLocator, "langAttribute", lhsLangAttribute), LocatorUtils.property(thatLocator, "langAttribute", rhsLangAttribute), lhsLangAttribute, rhsLangAttribute)) { return false; } } { String lhsLang; lhsLang = this.getLang(); String rhsLang; rhsLang = that.getLang(); if (!strategy.equals(LocatorUtils.property(thisLocator, "lang", lhsLang), LocatorUtils.property(thatLocator, "lang", rhsLang), lhsLang, rhsLang)) { return false; } } { String lhsDir; lhsDir = this.getDir(); String rhsDir; rhsDir = that.getDir(); if (!strategy.equals(LocatorUtils.property(thisLocator, "dir", lhsDir), LocatorUtils.property(thatLocator, "dir", rhsDir), lhsDir, rhsDir)) { return false; } } return true; } public boolean equals(java.lang.Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } public int hashCode(ObjectLocator locator, HashCodeStrategy strategy) { int currentHashCode = 1; { String theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId); } { String theHttpEquiv; theHttpEquiv = this.getHttpEquiv(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "httpEquiv", theHttpEquiv), currentHashCode, theHttpEquiv); } { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName); } { String theContent; theContent = this.getContent(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "content", theContent), currentHashCode, theContent); } { String theScheme; theScheme = this.getScheme(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "scheme", theScheme), currentHashCode, theScheme); } { String theLangAttribute; theLangAttribute = this.getLangAttribute(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "langAttribute", theLangAttribute), currentHashCode, theLangAttribute); } { String theLang; theLang = this.getLang(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lang", theLang), currentHashCode, theLang); } { String theDir; theDir = this.getDir(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dir", theDir), currentHashCode, theDir); } return currentHashCode; } public int hashCode() { final HashCodeStrategy strategy = JAXBHashCodeStrategy.INSTANCE; return this.hashCode(null, strategy); } public String toString() { final ToStringStrategy strategy = JAXBToStringStrategy.INSTANCE; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } 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; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy strategy) { { String theId; theId = this.getId(); strategy.appendField(locator, this, "id", buffer, theId); } { String theHttpEquiv; theHttpEquiv = this.getHttpEquiv(); strategy.appendField(locator, this, "httpEquiv", buffer, theHttpEquiv); } { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName); } { String theContent; theContent = this.getContent(); strategy.appendField(locator, this, "content", buffer, theContent); } { String theScheme; theScheme = this.getScheme(); strategy.appendField(locator, this, "scheme", buffer, theScheme); } { String theLangAttribute; theLangAttribute = this.getLangAttribute(); strategy.appendField(locator, this, "langAttribute", buffer, theLangAttribute); } { String theLang; theLang = this.getLang(); strategy.appendField(locator, this, "lang", buffer, theLang); } { String theDir; theDir = this.getDir(); strategy.appendField(locator, this, "dir", buffer, theDir); } return buffer; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy