Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  //
  // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
  // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
  // Any modifications to this file will be lost upon recompilation of the source schema. 
  // Generated on: 2011.02.20 at 01:29:24 PM MEZ 
  //
  
  
  package net.opengis.xls.v_1_1_0;
 
 import java.util.List;
GeocodeResponse. The addresses returned will be normalized Address ADTs as a result of any parsing by the geocoder, etc.

Java class for GeocodeResponseType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="GeocodeResponseType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}AbstractResponseParametersType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}GeocodeResponseList" maxOccurs="unbounded"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "GeocodeResponseType", propOrder = {
     "geocodeResponseList"
 })
 public class GeocodeResponseType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(name = "GeocodeResponseList", required = true)
     protected List<GeocodeResponseListTypegeocodeResponseList;

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

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

    getGeocodeResponseList().add(newItem);
 

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

 
         if ( == null) {
              = new ArrayList<GeocodeResponseListType>();
         }
         return this.;
     }
 
     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) {
        super.appendFields(locatorbufferstrategy);
        {
            List<GeocodeResponseListTypetheGeocodeResponseList;
            theGeocodeResponseList = this.getGeocodeResponseList();
            strategy.appendField(locatorthis"geocodeResponseList"buffertheGeocodeResponseList);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof GeocodeResponseType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final GeocodeResponseType that = ((GeocodeResponseTypeobject);
        {
            List<GeocodeResponseListTypelhsGeocodeResponseList;
            lhsGeocodeResponseList = this.getGeocodeResponseList();
            List<GeocodeResponseListTyperhsGeocodeResponseList;
            rhsGeocodeResponseList = that.getGeocodeResponseList();
            if (!strategy.equals(LocatorUtils.property(thisLocator"geocodeResponseList"lhsGeocodeResponseList), LocatorUtils.property(thatLocator"geocodeResponseList"rhsGeocodeResponseList), lhsGeocodeResponseListrhsGeocodeResponseList)) {
                return false;
            }
        }
        return true;
    }
    public boolean equals(Object object) {
        final EqualsStrategy strategy = .;
        return equals(nullnullobjectstrategy);
    }
    public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
        int currentHashCode = super.hashCode(locatorstrategy);
        {
            List<GeocodeResponseListTypetheGeocodeResponseList;
            theGeocodeResponseList = this.getGeocodeResponseList();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"geocodeResponseList"theGeocodeResponseList), currentHashCodetheGeocodeResponseList);
        }
        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);
        super.copyTo(locatordraftCopystrategy);
        if (draftCopy instanceof GeocodeResponseType) {
            final GeocodeResponseType copy = ((GeocodeResponseTypedraftCopy);
            if ((this.!= null)&&(!this..isEmpty())) {
                List<GeocodeResponseListTypesourceGeocodeResponseList;
                sourceGeocodeResponseList = this.getGeocodeResponseList();
                @SuppressWarnings("unchecked")
                List<GeocodeResponseListTypecopyGeocodeResponseList = ((List<GeocodeResponseListType> ) strategy.copy(LocatorUtils.property(locator"geocodeResponseList"sourceGeocodeResponseList), sourceGeocodeResponseList));
                copy.geocodeResponseList = null;
                List<GeocodeResponseListTypeuniqueGeocodeResponseListl = copy.getGeocodeResponseList();
                uniqueGeocodeResponseListl.addAll(copyGeocodeResponseList);
            } else {
                copy.geocodeResponseList = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new GeocodeResponseType();
    }
    public void mergeFrom(Object leftObject right) {
        final MergeStrategy strategy = .;
        mergeFrom(nullnullleftrightstrategy);
    }
    public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
        super.mergeFrom(leftLocatorrightLocatorleftrightstrategy);
        if (right instanceof GeocodeResponseType) {
            final GeocodeResponseType target = this;
            final GeocodeResponseType leftObject = ((GeocodeResponseTypeleft);
            final GeocodeResponseType rightObject = ((GeocodeResponseTyperight);
            {
                List<GeocodeResponseListTypelhsGeocodeResponseList;
                lhsGeocodeResponseList = leftObject.getGeocodeResponseList();
                List<GeocodeResponseListTyperhsGeocodeResponseList;
                rhsGeocodeResponseList = rightObject.getGeocodeResponseList();
                target.geocodeResponseList = null;
                List<GeocodeResponseListTypeuniqueGeocodeResponseListl = target.getGeocodeResponseList();
                uniqueGeocodeResponseListl.addAll(((List<GeocodeResponseListType> ) strategy.merge(LocatorUtils.property(leftLocator"geocodeResponseList"lhsGeocodeResponseList), LocatorUtils.property(rightLocator"geocodeResponseList"rhsGeocodeResponseList), lhsGeocodeResponseListrhsGeocodeResponseList)));
            }
        }
    }
    public void setGeocodeResponseList(List<GeocodeResponseListTypevalue) {
        List<GeocodeResponseListTypedraftl = this.getGeocodeResponseList();
        draftl.addAll(value);
    }
New to GrepCode? Check out our FAQ X