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

org.meridor.fias.HouseStateStatuses Maven / Gradle / Ivy

The newest version!

package org.meridor.fias;

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.EqualsStrategy;
import org.jvnet.jaxb2_commons.lang.JAXBEqualsStrategy;
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 name="HouseStateStatus" maxOccurs="unbounded">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <attribute name="HOUSESTID" use="required">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
 *                       <totalDigits value="10"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="NAME" use="required">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <minLength value="1"/>
 *                       <maxLength value="60"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "houseStateStatus" }) @XmlRootElement(name = "HouseStateStatuses") public class HouseStateStatuses implements Equals { @XmlElement(name = "HouseStateStatus", required = true) protected List houseStateStatus; /** * Gets the value of the houseStateStatus 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 JAXB object. * This is why there is not a set method for the houseStateStatus property. * *

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

     *    getHouseStateStatus().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link HouseStateStatuses.HouseStateStatus } * * */ public List getHouseStateStatus() { if (houseStateStatus == null) { houseStateStatus = new ArrayList(); } return this.houseStateStatus; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof HouseStateStatuses)) { return false; } if (this == object) { return true; } final HouseStateStatuses that = ((HouseStateStatuses) object); { List lhsHouseStateStatus; lhsHouseStateStatus = (((this.houseStateStatus!= null)&&(!this.houseStateStatus.isEmpty()))?this.getHouseStateStatus():null); List rhsHouseStateStatus; rhsHouseStateStatus = (((that.houseStateStatus!= null)&&(!that.houseStateStatus.isEmpty()))?that.getHouseStateStatus():null); if (!strategy.equals(LocatorUtils.property(thisLocator, "houseStateStatus", lhsHouseStateStatus), LocatorUtils.property(thatLocator, "houseStateStatus", rhsHouseStateStatus), lhsHouseStateStatus, rhsHouseStateStatus)) { return false; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } /** *

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">
     *       <attribute name="HOUSESTID" use="required">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}integer">
     *             <totalDigits value="10"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="NAME" use="required">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <minLength value="1"/>
     *             <maxLength value="60"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class HouseStateStatus implements Equals { @XmlAttribute(name = "HOUSESTID", required = true) protected BigInteger housestid; @XmlAttribute(name = "NAME", required = true) protected String name; /** * Gets the value of the housestid property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getHOUSESTID() { return housestid; } /** * Sets the value of the housestid property. * * @param value * allowed object is * {@link BigInteger } * */ public void setHOUSESTID(BigInteger value) { this.housestid = 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; } public boolean equals(ObjectLocator thisLocator, ObjectLocator thatLocator, Object object, EqualsStrategy strategy) { if (!(object instanceof HouseStateStatuses.HouseStateStatus)) { return false; } if (this == object) { return true; } final HouseStateStatuses.HouseStateStatus that = ((HouseStateStatuses.HouseStateStatus) object); { BigInteger lhsHOUSESTID; lhsHOUSESTID = this.getHOUSESTID(); BigInteger rhsHOUSESTID; rhsHOUSESTID = that.getHOUSESTID(); if (!strategy.equals(LocatorUtils.property(thisLocator, "housestid", lhsHOUSESTID), LocatorUtils.property(thatLocator, "housestid", rhsHOUSESTID), lhsHOUSESTID, rhsHOUSESTID)) { 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; } } return true; } public boolean equals(Object object) { final EqualsStrategy strategy = JAXBEqualsStrategy.INSTANCE; return equals(null, null, object, strategy); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy