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 the core information of a service request message.

Java-Klasse für RequestType complex type.

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

 <complexType name="RequestType">
   <complexContent>
     <extension base="{http://www.opengis.net/xls}AbstractBodyType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}_RequestParameters" minOccurs="0"/>
       </sequence>
       <attribute name="methodName" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="requestID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="maximumResponses" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" />
     </extension>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "RequestType", propOrder = {
     "requestParameters"
 })
 public class RequestType
     extends AbstractBodyType
     implements CloneableCopyToEqualsHashCodeMergeFromToString
 {
 
     @XmlElementRef(name = "_RequestParameters", namespace = "http://www.opengis.net/xls", type = JAXBElement.class)
     @XmlAttribute(name = "methodName", required = true)
     @XmlSchemaType(name = "NMTOKEN")
     protected String methodName;
     @XmlAttribute(name = "version", required = true)
     protected String version;
     @XmlAttribute(name = "requestID", required = true)
     protected String requestID;
     @XmlAttribute(name = "maximumResponses")
     @XmlSchemaType(name = "nonNegativeInteger")
     protected BigInteger maximumResponses;

    
Ruft den Wert der requestParameters-Eigenschaft ab.

Returns:
possible object is <> <> <> <> <> <> <> <>
        return ;
    }

    
Legt den Wert der requestParameters-Eigenschaft fest.

Parameters:
value allowed object is <> <> <> <> <> <> <> <>
    public void setRequestParameters(JAXBElement<? extends AbstractRequestParametersTypevalue) {
        this. = value;
    }

    
Ruft den Wert der methodName-Eigenschaft ab.

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

    
Legt den Wert der methodName-Eigenschaft fest.

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

    
Ruft den Wert der version-Eigenschaft ab.

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

    
Legt den Wert der version-Eigenschaft fest.

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

    
Ruft den Wert der requestID-Eigenschaft ab.

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

    
Legt den Wert der requestID-Eigenschaft fest.

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

    
Ruft den Wert der maximumResponses-Eigenschaft ab.

Returns:
possible object is
    public BigInteger getMaximumResponses() {
        return ;
    }

    
Legt den Wert der maximumResponses-Eigenschaft fest.

