net.opengis.ows.v_2_0
Class BoundingBoxType

java.lang.Object
  extended by net.opengis.ows.v_2_0.BoundingBoxType
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
Direct Known Subclasses:
WGS84BoundingBoxType

public class BoundingBoxType
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

This type is adapted from the EnvelopeType of GML 3.1, with modified contents and documentation for encoding a MINIMUM size box SURROUNDING all associated data.

Java class for BoundingBoxType complex type.

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

 <complexType name="BoundingBoxType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="LowerCorner" type="{http://www.opengis.net/ows/2.0}PositionType"/>
         <element name="UpperCorner" type="{http://www.opengis.net/ows/2.0}PositionType"/>
       </sequence>
       <attribute name="crs" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
       <attribute name="dimensions" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String crs
           
protected  BigInteger dimensions
           
protected  List<Double> lowerCorner
           
protected  List<Double> upperCorner
           
 
Constructor Summary
BoundingBoxType()
           
 
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)
           
 String getCrs()
          Gets the value of the crs property.
 BigInteger getDimensions()
          Gets the value of the dimensions property.
 List<Double> getLowerCorner()
          Gets the value of the lowerCorner property.
 List<Double> getUpperCorner()
          Gets the value of the upperCorner property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 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 setCrs(String value)
          Sets the value of the crs property.
 void setDimensions(BigInteger value)
          Sets the value of the dimensions property.
 void setLowerCorner(List<Double> value)
           
 void setUpperCorner(List<Double> value)
           
 String toString()
           
 BoundingBoxType withCrs(String value)
           
 BoundingBoxType withDimensions(BigInteger value)
           
 BoundingBoxType withLowerCorner(Collection<Double> values)
           
 BoundingBoxType withLowerCorner(Double... values)
           
 BoundingBoxType withLowerCorner(List<Double> value)
           
 BoundingBoxType withUpperCorner(Collection<Double> values)
           
 BoundingBoxType withUpperCorner(Double... values)
           
 BoundingBoxType withUpperCorner(List<Double> value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

lowerCorner

protected List<Double> lowerCorner

upperCorner

protected List<Double> upperCorner

crs

protected String crs

dimensions

protected BigInteger dimensions
Constructor Detail

BoundingBoxType

public BoundingBoxType()
Method Detail

getLowerCorner

public List<Double> getLowerCorner()
Gets the value of the lowerCorner 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 lowerCorner property.

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

    getLowerCorner().add(newItem);
 

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


getUpperCorner

public List<Double> getUpperCorner()
Gets the value of the upperCorner 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 upperCorner property.

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

    getUpperCorner().add(newItem);
 

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


getCrs

public String getCrs()
Gets the value of the crs property.

Returns:
possible object is String

setCrs

public void setCrs(String value)
Sets the value of the crs property.

Parameters:
value - allowed object is String

getDimensions

public BigInteger getDimensions()
Gets the value of the dimensions property.

Returns:
possible object is BigInteger

setDimensions

public void setDimensions(BigInteger value)
Sets the value of the dimensions property.

Parameters:
value - allowed object is BigInteger

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

setLowerCorner

public void setLowerCorner(List<Double> value)

setUpperCorner

public void setUpperCorner(List<Double> value)

withLowerCorner

public BoundingBoxType withLowerCorner(Double... values)

withLowerCorner

public BoundingBoxType withLowerCorner(Collection<Double> values)

withUpperCorner

public BoundingBoxType withUpperCorner(Double... values)

withUpperCorner

public BoundingBoxType withUpperCorner(Collection<Double> values)

withCrs

public BoundingBoxType withCrs(String value)

withDimensions

public BoundingBoxType withDimensions(BigInteger value)

withLowerCorner

public BoundingBoxType withLowerCorner(List<Double> value)

withUpperCorner

public BoundingBoxType withUpperCorner(List<Double> value)


Copyright © 2008-2015. All Rights Reserved.