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

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

Go to download

The quick library for the Clinical Quality Language Java reference implementation

There is a newer version: 3.18.0
Show newest version
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2023.12.06 at 03:09:41 PM MST 
//


package org.w3._1999.xhtml;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlAttribute;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElements;
import jakarta.xml.bind.annotation.XmlID;
import jakarta.xml.bind.annotation.XmlRootElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.jvnet.jaxb2_commons.lang.Equals2;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy2;
import org.jvnet.jaxb2_commons.lang.HashCode2;
import org.jvnet.jaxb2_commons.lang.HashCodeStrategy2;
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.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
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">
 *       <choice>
 *         <sequence>
 *           <choice maxOccurs="unbounded">
 *             <choice>
 *               <element ref="{http://www.w3.org/1999/xhtml}p"/>
 *               <choice>
 *                 <element ref="{http://www.w3.org/1999/xhtml}h1"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}h2"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}h3"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}h4"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}h5"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}h6"/>
 *               </choice>
 *               <element ref="{http://www.w3.org/1999/xhtml}div"/>
 *               <choice>
 *                 <element ref="{http://www.w3.org/1999/xhtml}ul"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}ol"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}dl"/>
 *               </choice>
 *               <choice>
 *                 <element ref="{http://www.w3.org/1999/xhtml}pre"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}hr"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}blockquote"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}address"/>
 *               </choice>
 *               <element ref="{http://www.w3.org/1999/xhtml}fieldset"/>
 *               <element ref="{http://www.w3.org/1999/xhtml}table"/>
 *             </choice>
 *             <element ref="{http://www.w3.org/1999/xhtml}form"/>
 *             <choice>
 *               <element ref="{http://www.w3.org/1999/xhtml}noscript"/>
 *               <choice>
 *                 <element ref="{http://www.w3.org/1999/xhtml}ins"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}del"/>
 *                 <element ref="{http://www.w3.org/1999/xhtml}script"/>
 *               </choice>
 *             </choice>
 *           </choice>
 *         </sequence>
 *         <element ref="{http://www.w3.org/1999/xhtml}area" maxOccurs="unbounded"/>
 *       </choice>
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}events"/>
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}i18n"/>
 *       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *       <attribute name="style" type="{http://www.w3.org/1999/xhtml}StyleSheet" />
 *       <attribute name="title" type="{http://www.w3.org/1999/xhtml}Text" />
 *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "pOrH1OrH2", "area" }) @XmlRootElement(name = "map") public class Map implements Equals2, HashCode2, ToString2 { @XmlElements({ @XmlElement(name = "p", type = P.class), @XmlElement(name = "h1", type = H1 .class), @XmlElement(name = "h2", type = H2 .class), @XmlElement(name = "h3", type = H3 .class), @XmlElement(name = "h4", type = H4 .class), @XmlElement(name = "h5", type = H5 .class), @XmlElement(name = "h6", type = H6 .class), @XmlElement(name = "div", type = Div.class), @XmlElement(name = "ul", type = Ul.class), @XmlElement(name = "ol", type = Ol.class), @XmlElement(name = "dl", type = Dl.class), @XmlElement(name = "pre", type = Pre.class), @XmlElement(name = "hr", type = Hr.class), @XmlElement(name = "blockquote", type = Blockquote.class), @XmlElement(name = "address", type = Address.class), @XmlElement(name = "fieldset", type = Fieldset.class), @XmlElement(name = "table", type = Table.class), @XmlElement(name = "form", type = Form.class), @XmlElement(name = "noscript", type = Noscript.class), @XmlElement(name = "ins", type = Ins.class), @XmlElement(name = "del", type = Del.class), @XmlElement(name = "script", type = Script.class) }) protected List pOrH1OrH2; protected List area; @XmlAttribute(name = "id", required = true) @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "class") @XmlSchemaType(name = "anySimpleType") protected String clazz; @XmlAttribute(name = "style") protected String style; @XmlAttribute(name = "title") protected String title; @XmlAttribute(name = "name") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String name; @XmlAttribute(name = "onclick") protected String onclick; @XmlAttribute(name = "ondblclick") protected String ondblclick; @XmlAttribute(name = "onmousedown") protected String onmousedown; @XmlAttribute(name = "onmouseup") protected String onmouseup; @XmlAttribute(name = "onmouseover") protected String onmouseover; @XmlAttribute(name = "onmousemove") protected String onmousemove; @XmlAttribute(name = "onmouseout") protected String onmouseout; @XmlAttribute(name = "onkeypress") protected String onkeypress; @XmlAttribute(name = "onkeydown") protected String onkeydown; @XmlAttribute(name = "onkeyup") protected String onkeyup; @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 pOrH1OrH2 property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the pOrH1OrH2 property. * *

* For example, to add a new item, do as follows: *

     *    getPOrH1OrH2().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Address } * {@link Blockquote } * {@link Del } * {@link Div } * {@link Dl } * {@link Fieldset } * {@link Form } * {@link H1 } * {@link H2 } * {@link H3 } * {@link H4 } * {@link H5 } * {@link H6 } * {@link Hr } * {@link Ins } * {@link Noscript } * {@link Ol } * {@link P } * {@link Pre } * {@link Script } * {@link Table } * {@link Ul } * * */ public List getPOrH1OrH2() { if (pOrH1OrH2 == null) { pOrH1OrH2 = new ArrayList(); } return this.pOrH1OrH2; } /** * Gets the value of the area property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the area property. * *

* For example, to add a new item, do as follows: *

     *    getArea().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Area } * * */ public List getArea() { if (area == null) { area = new ArrayList(); } return this.area; } /** * 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 clazz property. * * @return * possible object is * {@link String } * */ public String getClazz() { return clazz; } /** * Sets the value of the clazz property. * * @param value * allowed object is * {@link String } * */ public void setClazz(String value) { this.clazz = value; } /** * Gets the value of the style property. * * @return * possible object is * {@link String } * */ public String getStyle() { return style; } /** * Sets the value of the style property. * * @param value * allowed object is * {@link String } * */ public void setStyle(String value) { this.style = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = 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 onclick property. * * @return * possible object is * {@link String } * */ public String getOnclick() { return onclick; } /** * Sets the value of the onclick property. * * @param value * allowed object is * {@link String } * */ public void setOnclick(String value) { this.onclick = value; } /** * Gets the value of the ondblclick property. * * @return * possible object is * {@link String } * */ public String getOndblclick() { return ondblclick; } /** * Sets the value of the ondblclick property. * * @param value * allowed object is * {@link String } * */ public void setOndblclick(String value) { this.ondblclick = value; } /** * Gets the value of the onmousedown property. * * @return * possible object is * {@link String } * */ public String getOnmousedown() { return onmousedown; } /** * Sets the value of the onmousedown property. * * @param value * allowed object is * {@link String } * */ public void setOnmousedown(String value) { this.onmousedown = value; } /** * Gets the value of the onmouseup property. * * @return * possible object is * {@link String } * */ public String getOnmouseup() { return onmouseup; } /** * Sets the value of the onmouseup property. * * @param value * allowed object is * {@link String } * */ public void setOnmouseup(String value) { this.onmouseup = value; } /** * Gets the value of the onmouseover property. * * @return * possible object is * {@link String } * */ public String getOnmouseover() { return onmouseover; } /** * Sets the value of the onmouseover property. * * @param value * allowed object is * {@link String } * */ public void setOnmouseover(String value) { this.onmouseover = value; } /** * Gets the value of the onmousemove property. * * @return * possible object is * {@link String } * */ public String getOnmousemove() { return onmousemove; } /** * Sets the value of the onmousemove property. * * @param value * allowed object is * {@link String } * */ public void setOnmousemove(String value) { this.onmousemove = value; } /** * Gets the value of the onmouseout property. * * @return * possible object is * {@link String } * */ public String getOnmouseout() { return onmouseout; } /** * Sets the value of the onmouseout property. * * @param value * allowed object is * {@link String } * */ public void setOnmouseout(String value) { this.onmouseout = value; } /** * Gets the value of the onkeypress property. * * @return * possible object is * {@link String } * */ public String getOnkeypress() { return onkeypress; } /** * Sets the value of the onkeypress property. * * @param value * allowed object is * {@link String } * */ public void setOnkeypress(String value) { this.onkeypress = value; } /** * Gets the value of the onkeydown property. * * @return * possible object is * {@link String } * */ public String getOnkeydown() { return onkeydown; } /** * Sets the value of the onkeydown property. * * @param value * allowed object is * {@link String } * */ public void setOnkeydown(String value) { this.onkeydown = value; } /** * Gets the value of the onkeyup property. * * @return * possible object is * {@link String } * */ public String getOnkeyup() { return onkeyup; } /** * Sets the value of the onkeyup property. * * @param value * allowed object is * {@link String } * */ public void setOnkeyup(String value) { this.onkeyup = 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 Map withPOrH1OrH2(java.lang.Object... values) { if (values!= null) { for (java.lang.Object value: values) { getPOrH1OrH2().add(value); } } return this; } public Map withPOrH1OrH2(Collection values) { if (values!= null) { getPOrH1OrH2().addAll(values); } return this; } public Map withArea(Area... values) { if (values!= null) { for (Area value: values) { getArea().add(value); } } return this; } public Map withArea(Collection values) { if (values!= null) { getArea().addAll(values); } return this; } public Map withId(String value) { setId(value); return this; } public Map withClazz(String value) { setClazz(value); return this; } public Map withStyle(String value) { setStyle(value); return this; } public Map withTitle(String value) { setTitle(value); return this; } public Map withName(String value) { setName(value); return this; } public Map withOnclick(String value) { setOnclick(value); return this; } public Map withOndblclick(String value) { setOndblclick(value); return this; } public Map withOnmousedown(String value) { setOnmousedown(value); return this; } public Map withOnmouseup(String value) { setOnmouseup(value); return this; } public Map withOnmouseover(String value) { setOnmouseover(value); return this; } public Map withOnmousemove(String value) { setOnmousemove(value); return this; } public Map withOnmouseout(String value) { setOnmouseout(value); return this; } public Map withOnkeypress(String value) { setOnkeypress(value); return this; } public Map withOnkeydown(String value) { setOnkeydown(value); return this; } public Map withOnkeyup(String value) { setOnkeyup(value); return this; } public Map withLangAttribute(String value) { setLangAttribute(value); return this; } public Map withLang(String value) { setLang(value); return this; } public Map withDir(String value) { setDir(value); return this; } @Override public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, java.lang.Object object, EqualsStrategy2 strategy) { if ((object == null)||(this.getClass()!= object.getClass())) { return false; } if (this == object) { return true; } final Map that = ((Map) object); { List lhsPOrH1OrH2; lhsPOrH1OrH2 = (((this.pOrH1OrH2 != null)&&(!this.pOrH1OrH2 .isEmpty()))?this.getPOrH1OrH2():null); List rhsPOrH1OrH2; rhsPOrH1OrH2 = (((that.pOrH1OrH2 != null)&&(!that.pOrH1OrH2 .isEmpty()))?that.getPOrH1OrH2():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "pOrH1OrH2", lhsPOrH1OrH2), LocatorUtils.property(thatLocator, "pOrH1OrH2", rhsPOrH1OrH2), lhsPOrH1OrH2, rhsPOrH1OrH2, ((this.pOrH1OrH2 != null)&&(!this.pOrH1OrH2 .isEmpty())), ((that.pOrH1OrH2 != null)&&(!that.pOrH1OrH2 .isEmpty())))) { return false; } } { List lhsArea; lhsArea = (((this.area!= null)&&(!this.area.isEmpty()))?this.getArea():null); List rhsArea; rhsArea = (((that.area!= null)&&(!that.area.isEmpty()))?that.getArea():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "area", lhsArea), LocatorUtils.property(thatLocator, "area", rhsArea), lhsArea, rhsArea, ((this.area!= null)&&(!this.area.isEmpty())), ((that.area!= null)&&(!that.area.isEmpty())))) { return false; } } { 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, (this.id!= null), (that.id!= null))) { return false; } } { String lhsClazz; lhsClazz = this.getClazz(); String rhsClazz; rhsClazz = that.getClazz(); if (!strategy.equals(LocatorUtils.property(thisLocator, "clazz", lhsClazz), LocatorUtils.property(thatLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, (this.clazz!= null), (that.clazz!= null))) { return false; } } { String lhsStyle; lhsStyle = this.getStyle(); String rhsStyle; rhsStyle = that.getStyle(); if (!strategy.equals(LocatorUtils.property(thisLocator, "style", lhsStyle), LocatorUtils.property(thatLocator, "style", rhsStyle), lhsStyle, rhsStyle, (this.style!= null), (that.style!= null))) { return false; } } { String lhsTitle; lhsTitle = this.getTitle(); String rhsTitle; rhsTitle = that.getTitle(); if (!strategy.equals(LocatorUtils.property(thisLocator, "title", lhsTitle), LocatorUtils.property(thatLocator, "title", rhsTitle), lhsTitle, rhsTitle, (this.title!= null), (that.title!= null))) { 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, (this.name!= null), (that.name!= null))) { return false; } } { String lhsOnclick; lhsOnclick = this.getOnclick(); String rhsOnclick; rhsOnclick = that.getOnclick(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onclick", lhsOnclick), LocatorUtils.property(thatLocator, "onclick", rhsOnclick), lhsOnclick, rhsOnclick, (this.onclick!= null), (that.onclick!= null))) { return false; } } { String lhsOndblclick; lhsOndblclick = this.getOndblclick(); String rhsOndblclick; rhsOndblclick = that.getOndblclick(); if (!strategy.equals(LocatorUtils.property(thisLocator, "ondblclick", lhsOndblclick), LocatorUtils.property(thatLocator, "ondblclick", rhsOndblclick), lhsOndblclick, rhsOndblclick, (this.ondblclick!= null), (that.ondblclick!= null))) { return false; } } { String lhsOnmousedown; lhsOnmousedown = this.getOnmousedown(); String rhsOnmousedown; rhsOnmousedown = that.getOnmousedown(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmousedown", lhsOnmousedown), LocatorUtils.property(thatLocator, "onmousedown", rhsOnmousedown), lhsOnmousedown, rhsOnmousedown, (this.onmousedown!= null), (that.onmousedown!= null))) { return false; } } { String lhsOnmouseup; lhsOnmouseup = this.getOnmouseup(); String rhsOnmouseup; rhsOnmouseup = that.getOnmouseup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmouseup", lhsOnmouseup), LocatorUtils.property(thatLocator, "onmouseup", rhsOnmouseup), lhsOnmouseup, rhsOnmouseup, (this.onmouseup!= null), (that.onmouseup!= null))) { return false; } } { String lhsOnmouseover; lhsOnmouseover = this.getOnmouseover(); String rhsOnmouseover; rhsOnmouseover = that.getOnmouseover(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmouseover", lhsOnmouseover), LocatorUtils.property(thatLocator, "onmouseover", rhsOnmouseover), lhsOnmouseover, rhsOnmouseover, (this.onmouseover!= null), (that.onmouseover!= null))) { return false; } } { String lhsOnmousemove; lhsOnmousemove = this.getOnmousemove(); String rhsOnmousemove; rhsOnmousemove = that.getOnmousemove(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmousemove", lhsOnmousemove), LocatorUtils.property(thatLocator, "onmousemove", rhsOnmousemove), lhsOnmousemove, rhsOnmousemove, (this.onmousemove!= null), (that.onmousemove!= null))) { return false; } } { String lhsOnmouseout; lhsOnmouseout = this.getOnmouseout(); String rhsOnmouseout; rhsOnmouseout = that.getOnmouseout(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onmouseout", lhsOnmouseout), LocatorUtils.property(thatLocator, "onmouseout", rhsOnmouseout), lhsOnmouseout, rhsOnmouseout, (this.onmouseout!= null), (that.onmouseout!= null))) { return false; } } { String lhsOnkeypress; lhsOnkeypress = this.getOnkeypress(); String rhsOnkeypress; rhsOnkeypress = that.getOnkeypress(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onkeypress", lhsOnkeypress), LocatorUtils.property(thatLocator, "onkeypress", rhsOnkeypress), lhsOnkeypress, rhsOnkeypress, (this.onkeypress!= null), (that.onkeypress!= null))) { return false; } } { String lhsOnkeydown; lhsOnkeydown = this.getOnkeydown(); String rhsOnkeydown; rhsOnkeydown = that.getOnkeydown(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onkeydown", lhsOnkeydown), LocatorUtils.property(thatLocator, "onkeydown", rhsOnkeydown), lhsOnkeydown, rhsOnkeydown, (this.onkeydown!= null), (that.onkeydown!= null))) { return false; } } { String lhsOnkeyup; lhsOnkeyup = this.getOnkeyup(); String rhsOnkeyup; rhsOnkeyup = that.getOnkeyup(); if (!strategy.equals(LocatorUtils.property(thisLocator, "onkeyup", lhsOnkeyup), LocatorUtils.property(thatLocator, "onkeyup", rhsOnkeyup), lhsOnkeyup, rhsOnkeyup, (this.onkeyup!= null), (that.onkeyup!= null))) { 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, (this.langAttribute!= null), (that.langAttribute!= null))) { 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, (this.lang!= null), (that.lang!= null))) { 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, (this.dir!= null), (that.dir!= null))) { return false; } } return true; } @Override public boolean equals(java.lang.Object object) { final EqualsStrategy2 strategy = JAXBEqualsStrategy.getInstance(); return equals(null, null, object, strategy); } @Override public int hashCode(ObjectLocator locator, HashCodeStrategy2 strategy) { int currentHashCode = 1; { List thePOrH1OrH2; thePOrH1OrH2 = (((this.pOrH1OrH2 != null)&&(!this.pOrH1OrH2 .isEmpty()))?this.getPOrH1OrH2():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "pOrH1OrH2", thePOrH1OrH2), currentHashCode, thePOrH1OrH2, ((this.pOrH1OrH2 != null)&&(!this.pOrH1OrH2 .isEmpty()))); } { List theArea; theArea = (((this.area!= null)&&(!this.area.isEmpty()))?this.getArea():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "area", theArea), currentHashCode, theArea, ((this.area!= null)&&(!this.area.isEmpty()))); } { String theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId, (this.id!= null)); } { String theClazz; theClazz = this.getClazz(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clazz", theClazz), currentHashCode, theClazz, (this.clazz!= null)); } { String theStyle; theStyle = this.getStyle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "style", theStyle), currentHashCode, theStyle, (this.style!= null)); } { String theTitle; theTitle = this.getTitle(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "title", theTitle), currentHashCode, theTitle, (this.title!= null)); } { String theName; theName = this.getName(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "name", theName), currentHashCode, theName, (this.name!= null)); } { String theOnclick; theOnclick = this.getOnclick(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onclick", theOnclick), currentHashCode, theOnclick, (this.onclick!= null)); } { String theOndblclick; theOndblclick = this.getOndblclick(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "ondblclick", theOndblclick), currentHashCode, theOndblclick, (this.ondblclick!= null)); } { String theOnmousedown; theOnmousedown = this.getOnmousedown(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmousedown", theOnmousedown), currentHashCode, theOnmousedown, (this.onmousedown!= null)); } { String theOnmouseup; theOnmouseup = this.getOnmouseup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmouseup", theOnmouseup), currentHashCode, theOnmouseup, (this.onmouseup!= null)); } { String theOnmouseover; theOnmouseover = this.getOnmouseover(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmouseover", theOnmouseover), currentHashCode, theOnmouseover, (this.onmouseover!= null)); } { String theOnmousemove; theOnmousemove = this.getOnmousemove(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmousemove", theOnmousemove), currentHashCode, theOnmousemove, (this.onmousemove!= null)); } { String theOnmouseout; theOnmouseout = this.getOnmouseout(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onmouseout", theOnmouseout), currentHashCode, theOnmouseout, (this.onmouseout!= null)); } { String theOnkeypress; theOnkeypress = this.getOnkeypress(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onkeypress", theOnkeypress), currentHashCode, theOnkeypress, (this.onkeypress!= null)); } { String theOnkeydown; theOnkeydown = this.getOnkeydown(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onkeydown", theOnkeydown), currentHashCode, theOnkeydown, (this.onkeydown!= null)); } { String theOnkeyup; theOnkeyup = this.getOnkeyup(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "onkeyup", theOnkeyup), currentHashCode, theOnkeyup, (this.onkeyup!= null)); } { String theLangAttribute; theLangAttribute = this.getLangAttribute(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "langAttribute", theLangAttribute), currentHashCode, theLangAttribute, (this.langAttribute!= null)); } { String theLang; theLang = this.getLang(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "lang", theLang), currentHashCode, theLang, (this.lang!= null)); } { String theDir; theDir = this.getDir(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "dir", theDir), currentHashCode, theDir, (this.dir!= null)); } return currentHashCode; } @Override public int hashCode() { final HashCodeStrategy2 strategy = JAXBHashCodeStrategy.getInstance(); return this.hashCode(null, strategy); } @Override public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.getInstance(); final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } @Override public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } @Override public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { List thePOrH1OrH2; thePOrH1OrH2 = (((this.pOrH1OrH2 != null)&&(!this.pOrH1OrH2 .isEmpty()))?this.getPOrH1OrH2():null); strategy.appendField(locator, this, "pOrH1OrH2", buffer, thePOrH1OrH2, ((this.pOrH1OrH2 != null)&&(!this.pOrH1OrH2 .isEmpty()))); } { List theArea; theArea = (((this.area!= null)&&(!this.area.isEmpty()))?this.getArea():null); strategy.appendField(locator, this, "area", buffer, theArea, ((this.area!= null)&&(!this.area.isEmpty()))); } { String theId; theId = this.getId(); strategy.appendField(locator, this, "id", buffer, theId, (this.id!= null)); } { String theClazz; theClazz = this.getClazz(); strategy.appendField(locator, this, "clazz", buffer, theClazz, (this.clazz!= null)); } { String theStyle; theStyle = this.getStyle(); strategy.appendField(locator, this, "style", buffer, theStyle, (this.style!= null)); } { String theTitle; theTitle = this.getTitle(); strategy.appendField(locator, this, "title", buffer, theTitle, (this.title!= null)); } { String theName; theName = this.getName(); strategy.appendField(locator, this, "name", buffer, theName, (this.name!= null)); } { String theOnclick; theOnclick = this.getOnclick(); strategy.appendField(locator, this, "onclick", buffer, theOnclick, (this.onclick!= null)); } { String theOndblclick; theOndblclick = this.getOndblclick(); strategy.appendField(locator, this, "ondblclick", buffer, theOndblclick, (this.ondblclick!= null)); } { String theOnmousedown; theOnmousedown = this.getOnmousedown(); strategy.appendField(locator, this, "onmousedown", buffer, theOnmousedown, (this.onmousedown!= null)); } { String theOnmouseup; theOnmouseup = this.getOnmouseup(); strategy.appendField(locator, this, "onmouseup", buffer, theOnmouseup, (this.onmouseup!= null)); } { String theOnmouseover; theOnmouseover = this.getOnmouseover(); strategy.appendField(locator, this, "onmouseover", buffer, theOnmouseover, (this.onmouseover!= null)); } { String theOnmousemove; theOnmousemove = this.getOnmousemove(); strategy.appendField(locator, this, "onmousemove", buffer, theOnmousemove, (this.onmousemove!= null)); } { String theOnmouseout; theOnmouseout = this.getOnmouseout(); strategy.appendField(locator, this, "onmouseout", buffer, theOnmouseout, (this.onmouseout!= null)); } { String theOnkeypress; theOnkeypress = this.getOnkeypress(); strategy.appendField(locator, this, "onkeypress", buffer, theOnkeypress, (this.onkeypress!= null)); } { String theOnkeydown; theOnkeydown = this.getOnkeydown(); strategy.appendField(locator, this, "onkeydown", buffer, theOnkeydown, (this.onkeydown!= null)); } { String theOnkeyup; theOnkeyup = this.getOnkeyup(); strategy.appendField(locator, this, "onkeyup", buffer, theOnkeyup, (this.onkeyup!= null)); } { String theLangAttribute; theLangAttribute = this.getLangAttribute(); strategy.appendField(locator, this, "langAttribute", buffer, theLangAttribute, (this.langAttribute!= null)); } { String theLang; theLang = this.getLang(); strategy.appendField(locator, this, "lang", buffer, theLang, (this.lang!= null)); } { String theDir; theDir = this.getDir(); strategy.appendField(locator, this, "dir", buffer, theDir, (this.dir!= null)); } return buffer; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy