Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.6 generiert 
  // Siehe <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren. 
  // Generiert: 2013.01.31 um 01:29:25 AM CET 
  //
  
  
  package net.opengis.xls.v_1_1_0;
 
 import java.util.List;

Java-Klasse für GeocodeResponseListType complex type.

Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.

 <complexType name="GeocodeResponseListType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="GeocodedAddress" type="{http://www.opengis.net/xls}GeocodedAddressType" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="numberOfGeocodedAddresses" use="required" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "GeocodeResponseListType", propOrder = {
     "geocodedAddress"
 })
 public class GeocodeResponseListType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(name = "GeocodedAddress", required = true)
     @XmlAttribute(name = "numberOfGeocodedAddresses", required = true)
     @XmlSchemaType(name = "nonNegativeInteger")
     protected BigInteger numberOfGeocodedAddresses;

    
Gets the value of the geocodedAddress 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 geocodedAddress property.

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

    getGeocodedAddress().add(newItem);
 

Objects of the following type(s) are allowed in the list

 
         if ( == null) {
              = new ArrayList<GeocodedAddressType>();
         }
         return this.;
    }

    
Ruft den Wert der numberOfGeocodedAddresses-Eigenschaft ab.

Returns:
possible object is
        return ;
    }

    
Legt den Wert der numberOfGeocodedAddresses-Eigenschaft fest.

Parameters:
value allowed object is
    public void setNumberOfGeocodedAddresses(BigInteger value) {
        this. = value;
    }
    public String toString() {
        final ToStringStrategy strategy = .;
        final StringBuilder buffer = new StringBuilder();
        append(nullbufferstrategy);
        return buffer.toString();
    }
    public StringBuilder append(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
        strategy.appendStart(locatorthisbuffer);
        appendFields(locatorbufferstrategy);
        strategy.appendEnd(locatorthisbuffer);
        return buffer;
    }
    public StringBuilder appendFields(ObjectLocator locatorStringBuilder bufferToStringStrategy strategy) {
        {
            List<GeocodedAddressTypetheGeocodedAddress;
            theGeocodedAddress = this.getGeocodedAddress();
            strategy.appendField(locatorthis"geocodedAddress"buffertheGeocodedAddress);
        }
        {
            BigInteger theNumberOfGeocodedAddresses;
            theNumberOfGeocodedAddresses = this.getNumberOfGeocodedAddresses();
            strategy.appendField(locatorthis"numberOfGeocodedAddresses"buffertheNumberOfGeocodedAddresses);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof GeocodeResponseListType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final GeocodeResponseListType that = ((GeocodeResponseListTypeobject);
        {
            List<GeocodedAddressTypelhsGeocodedAddress;
            lhsGeocodedAddress = this.getGeocodedAddress();
            List<GeocodedAddressTyperhsGeocodedAddress;
            rhsGeocodedAddress = that.getGeocodedAddress();
            if (!strategy.equals(LocatorUtils.property(thisLocator"geocodedAddress"lhsGeocodedAddress), LocatorUtils.property(thatLocator"geocodedAddress"rhsGeocodedAddress), lhsGeocodedAddressrhsGeocodedAddress)) {
                return false;
            }
        }
        {
            BigInteger lhsNumberOfGeocodedAddresses;
            lhsNumberOfGeocodedAddresses = this.getNumberOfGeocodedAddresses();
            BigInteger rhsNumberOfGeocodedAddresses;
            rhsNumberOfGeocodedAddresses = that.getNumberOfGeocodedAddresses();
            if (!strategy.equals(LocatorUtils.property(thisLocator"numberOfGeocodedAddresses"lhsNumberOfGeocodedAddresses), LocatorUtils.property(thatLocator"numberOfGeocodedAddresses"rhsNumberOfGeocodedAddresses), lhsNumberOfGeocodedAddressesrhsNumberOfGeocodedAddresses)) {
                return false;
            }
        }
        return true;
    }
    public boolean equals(Object object) {
        final EqualsStrategy strategy = .;
        return equals(nullnullobjectstrategy);
    }
    public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
        int currentHashCode = 1;
        {
            List<GeocodedAddressTypetheGeocodedAddress;
            theGeocodedAddress = this.getGeocodedAddress();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"geocodedAddress"theGeocodedAddress), currentHashCodetheGeocodedAddress);
        }
        {
            BigInteger theNumberOfGeocodedAddresses;
            theNumberOfGeocodedAddresses = this.getNumberOfGeocodedAddresses();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"numberOfGeocodedAddresses"theNumberOfGeocodedAddresses), currentHashCodetheNumberOfGeocodedAddresses);
        }
        return currentHashCode;
    }
    public int hashCode() {
        final HashCodeStrategy strategy = .;
        return this.hashCode(nullstrategy);
    }
    public Object clone() {
        return copyTo(createNewInstance());
    }
    public Object copyTo(Object target) {
        final CopyStrategy strategy = .;
        return copyTo(nulltargetstrategy);
    }
    public Object copyTo(ObjectLocator locatorObject targetCopyStrategy strategy) {
        final Object draftCopy = ((target == null)?createNewInstance():target);
        if (draftCopy instanceof GeocodeResponseListType) {
            final GeocodeResponseListType copy = ((GeocodeResponseListTypedraftCopy);
            if ((this.!= null)&&(!this..isEmpty())) {
                List<GeocodedAddressTypesourceGeocodedAddress;
                sourceGeocodedAddress = this.getGeocodedAddress();
                @SuppressWarnings("unchecked")
                List<GeocodedAddressTypecopyGeocodedAddress = ((List<GeocodedAddressType> ) strategy.copy(LocatorUtils.property(locator"geocodedAddress"sourceGeocodedAddress), sourceGeocodedAddress));
                copy.geocodedAddress = null;
                List<GeocodedAddressTypeuniqueGeocodedAddressl = copy.getGeocodedAddress();
                uniqueGeocodedAddressl.addAll(copyGeocodedAddress);
            } else {
                copy.geocodedAddress = null;
            }
            if (this.!= null) {
                BigInteger sourceNumberOfGeocodedAddresses;
                sourceNumberOfGeocodedAddresses = this.getNumberOfGeocodedAddresses();
                BigInteger copyNumberOfGeocodedAddresses = ((BigIntegerstrategy.copy(LocatorUtils.property(locator"numberOfGeocodedAddresses"sourceNumberOfGeocodedAddresses), sourceNumberOfGeocodedAddresses));
                copy.setNumberOfGeocodedAddresses(copyNumberOfGeocodedAddresses);
            } else {
                copy.numberOfGeocodedAddresses = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new GeocodeResponseListType();
    }
    public void mergeFrom(Object leftObject right) {
        final MergeStrategy strategy = .;
        mergeFrom(nullnullleftrightstrategy);
    }
    public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
        if (right instanceof GeocodeResponseListType) {
            final GeocodeResponseListType target = this;
            final GeocodeResponseListType leftObject = ((GeocodeResponseListTypeleft);
            final GeocodeResponseListType rightObject = ((GeocodeResponseListTyperight);
            {
                List<GeocodedAddressTypelhsGeocodedAddress;
                lhsGeocodedAddress = leftObject.getGeocodedAddress();
                List<GeocodedAddressTyperhsGeocodedAddress;
                rhsGeocodedAddress = rightObject.getGeocodedAddress();
                target.geocodedAddress = null;
                List<GeocodedAddressTypeuniqueGeocodedAddressl = target.getGeocodedAddress();
                uniqueGeocodedAddressl.addAll(((List<GeocodedAddressType> ) strategy.merge(LocatorUtils.property(leftLocator"geocodedAddress"lhsGeocodedAddress), LocatorUtils.property(rightLocator"geocodedAddress"rhsGeocodedAddress), lhsGeocodedAddressrhsGeocodedAddress)));
            }
            {
                BigInteger lhsNumberOfGeocodedAddresses;
                lhsNumberOfGeocodedAddresses = leftObject.getNumberOfGeocodedAddresses();
                BigInteger rhsNumberOfGeocodedAddresses;
                rhsNumberOfGeocodedAddresses = rightObject.getNumberOfGeocodedAddresses();
                target.setNumberOfGeocodedAddresses(((BigIntegerstrategy.merge(LocatorUtils.property(leftLocator"numberOfGeocodedAddresses"lhsNumberOfGeocodedAddresses), LocatorUtils.property(rightLocator"numberOfGeocodedAddresses"rhsNumberOfGeocodedAddresses), lhsNumberOfGeocodedAddressesrhsNumberOfGeocodedAddresses)));
            }
        }
    }
    public void setGeocodedAddress(List<GeocodedAddressTypevalue) {
        List<GeocodedAddressTypedraftl = this.getGeocodedAddress();
        draftl.addAll(value);
    }
New to GrepCode? Check out our FAQ X