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

org.w3._1999.xhtml.Table 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.math.BigInteger;
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.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">
 *       <sequence>
 *         <element ref="{http://www.w3.org/1999/xhtml}caption" minOccurs="0"/>
 *         <choice>
 *           <element ref="{http://www.w3.org/1999/xhtml}col" maxOccurs="unbounded" minOccurs="0"/>
 *           <element ref="{http://www.w3.org/1999/xhtml}colgroup" maxOccurs="unbounded" minOccurs="0"/>
 *         </choice>
 *         <element ref="{http://www.w3.org/1999/xhtml}thead" minOccurs="0"/>
 *         <element ref="{http://www.w3.org/1999/xhtml}tfoot" minOccurs="0"/>
 *         <choice>
 *           <element ref="{http://www.w3.org/1999/xhtml}tbody" maxOccurs="unbounded"/>
 *           <element ref="{http://www.w3.org/1999/xhtml}tr" maxOccurs="unbounded"/>
 *         </choice>
 *       </sequence>
 *       <attGroup ref="{http://www.w3.org/1999/xhtml}attrs"/>
 *       <attribute name="summary" type="{http://www.w3.org/1999/xhtml}Text" />
 *       <attribute name="width" type="{http://www.w3.org/1999/xhtml}Length" />
 *       <attribute name="border" type="{http://www.w3.org/1999/xhtml}Pixels" />
 *       <attribute name="frame" type="{http://www.w3.org/1999/xhtml}TFrame" />
 *       <attribute name="rules" type="{http://www.w3.org/1999/xhtml}TRules" />
 *       <attribute name="cellspacing" type="{http://www.w3.org/1999/xhtml}Length" />
 *       <attribute name="cellpadding" type="{http://www.w3.org/1999/xhtml}Length" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "caption", "col", "colgroup", "thead", "tfoot", "tbody", "tr" }) @XmlRootElement(name = "table") public class Table implements Equals2, HashCode2, ToString2 { protected Caption caption; protected List col; protected List colgroup; protected Thead thead; protected Tfoot tfoot; protected List tbody; protected List tr; @XmlAttribute(name = "summary") protected String summary; @XmlAttribute(name = "width") protected String width; @XmlAttribute(name = "border") protected BigInteger border; @XmlAttribute(name = "frame") protected TFrame frame; @XmlAttribute(name = "rules") protected TRules rules; @XmlAttribute(name = "cellspacing") protected String cellspacing; @XmlAttribute(name = "cellpadding") protected String cellpadding; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "class") @XmlSchemaType(name = "NMTOKENS") protected List clazz; @XmlAttribute(name = "style") protected String style; @XmlAttribute(name = "title") protected String title; @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 caption property. * * @return * possible object is * {@link Caption } * */ public Caption getCaption() { return caption; } /** * Sets the value of the caption property. * * @param value * allowed object is * {@link Caption } * */ public void setCaption(Caption value) { this.caption = value; } /** * Gets the value of the col 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 col property. * *

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

     *    getCol().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Col } * * */ public List getCol() { if (col == null) { col = new ArrayList(); } return this.col; } /** * Gets the value of the colgroup 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 colgroup property. * *

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

     *    getColgroup().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Colgroup } * * */ public List getColgroup() { if (colgroup == null) { colgroup = new ArrayList(); } return this.colgroup; } /** * Gets the value of the thead property. * * @return * possible object is * {@link Thead } * */ public Thead getThead() { return thead; } /** * Sets the value of the thead property. * * @param value * allowed object is * {@link Thead } * */ public void setThead(Thead value) { this.thead = value; } /** * Gets the value of the tfoot property. * * @return * possible object is * {@link Tfoot } * */ public Tfoot getTfoot() { return tfoot; } /** * Sets the value of the tfoot property. * * @param value * allowed object is * {@link Tfoot } * */ public void setTfoot(Tfoot value) { this.tfoot = value; } /** * Gets the value of the tbody 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 tbody property. * *

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

     *    getTbody().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Tbody } * * */ public List getTbody() { if (tbody == null) { tbody = new ArrayList(); } return this.tbody; } /** * Gets the value of the tr 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 tr property. * *

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

     *    getTr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Tr } * * */ public List getTr() { if (tr == null) { tr = new ArrayList(); } return this.tr; } /** * Gets the value of the summary property. * * @return * possible object is * {@link String } * */ public String getSummary() { return summary; } /** * Sets the value of the summary property. * * @param value * allowed object is * {@link String } * */ public void setSummary(String value) { this.summary = value; } /** * Gets the value of the width property. * * @return * possible object is * {@link String } * */ public String getWidth() { return width; } /** * Sets the value of the width property. * * @param value * allowed object is * {@link String } * */ public void setWidth(String value) { this.width = value; } /** * Gets the value of the border property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getBorder() { return border; } /** * Sets the value of the border property. * * @param value * allowed object is * {@link BigInteger } * */ public void setBorder(BigInteger value) { this.border = value; } /** * Gets the value of the frame property. * * @return * possible object is * {@link TFrame } * */ public TFrame getFrame() { return frame; } /** * Sets the value of the frame property. * * @param value * allowed object is * {@link TFrame } * */ public void setFrame(TFrame value) { this.frame = value; } /** * Gets the value of the rules property. * * @return * possible object is * {@link TRules } * */ public TRules getRules() { return rules; } /** * Sets the value of the rules property. * * @param value * allowed object is * {@link TRules } * */ public void setRules(TRules value) { this.rules = value; } /** * Gets the value of the cellspacing property. * * @return * possible object is * {@link String } * */ public String getCellspacing() { return cellspacing; } /** * Sets the value of the cellspacing property. * * @param value * allowed object is * {@link String } * */ public void setCellspacing(String value) { this.cellspacing = value; } /** * Gets the value of the cellpadding property. * * @return * possible object is * {@link String } * */ public String getCellpadding() { return cellpadding; } /** * Sets the value of the cellpadding property. * * @param value * allowed object is * {@link String } * */ public void setCellpadding(String value) { this.cellpadding = value; } /** * 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. * *

* 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 clazz property. * *

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

     *    getClazz().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getClazz() { if (clazz == null) { clazz = new ArrayList(); } return this.clazz; } /** * 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 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 Table withCaption(Caption value) { setCaption(value); return this; } public Table withCol(Col... values) { if (values!= null) { for (Col value: values) { getCol().add(value); } } return this; } public Table withCol(Collection values) { if (values!= null) { getCol().addAll(values); } return this; } public Table withColgroup(Colgroup... values) { if (values!= null) { for (Colgroup value: values) { getColgroup().add(value); } } return this; } public Table withColgroup(Collection values) { if (values!= null) { getColgroup().addAll(values); } return this; } public Table withThead(Thead value) { setThead(value); return this; } public Table withTfoot(Tfoot value) { setTfoot(value); return this; } public Table withTbody(Tbody... values) { if (values!= null) { for (Tbody value: values) { getTbody().add(value); } } return this; } public Table withTbody(Collection values) { if (values!= null) { getTbody().addAll(values); } return this; } public Table withTr(Tr... values) { if (values!= null) { for (Tr value: values) { getTr().add(value); } } return this; } public Table withTr(Collection values) { if (values!= null) { getTr().addAll(values); } return this; } public Table withSummary(String value) { setSummary(value); return this; } public Table withWidth(String value) { setWidth(value); return this; } public Table withBorder(BigInteger value) { setBorder(value); return this; } public Table withFrame(TFrame value) { setFrame(value); return this; } public Table withRules(TRules value) { setRules(value); return this; } public Table withCellspacing(String value) { setCellspacing(value); return this; } public Table withCellpadding(String value) { setCellpadding(value); return this; } public Table withId(String value) { setId(value); return this; } public Table withClazz(String... values) { if (values!= null) { for (String value: values) { getClazz().add(value); } } return this; } public Table withClazz(Collection values) { if (values!= null) { getClazz().addAll(values); } return this; } public Table withStyle(String value) { setStyle(value); return this; } public Table withTitle(String value) { setTitle(value); return this; } public Table withOnclick(String value) { setOnclick(value); return this; } public Table withOndblclick(String value) { setOndblclick(value); return this; } public Table withOnmousedown(String value) { setOnmousedown(value); return this; } public Table withOnmouseup(String value) { setOnmouseup(value); return this; } public Table withOnmouseover(String value) { setOnmouseover(value); return this; } public Table withOnmousemove(String value) { setOnmousemove(value); return this; } public Table withOnmouseout(String value) { setOnmouseout(value); return this; } public Table withOnkeypress(String value) { setOnkeypress(value); return this; } public Table withOnkeydown(String value) { setOnkeydown(value); return this; } public Table withOnkeyup(String value) { setOnkeyup(value); return this; } public Table withLangAttribute(String value) { setLangAttribute(value); return this; } public Table withLang(String value) { setLang(value); return this; } public Table 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 Table that = ((Table) object); { Caption lhsCaption; lhsCaption = this.getCaption(); Caption rhsCaption; rhsCaption = that.getCaption(); if (!strategy.equals(LocatorUtils.property(thisLocator, "caption", lhsCaption), LocatorUtils.property(thatLocator, "caption", rhsCaption), lhsCaption, rhsCaption, (this.caption!= null), (that.caption!= null))) { return false; } } { List lhsCol; lhsCol = (((this.col!= null)&&(!this.col.isEmpty()))?this.getCol():null); List rhsCol; rhsCol = (((that.col!= null)&&(!that.col.isEmpty()))?that.getCol():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "col", lhsCol), LocatorUtils.property(thatLocator, "col", rhsCol), lhsCol, rhsCol, ((this.col!= null)&&(!this.col.isEmpty())), ((that.col!= null)&&(!that.col.isEmpty())))) { return false; } } { List lhsColgroup; lhsColgroup = (((this.colgroup!= null)&&(!this.colgroup.isEmpty()))?this.getColgroup():null); List rhsColgroup; rhsColgroup = (((that.colgroup!= null)&&(!that.colgroup.isEmpty()))?that.getColgroup():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "colgroup", lhsColgroup), LocatorUtils.property(thatLocator, "colgroup", rhsColgroup), lhsColgroup, rhsColgroup, ((this.colgroup!= null)&&(!this.colgroup.isEmpty())), ((that.colgroup!= null)&&(!that.colgroup.isEmpty())))) { return false; } } { Thead lhsThead; lhsThead = this.getThead(); Thead rhsThead; rhsThead = that.getThead(); if (!strategy.equals(LocatorUtils.property(thisLocator, "thead", lhsThead), LocatorUtils.property(thatLocator, "thead", rhsThead), lhsThead, rhsThead, (this.thead!= null), (that.thead!= null))) { return false; } } { Tfoot lhsTfoot; lhsTfoot = this.getTfoot(); Tfoot rhsTfoot; rhsTfoot = that.getTfoot(); if (!strategy.equals(LocatorUtils.property(thisLocator, "tfoot", lhsTfoot), LocatorUtils.property(thatLocator, "tfoot", rhsTfoot), lhsTfoot, rhsTfoot, (this.tfoot!= null), (that.tfoot!= null))) { return false; } } { List lhsTbody; lhsTbody = (((this.tbody!= null)&&(!this.tbody.isEmpty()))?this.getTbody():null); List rhsTbody; rhsTbody = (((that.tbody!= null)&&(!that.tbody.isEmpty()))?that.getTbody():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "tbody", lhsTbody), LocatorUtils.property(thatLocator, "tbody", rhsTbody), lhsTbody, rhsTbody, ((this.tbody!= null)&&(!this.tbody.isEmpty())), ((that.tbody!= null)&&(!that.tbody.isEmpty())))) { return false; } } { List lhsTr; lhsTr = (((this.tr!= null)&&(!this.tr.isEmpty()))?this.getTr():null); List rhsTr; rhsTr = (((that.tr!= null)&&(!that.tr.isEmpty()))?that.getTr():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "tr", lhsTr), LocatorUtils.property(thatLocator, "tr", rhsTr), lhsTr, rhsTr, ((this.tr!= null)&&(!this.tr.isEmpty())), ((that.tr!= null)&&(!that.tr.isEmpty())))) { return false; } } { String lhsSummary; lhsSummary = this.getSummary(); String rhsSummary; rhsSummary = that.getSummary(); if (!strategy.equals(LocatorUtils.property(thisLocator, "summary", lhsSummary), LocatorUtils.property(thatLocator, "summary", rhsSummary), lhsSummary, rhsSummary, (this.summary!= null), (that.summary!= null))) { return false; } } { String lhsWidth; lhsWidth = this.getWidth(); String rhsWidth; rhsWidth = that.getWidth(); if (!strategy.equals(LocatorUtils.property(thisLocator, "width", lhsWidth), LocatorUtils.property(thatLocator, "width", rhsWidth), lhsWidth, rhsWidth, (this.width!= null), (that.width!= null))) { return false; } } { BigInteger lhsBorder; lhsBorder = this.getBorder(); BigInteger rhsBorder; rhsBorder = that.getBorder(); if (!strategy.equals(LocatorUtils.property(thisLocator, "border", lhsBorder), LocatorUtils.property(thatLocator, "border", rhsBorder), lhsBorder, rhsBorder, (this.border!= null), (that.border!= null))) { return false; } } { TFrame lhsFrame; lhsFrame = this.getFrame(); TFrame rhsFrame; rhsFrame = that.getFrame(); if (!strategy.equals(LocatorUtils.property(thisLocator, "frame", lhsFrame), LocatorUtils.property(thatLocator, "frame", rhsFrame), lhsFrame, rhsFrame, (this.frame!= null), (that.frame!= null))) { return false; } } { TRules lhsRules; lhsRules = this.getRules(); TRules rhsRules; rhsRules = that.getRules(); if (!strategy.equals(LocatorUtils.property(thisLocator, "rules", lhsRules), LocatorUtils.property(thatLocator, "rules", rhsRules), lhsRules, rhsRules, (this.rules!= null), (that.rules!= null))) { return false; } } { String lhsCellspacing; lhsCellspacing = this.getCellspacing(); String rhsCellspacing; rhsCellspacing = that.getCellspacing(); if (!strategy.equals(LocatorUtils.property(thisLocator, "cellspacing", lhsCellspacing), LocatorUtils.property(thatLocator, "cellspacing", rhsCellspacing), lhsCellspacing, rhsCellspacing, (this.cellspacing!= null), (that.cellspacing!= null))) { return false; } } { String lhsCellpadding; lhsCellpadding = this.getCellpadding(); String rhsCellpadding; rhsCellpadding = that.getCellpadding(); if (!strategy.equals(LocatorUtils.property(thisLocator, "cellpadding", lhsCellpadding), LocatorUtils.property(thatLocator, "cellpadding", rhsCellpadding), lhsCellpadding, rhsCellpadding, (this.cellpadding!= null), (that.cellpadding!= null))) { 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; } } { List lhsClazz; lhsClazz = (((this.clazz!= null)&&(!this.clazz.isEmpty()))?this.getClazz():null); List rhsClazz; rhsClazz = (((that.clazz!= null)&&(!that.clazz.isEmpty()))?that.getClazz():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "clazz", lhsClazz), LocatorUtils.property(thatLocator, "clazz", rhsClazz), lhsClazz, rhsClazz, ((this.clazz!= null)&&(!this.clazz.isEmpty())), ((that.clazz!= null)&&(!that.clazz.isEmpty())))) { 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 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; { Caption theCaption; theCaption = this.getCaption(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "caption", theCaption), currentHashCode, theCaption, (this.caption!= null)); } { List theCol; theCol = (((this.col!= null)&&(!this.col.isEmpty()))?this.getCol():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "col", theCol), currentHashCode, theCol, ((this.col!= null)&&(!this.col.isEmpty()))); } { List theColgroup; theColgroup = (((this.colgroup!= null)&&(!this.colgroup.isEmpty()))?this.getColgroup():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "colgroup", theColgroup), currentHashCode, theColgroup, ((this.colgroup!= null)&&(!this.colgroup.isEmpty()))); } { Thead theThead; theThead = this.getThead(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "thead", theThead), currentHashCode, theThead, (this.thead!= null)); } { Tfoot theTfoot; theTfoot = this.getTfoot(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tfoot", theTfoot), currentHashCode, theTfoot, (this.tfoot!= null)); } { List theTbody; theTbody = (((this.tbody!= null)&&(!this.tbody.isEmpty()))?this.getTbody():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tbody", theTbody), currentHashCode, theTbody, ((this.tbody!= null)&&(!this.tbody.isEmpty()))); } { List theTr; theTr = (((this.tr!= null)&&(!this.tr.isEmpty()))?this.getTr():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "tr", theTr), currentHashCode, theTr, ((this.tr!= null)&&(!this.tr.isEmpty()))); } { String theSummary; theSummary = this.getSummary(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "summary", theSummary), currentHashCode, theSummary, (this.summary!= null)); } { String theWidth; theWidth = this.getWidth(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "width", theWidth), currentHashCode, theWidth, (this.width!= null)); } { BigInteger theBorder; theBorder = this.getBorder(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "border", theBorder), currentHashCode, theBorder, (this.border!= null)); } { TFrame theFrame; theFrame = this.getFrame(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "frame", theFrame), currentHashCode, theFrame, (this.frame!= null)); } { TRules theRules; theRules = this.getRules(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "rules", theRules), currentHashCode, theRules, (this.rules!= null)); } { String theCellspacing; theCellspacing = this.getCellspacing(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cellspacing", theCellspacing), currentHashCode, theCellspacing, (this.cellspacing!= null)); } { String theCellpadding; theCellpadding = this.getCellpadding(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "cellpadding", theCellpadding), currentHashCode, theCellpadding, (this.cellpadding!= null)); } { String theId; theId = this.getId(); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "id", theId), currentHashCode, theId, (this.id!= null)); } { List theClazz; theClazz = (((this.clazz!= null)&&(!this.clazz.isEmpty()))?this.getClazz():null); currentHashCode = strategy.hashCode(LocatorUtils.property(locator, "clazz", theClazz), currentHashCode, theClazz, ((this.clazz!= null)&&(!this.clazz.isEmpty()))); } { 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 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) { { Caption theCaption; theCaption = this.getCaption(); strategy.appendField(locator, this, "caption", buffer, theCaption, (this.caption!= null)); } { List theCol; theCol = (((this.col!= null)&&(!this.col.isEmpty()))?this.getCol():null); strategy.appendField(locator, this, "col", buffer, theCol, ((this.col!= null)&&(!this.col.isEmpty()))); } { List theColgroup; theColgroup = (((this.colgroup!= null)&&(!this.colgroup.isEmpty()))?this.getColgroup():null); strategy.appendField(locator, this, "colgroup", buffer, theColgroup, ((this.colgroup!= null)&&(!this.colgroup.isEmpty()))); } { Thead theThead; theThead = this.getThead(); strategy.appendField(locator, this, "thead", buffer, theThead, (this.thead!= null)); } { Tfoot theTfoot; theTfoot = this.getTfoot(); strategy.appendField(locator, this, "tfoot", buffer, theTfoot, (this.tfoot!= null)); } { List theTbody; theTbody = (((this.tbody!= null)&&(!this.tbody.isEmpty()))?this.getTbody():null); strategy.appendField(locator, this, "tbody", buffer, theTbody, ((this.tbody!= null)&&(!this.tbody.isEmpty()))); } { List theTr; theTr = (((this.tr!= null)&&(!this.tr.isEmpty()))?this.getTr():null); strategy.appendField(locator, this, "tr", buffer, theTr, ((this.tr!= null)&&(!this.tr.isEmpty()))); } { String theSummary; theSummary = this.getSummary(); strategy.appendField(locator, this, "summary", buffer, theSummary, (this.summary!= null)); } { String theWidth; theWidth = this.getWidth(); strategy.appendField(locator, this, "width", buffer, theWidth, (this.width!= null)); } { BigInteger theBorder; theBorder = this.getBorder(); strategy.appendField(locator, this, "border", buffer, theBorder, (this.border!= null)); } { TFrame theFrame; theFrame = this.getFrame(); strategy.appendField(locator, this, "frame", buffer, theFrame, (this.frame!= null)); } { TRules theRules; theRules = this.getRules(); strategy.appendField(locator, this, "rules", buffer, theRules, (this.rules!= null)); } { String theCellspacing; theCellspacing = this.getCellspacing(); strategy.appendField(locator, this, "cellspacing", buffer, theCellspacing, (this.cellspacing!= null)); } { String theCellpadding; theCellpadding = this.getCellpadding(); strategy.appendField(locator, this, "cellpadding", buffer, theCellpadding, (this.cellpadding!= null)); } { String theId; theId = this.getId(); strategy.appendField(locator, this, "id", buffer, theId, (this.id!= null)); } { List theClazz; theClazz = (((this.clazz!= null)&&(!this.clazz.isEmpty()))?this.getClazz():null); strategy.appendField(locator, this, "clazz", buffer, theClazz, ((this.clazz!= null)&&(!this.clazz.isEmpty()))); } { 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 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