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 PortrayMapRequestType complex type.

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

 <complexType name="PortrayMapRequestType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}AbstractRequestParametersType">
       <sequence>
         <element name="Output" type="{http://www.opengis.net/xls}OutputType" maxOccurs="unbounded"/>
         <element name="Basemap" type="{http://www.opengis.net/xls}LayerType" minOccurs="0"/>
         <element name="Overlay" type="{http://www.opengis.net/xls}OverlayType" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "PortrayMapRequestType", propOrder = {
     "output",
     "basemap",
     "overlay"
 })
 public class PortrayMapRequestType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(name = "Output", required = true)
     protected List<OutputTypeoutput;
     @XmlElement(name = "Basemap")
     protected LayerType basemap;
     @XmlElement(name = "Overlay")
     protected List<OverlayTypeoverlay;

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

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

    getOutput().add(newItem);
 

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

 
     public List<OutputTypegetOutput() {
         if ( == null) {
              = new ArrayList<OutputType>();
        }
        return this.;
    }

    
Ruft den Wert der basemap-Eigenschaft ab.

Returns:
possible object is
    public LayerType getBasemap() {
        return ;
    }

    
Legt den Wert der basemap-Eigenschaft fest.

Parameters:
value allowed object is
    public void setBasemap(LayerType value) {
        this. = value;
    }

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

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

    getOverlay().add(newItem);
 

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

    public List<OverlayTypegetOverlay() {
        if ( == null) {
             = new ArrayList<OverlayType>();
        }
        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<OutputTypetheOutput;
            theOutput = this.getOutput();
            strategy.appendField(locatorthis"output"buffertheOutput);
        }
        {
            LayerType theBasemap;
            theBasemap = this.getBasemap();
            strategy.appendField(locatorthis"basemap"buffertheBasemap);
        }
        {
            List<OverlayTypetheOverlay;
            theOverlay = this.getOverlay();
            strategy.appendField(locatorthis"overlay"buffertheOverlay);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof PortrayMapRequestType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final PortrayMapRequestType that = ((PortrayMapRequestTypeobject);
        {
            List<OutputTypelhsOutput;
            lhsOutput = this.getOutput();
            List<OutputTyperhsOutput;
            rhsOutput = that.getOutput();
            if (!strategy.equals(LocatorUtils.property(thisLocator"output"lhsOutput), LocatorUtils.property(thatLocator"output"rhsOutput), lhsOutputrhsOutput)) {
                return false;
            }
        }
        {
            LayerType lhsBasemap;
            lhsBasemap = this.getBasemap();
            LayerType rhsBasemap;
            rhsBasemap = that.getBasemap();
            if (!strategy.equals(LocatorUtils.property(thisLocator"basemap"lhsBasemap), LocatorUtils.property(thatLocator"basemap"rhsBasemap), lhsBasemaprhsBasemap)) {
                return false;
            }
        }
        {
            List<OverlayTypelhsOverlay;
            lhsOverlay = this.getOverlay();
            List<OverlayTyperhsOverlay;
            rhsOverlay = that.getOverlay();
            if (!strategy.equals(LocatorUtils.property(thisLocator"overlay"lhsOverlay), LocatorUtils.property(thatLocator"overlay"rhsOverlay), lhsOverlayrhsOverlay)) {
                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<OutputTypetheOutput;
            theOutput = this.getOutput();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"output"theOutput), currentHashCodetheOutput);
        }
        {
            LayerType theBasemap;
            theBasemap = this.getBasemap();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"basemap"theBasemap), currentHashCodetheBasemap);
        }
        {
            List<OverlayTypetheOverlay;
            theOverlay = this.getOverlay();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"overlay"theOverlay), currentHashCodetheOverlay);
        }
        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 PortrayMapRequestType) {
            final PortrayMapRequestType copy = ((PortrayMapRequestTypedraftCopy);
            if ((this.!= null)&&(!this..isEmpty())) {
                List<OutputTypesourceOutput;
                sourceOutput = this.getOutput();
                @SuppressWarnings("unchecked")
                List<OutputTypecopyOutput = ((List<OutputType> ) strategy.copy(LocatorUtils.property(locator"output"sourceOutput), sourceOutput));
                copy.output = null;
                List<OutputTypeuniqueOutputl = copy.getOutput();
                uniqueOutputl.addAll(copyOutput);
            } else {
                copy.output = null;
            }
            if (this.!= null) {
                LayerType sourceBasemap;
                sourceBasemap = this.getBasemap();
                LayerType copyBasemap = ((LayerTypestrategy.copy(LocatorUtils.property(locator"basemap"sourceBasemap), sourceBasemap));
                copy.setBasemap(copyBasemap);
            } else {
                copy.basemap = null;
            }
            if ((this.!= null)&&(!this..isEmpty())) {
                List<OverlayTypesourceOverlay;
                sourceOverlay = this.getOverlay();
                @SuppressWarnings("unchecked")
                List<OverlayTypecopyOverlay = ((List<OverlayType> ) strategy.copy(LocatorUtils.property(locator"overlay"sourceOverlay), sourceOverlay));
                copy.overlay = null;
                List<OverlayTypeuniqueOverlayl = copy.getOverlay();
                uniqueOverlayl.addAll(copyOverlay);
            } else {
                copy.overlay = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new PortrayMapRequestType();
    }
    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 PortrayMapRequestType) {
            final PortrayMapRequestType target = this;
            final PortrayMapRequestType leftObject = ((PortrayMapRequestTypeleft);
            final PortrayMapRequestType rightObject = ((PortrayMapRequestTyperight);
            {
                List<OutputTypelhsOutput;
                lhsOutput = leftObject.getOutput();
                List<OutputTyperhsOutput;
                rhsOutput = rightObject.getOutput();
                target.output = null;
                List<OutputTypeuniqueOutputl = target.getOutput();
                uniqueOutputl.addAll(((List<OutputType> ) strategy.merge(LocatorUtils.property(leftLocator"output"lhsOutput), LocatorUtils.property(rightLocator"output"rhsOutput), lhsOutputrhsOutput)));
            }
            {
                LayerType lhsBasemap;
                lhsBasemap = leftObject.getBasemap();
                LayerType rhsBasemap;
                rhsBasemap = rightObject.getBasemap();
                target.setBasemap(((LayerTypestrategy.merge(LocatorUtils.property(leftLocator"basemap"lhsBasemap), LocatorUtils.property(rightLocator"basemap"rhsBasemap), lhsBasemaprhsBasemap)));
            }
            {
                List<OverlayTypelhsOverlay;
                lhsOverlay = leftObject.getOverlay();
                List<OverlayTyperhsOverlay;
                rhsOverlay = rightObject.getOverlay();
                target.overlay = null;
                List<OverlayTypeuniqueOverlayl = target.getOverlay();
                uniqueOverlayl.addAll(((List<OverlayType> ) strategy.merge(LocatorUtils.property(leftLocator"overlay"lhsOverlay), LocatorUtils.property(rightLocator"overlay"rhsOverlay), lhsOverlayrhsOverlay)));
            }
        }
    }
    public void setOutput(List<OutputTypevalue) {
        List<OutputTypedraftl = this.getOutput();
        draftl.addAll(value);
    }
    public void setOverlay(List<OverlayTypevalue) {
        List<OverlayTypedraftl = this.getOverlay();
        draftl.addAll(value);
    }
New to GrepCode? Check out our FAQ X