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;
 
Defines a spatial filter which selects POIs located within a specified bounding area.

Java-Klasse für WithinBoundaryType complex type.

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

 <complexType name="WithinBoundaryType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}AOI"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "WithinBoundaryType", propOrder = {
     "aoi"
 })
 public class WithinBoundaryType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(name = "AOI", required = true)
     protected AreaOfInterestType aoi;

    
Ruft den Wert der aoi-Eigenschaft ab.

Returns:
possible object is
 
     public AreaOfInterestType getAOI() {
         return ;
     }

    
Legt den Wert der aoi-Eigenschaft fest.

Parameters:
value allowed object is
 
     public void setAOI(AreaOfInterestType 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) {
        {
            AreaOfInterestType theAOI;
            theAOI = this.getAOI();
            strategy.appendField(locatorthis"aoi"buffertheAOI);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof WithinBoundaryType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        final WithinBoundaryType that = ((WithinBoundaryTypeobject);
        {
            AreaOfInterestType lhsAOI;
            lhsAOI = this.getAOI();
            AreaOfInterestType rhsAOI;
            rhsAOI = that.getAOI();
            if (!strategy.equals(LocatorUtils.property(thisLocator"aoi"lhsAOI), LocatorUtils.property(thatLocator"aoi"rhsAOI), lhsAOIrhsAOI)) {
                return false;
            }
        }
        return true;
    }
    public boolean equals(Object object) {
        final EqualsStrategy strategy = .;
        return equals(nullnullobjectstrategy);
    }
    public int hashCode(ObjectLocator locatorHashCodeStrategy strategy) {
        int currentHashCode = 1;
        {
            AreaOfInterestType theAOI;
            theAOI = this.getAOI();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"aoi"theAOI), currentHashCodetheAOI);
        }
        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 WithinBoundaryType) {
            final WithinBoundaryType copy = ((WithinBoundaryTypedraftCopy);
            if (this.!= null) {
                AreaOfInterestType sourceAOI;
                sourceAOI = this.getAOI();
                AreaOfInterestType copyAOI = ((AreaOfInterestTypestrategy.copy(LocatorUtils.property(locator"aoi"sourceAOI), sourceAOI));
                copy.setAOI(copyAOI);
            } else {
                copy.aoi = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new WithinBoundaryType();
    }
    public void mergeFrom(Object leftObject right) {
        final MergeStrategy strategy = .;
        mergeFrom(nullnullleftrightstrategy);
    }
    public void mergeFrom(ObjectLocator leftLocatorObjectLocator rightLocatorObject leftObject rightMergeStrategy strategy) {
        if (right instanceof WithinBoundaryType) {
            final WithinBoundaryType target = this;
            final WithinBoundaryType leftObject = ((WithinBoundaryTypeleft);
            final WithinBoundaryType rightObject = ((WithinBoundaryTyperight);
            {
                AreaOfInterestType lhsAOI;
                lhsAOI = leftObject.getAOI();
                AreaOfInterestType rhsAOI;
                rhsAOI = rightObject.getAOI();
                target.setAOI(((AreaOfInterestTypestrategy.merge(LocatorUtils.property(leftLocator"aoi"lhsAOI), LocatorUtils.property(rightLocator"aoi"rhsAOI), lhsAOIrhsAOI)));
            }
        }
    }
New to GrepCode? Check out our FAQ X