Parameters:
value allowed object is
    public void setMaximumResponses(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) {
        super.appendFields(locatorbufferstrategy);
        {
            JAXBElement<? extends AbstractRequestParametersTypetheRequestParameters;
            theRequestParameters = this.getRequestParameters();
            strategy.appendField(locatorthis"requestParameters"buffertheRequestParameters);
        }
        {
            String theMethodName;
            theMethodName = this.getMethodName();
            strategy.appendField(locatorthis"methodName"buffertheMethodName);
        }
        {
            String theVersion;
            theVersion = this.getVersion();
            strategy.appendField(locatorthis"version"buffertheVersion);
        }
        {
            String theRequestID;
            theRequestID = this.getRequestID();
            strategy.appendField(locatorthis"requestID"buffertheRequestID);
        }
        {
            BigInteger theMaximumResponses;
            theMaximumResponses = this.getMaximumResponses();
            strategy.appendField(locatorthis"maximumResponses"buffertheMaximumResponses);
        }
        return buffer;
    }
    public boolean equals(ObjectLocator thisLocatorObjectLocator thatLocatorObject objectEqualsStrategy strategy) {
        if (!(object instanceof RequestType)) {
            return false;
        }
        if (this == object) {
            return true;
        }
        if (!super.equals(thisLocatorthatLocatorobjectstrategy)) {
            return false;
        }
        final RequestType that = ((RequestTypeobject);
        {
            JAXBElement<? extends AbstractRequestParametersTypelhsRequestParameters;
            lhsRequestParameters = this.getRequestParameters();
            JAXBElement<? extends AbstractRequestParametersTyperhsRequestParameters;
            rhsRequestParameters = that.getRequestParameters();
            if (!strategy.equals(LocatorUtils.property(thisLocator"requestParameters"lhsRequestParameters), LocatorUtils.property(thatLocator"requestParameters"rhsRequestParameters), lhsRequestParametersrhsRequestParameters)) {
                return false;
            }
        }
        {
            String lhsMethodName;
            lhsMethodName = this.getMethodName();
            String rhsMethodName;
            rhsMethodName = that.getMethodName();
            if (!strategy.equals(LocatorUtils.property(thisLocator"methodName"lhsMethodName), LocatorUtils.property(thatLocator"methodName"rhsMethodName), lhsMethodNamerhsMethodName)) {
                return false;
            }
        }
        {
            String lhsVersion;
            lhsVersion = this.getVersion();
            String rhsVersion;
            rhsVersion = that.getVersion();
            if (!strategy.equals(LocatorUtils.property(thisLocator"version"lhsVersion), LocatorUtils.property(thatLocator"version"rhsVersion), lhsVersionrhsVersion)) {
                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;
            }
        }
        {
            BigInteger lhsMaximumResponses;
            lhsMaximumResponses = this.getMaximumResponses();
            BigInteger rhsMaximumResponses;
            rhsMaximumResponses = that.getMaximumResponses();
            if (!strategy.equals(LocatorUtils.property(thisLocator"maximumResponses"lhsMaximumResponses), LocatorUtils.property(thatLocator"maximumResponses"rhsMaximumResponses), lhsMaximumResponsesrhsMaximumResponses)) {
                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);
        {
            JAXBElement<? extends AbstractRequestParametersTypetheRequestParameters;
            theRequestParameters = this.getRequestParameters();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"requestParameters"theRequestParameters), currentHashCodetheRequestParameters);
        }
        {
            String theMethodName;
            theMethodName = this.getMethodName();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"methodName"theMethodName), currentHashCodetheMethodName);
        }
        {
            String theVersion;
            theVersion = this.getVersion();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"version"theVersion), currentHashCodetheVersion);
        }
        {
            String theRequestID;
            theRequestID = this.getRequestID();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"requestID"theRequestID), currentHashCodetheRequestID);
        }
        {
            BigInteger theMaximumResponses;
            theMaximumResponses = this.getMaximumResponses();
            currentHashCode = strategy.hashCode(LocatorUtils.property(locator"maximumResponses"theMaximumResponses), currentHashCodetheMaximumResponses);
        }
        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 RequestType) {
            final RequestType copy = ((RequestTypedraftCopy);
            if (this.!= null) {
                JAXBElement<? extends AbstractRequestParametersTypesourceRequestParameters;
                sourceRequestParameters = this.getRequestParameters();
                @SuppressWarnings("unchecked")
                JAXBElement<? extends AbstractRequestParametersTypecopyRequestParameters = ((JAXBElement<? extends AbstractRequestParametersType> ) strategy.copy(LocatorUtils.property(locator"requestParameters"sourceRequestParameters), sourceRequestParameters));
                copy.setRequestParameters(copyRequestParameters);
            } else {
                copy.requestParameters = null;
            }
            if (this.!= null) {
                String sourceMethodName;
                sourceMethodName = this.getMethodName();
                String copyMethodName = ((Stringstrategy.copy(LocatorUtils.property(locator"methodName"sourceMethodName), sourceMethodName));
                copy.setMethodName(copyMethodName);
            } else {
                copy.methodName = null;
            }
            if (this.!= null) {
                String sourceVersion;
                sourceVersion = this.getVersion();
                String copyVersion = ((Stringstrategy.copy(LocatorUtils.property(locator"version"sourceVersion), sourceVersion));
                copy.setVersion(copyVersion);
            } else {
                copy.version = 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;
            }
            if (this.!= null) {
                BigInteger sourceMaximumResponses;
                sourceMaximumResponses = this.getMaximumResponses();
                BigInteger copyMaximumResponses = ((BigIntegerstrategy.copy(LocatorUtils.property(locator"maximumResponses"sourceMaximumResponses), sourceMaximumResponses));
                copy.setMaximumResponses(copyMaximumResponses);
            } else {
                copy.maximumResponses = null;
            }
        }
        return draftCopy;
    }
    public Object createNewInstance() {
        return new RequestType();
    }
    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 RequestType) {
            final RequestType target = this;
            final RequestType leftObject = ((RequestTypeleft);
            final RequestType rightObject = ((RequestTyperight);
            {
                JAXBElement<? extends AbstractRequestParametersTypelhsRequestParameters;
                lhsRequestParameters = leftObject.getRequestParameters();
                JAXBElement<? extends AbstractRequestParametersTyperhsRequestParameters;
                rhsRequestParameters = rightObject.getRequestParameters();
                target.setRequestParameters(((JAXBElement<? extends AbstractRequestParametersType> ) strategy.merge(LocatorUtils.property(leftLocator"requestParameters"lhsRequestParameters), LocatorUtils.property(rightLocator"requestParameters"rhsRequestParameters), lhsRequestParametersrhsRequestParameters)));
            }
            {
                String lhsMethodName;
                lhsMethodName = leftObject.getMethodName();
                String rhsMethodName;
                rhsMethodName = rightObject.getMethodName();
                target.setMethodName(((Stringstrategy.merge(LocatorUtils.property(leftLocator"methodName"lhsMethodName), LocatorUtils.property(rightLocator"methodName"rhsMethodName), lhsMethodNamerhsMethodName)));
            }
            {
                String lhsVersion;
                lhsVersion = leftObject.getVersion();
                String rhsVersion;
                rhsVersion = rightObject.getVersion();
                target.setVersion(((Stringstrategy.merge(LocatorUtils.property(leftLocator"version"lhsVersion), LocatorUtils.property(rightLocator"version"rhsVersion), lhsVersionrhsVersion)));
            }
            {
                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)));
            }
            {
                BigInteger lhsMaximumResponses;
                lhsMaximumResponses = leftObject.getMaximumResponses();
                BigInteger rhsMaximumResponses;
                rhsMaximumResponses = rightObject.getMaximumResponses();
                target.setMaximumResponses(((BigIntegerstrategy.merge(LocatorUtils.property(leftLocator"maximumResponses"lhsMaximumResponses), LocatorUtils.property(rightLocator"maximumResponses"rhsMaximumResponses), lhsMaximumResponsesrhsMaximumResponses)));
            }
        }
    }
New to GrepCode? Check out our FAQ X