net.opengis.ols.v_1_2
Class XLSType

java.lang.Object
  extended by net.opengis.ols.v_1_2.XLSType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

public class XLSType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.MergeFrom, org.jvnet.jaxb2_commons.lang.ToString

Defines the top element of an XML document representing a message.

Java class for XLSType complex type.

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

 <complexType name="XLSType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/xls}_Header"/>
         <element ref="{http://www.opengis.net/xls}_Body" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="version" use="required" type="{http://www.w3.org/2001/XMLSchema}decimal" />
       <attribute ref="{http://www.opengis.net/xls}lang"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<JAXBElement<? extends AbstractBodyType>> body
           
protected  JAXBElement<? extends AbstractHeaderType> header
           
protected  String lang
           
protected  BigDecimal version
           
 
Constructor Summary
XLSType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
           
 Object createNewInstance()
           
 boolean equals(Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 List<JAXBElement<? extends AbstractBodyType>> getBody()
          Gets the value of the body property.
 JAXBElement<? extends AbstractHeaderType> getHeader()
          Gets the value of the header property.
 String getLang()
          Defines the preferred language used for formatting responses.
 BigDecimal getVersion()
          Gets the value of the version property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetBody()
           
 boolean isSetHeader()
           
 boolean isSetLang()
           
 boolean isSetVersion()
           
 void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator, Object left, Object right, org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setBody(List<JAXBElement<? extends AbstractBodyType>> value)
           
 void setHeader(JAXBElement<? extends AbstractHeaderType> value)
          Sets the value of the header property.
 void setLang(String value)
          Sets the value of the lang property.
 void setVersion(BigDecimal value)
          Sets the value of the version property.
 String toString()
           
 void unsetBody()
           
 XLSType withBody(Collection<JAXBElement<? extends AbstractBodyType>> values)
           
 XLSType withBody(JAXBElement<? extends AbstractBodyType>... values)
           
 XLSType withBody(List<JAXBElement<? extends AbstractBodyType>> value)
           
 XLSType withHeader(JAXBElement<? extends AbstractHeaderType> value)
           
 XLSType withLang(String value)
           
 XLSType withVersion(BigDecimal value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

header

protected JAXBElement<? extends AbstractHeaderType> header

body

protected List<JAXBElement<? extends AbstractBodyType>> body

version

protected BigDecimal version

lang

protected String lang
Constructor Detail

XLSType

public XLSType()
Method Detail

getHeader

public JAXBElement<? extends AbstractHeaderType> getHeader()
Gets the value of the header property.

Returns:
possible object is JAXBElement<ResponseHeaderType> JAXBElement<AbstractHeaderType> JAXBElement<RequestHeaderType>

setHeader

public void setHeader(JAXBElement<? extends AbstractHeaderType> value)
Sets the value of the header property.

Parameters:
value - allowed object is JAXBElement<ResponseHeaderType> JAXBElement<AbstractHeaderType> JAXBElement<RequestHeaderType>

isSetHeader

public boolean isSetHeader()

getBody

public List<JAXBElement<? extends AbstractBodyType>> getBody()
Gets the value of the body 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 body property.

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

    getBody().add(newItem);
 

Objects of the following type(s) are allowed in the list JAXBElement<ResponseType> JAXBElement<RequestType> JAXBElement<AbstractBodyType>


isSetBody

public boolean isSetBody()

unsetBody

public void unsetBody()

getVersion

public BigDecimal getVersion()
Gets the value of the version property.

Returns:
possible object is BigDecimal

setVersion

public void setVersion(BigDecimal value)
Sets the value of the version property.

Parameters:
value - allowed object is BigDecimal

isSetVersion

public boolean isSetVersion()

getLang

public String getLang()
Defines the preferred language used for formatting responses.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String

isSetLang

public boolean isSetLang()

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class Object

clone

public Object clone()
Overrides:
clone in class Object

copyTo

public Object copyTo(Object target)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

copyTo

public Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                     Object target,
                     org.jvnet.jaxb2_commons.lang.CopyStrategy strategy)
Specified by:
copyTo in interface org.jvnet.jaxb2_commons.lang.CopyTo

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom

mergeFrom

public void mergeFrom(Object left,
                      Object right)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom

mergeFrom

public void mergeFrom(org.jvnet.jaxb2_commons.locator.ObjectLocator leftLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator rightLocator,
                      Object left,
                      Object right,
                      org.jvnet.jaxb2_commons.lang.MergeStrategy strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom

setBody

public void setBody(List<JAXBElement<? extends AbstractBodyType>> value)

withHeader

public XLSType withHeader(JAXBElement<? extends AbstractHeaderType> value)

withBody

public XLSType withBody(JAXBElement<? extends AbstractBodyType>... values)

withBody

public XLSType withBody(Collection<JAXBElement<? extends AbstractBodyType>> values)

withVersion

public XLSType withVersion(BigDecimal value)

withLang

public XLSType withLang(String value)

withBody

public XLSType withBody(List<JAXBElement<? extends AbstractBodyType>> value)


Copyright © 2008-2015. All Rights Reserved.