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;
 

Java class for SLIAType complex type.

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

 <complexType name="SLIAType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}AbstractResponseParametersType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}OutputGatewayParameters"/>
       </sequence>
       <attribute name="requestID" type="{http://www.w3.org/2001/XMLSchema}string" />
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "SLIAType", propOrder = {
     "outputGatewayParameters"
 })
 public class SLIAType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElement(name = "OutputGatewayParameters", required = true)
     @XmlAttribute(name = "requestID")
     protected String requestID;

    
Gets the value of the outputGatewayParameters property.

Returns:
possible object is
 
         return ;
     }

    
Sets the value of the outputGatewayParameters property.

Parameters:
value allowed object is
 
         this. = value;
     }

    
Gets the value of the requestID property.

Returns:
possible object is
    public String getRequestID() {
        return ;
    }

    
Sets the value of the requestID property.

Parameters:
value allowed object is
    public void setRequestID(String 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) {
        super.appendFields(locatorbufferstrategy);
        {
            OutputGatewayParametersType theOutputGatewayParameters;
            theOutputGatewayParameters = this.getOutputGatewayParameters();
            strategy.appendField(locatorthis"outputGatewayParameters"buffertheOutputGatewayParameters);
        }
        {
            String theRequestID;
            theRequestID = this.getRequestID();
            strategy.appendField(locatorthis"requestID"buffertheRequestID);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof SLIAType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final SLIAType that = ((SLIATypeobject);
        {
            OutputGatewayParametersType lhsOutputGatewayParameters;
            lhsOutputGatewayParameters = this.getOutputGatewayParameters();
            OutputGatewayParametersType rhsOutputGatewayParameters;
            rhsOutputGatewayParameters = that.getOutputGatewayParameters();
            if (!strategy.equals(LocatorUtils.property(thisLocator"outputGatewayParameters"lhsOutputGatewayParameters), LocatorUtils.property(thatLocator"outputGatewayParameters"rhsOutputGatewayParameters), lhsOutputGatewayParametersrhsOutputGatewayParameters)) {
                return false;
            }
        }
        {
            String lhsRequestID;
            lhsRequestID = this.getRequestID();
            String rhsRequestID;
            rhsRequestID = that.getRequestID();
            if (!strategy.equals(LocatorUtils.property(thisLocator"requestID"lhsRequestID), LocatorUtils.property(thatLocator"requestID"rhsRequestID), lhsRequestIDrhsRequestID)) {
                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);
        {
            OutputGatewayParametersType theOutputGatewayParameters;
            theOutputGatewayParameters = this.getOutputGatewayParameters();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"outputGatewayParameters"theOutputGatewayParameters), currentHashCodetheOutputGatewayParameters);
        }
        {
            String theRequestID;
            theRequestID = this.getRequestID();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"requestID"theRequestID), currentHashCodetheRequestID);
        }
        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 SLIAType) {
            final SLIAType copy = ((SLIATypedraftCopy);
            if (this.!= null) {
                OutputGatewayParametersType sourceOutputGatewayParameters;
                sourceOutputGatewayParameters = this.getOutputGatewayParameters();
                OutputGatewayParametersType copyOutputGatewayParameters = ((OutputGatewayParametersTypestrategy.copy(LocatorUtils.property(locator"outputGatewayParameters"sourceOutputGatewayParameters), sourceOutputGatewayParameters));
                copy.setOutputGatewayParameters(copyOutputGatewayParameters);
            } else {
                copy.outputGatewayParameters = null;
            }
            if (this.!= null) {
                String sourceRequestID;
                sourceRequestID = this.getRequestID();
                String copyRequestID = ((Stringstrategy.copy(LocatorUtils.property(locator"requestID"sourceRequestID), sourceRequestID));
                copy.setRequestID(copyRequestID);
            } else {
                copy.requestID = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new SLIAType();
    }
    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 SLIAType) {
            final SLIAType target = this;
            final SLIAType leftObject = ((SLIATypeleft);
            final SLIAType rightObject = ((SLIATyperight);
            {
                OutputGatewayParametersType lhsOutputGatewayParameters;
                lhsOutputGatewayParameters = leftObject.getOutputGatewayParameters();
                OutputGatewayParametersType rhsOutputGatewayParameters;
                rhsOutputGatewayParameters = rightObject.getOutputGatewayParameters();
                target.setOutputGatewayParameters(((OutputGatewayParametersTypestrategy.merge(LocatorUtils.property(leftLocator"outputGatewayParameters"lhsOutputGatewayParameters), LocatorUtils.property(rightLocator"outputGatewayParameters"rhsOutputGatewayParameters), lhsOutputGatewayParametersrhsOutputGatewayParameters)));
            }
            {
                String lhsRequestID;
                lhsRequestID = leftObject.getRequestID();
                String rhsRequestID;
                rhsRequestID = rightObject.getRequestID();
                target.setRequestID(((Stringstrategy.merge(LocatorUtils.property(leftLocator"requestID"lhsRequestID), LocatorUtils.property(rightLocator"requestID"rhsRequestID), lhsRequestIDrhsRequestID)));
            }
        }
    }
New to GrepCode? Check out our FAQ X