net.opengis.ows.v_2_0
Class RangeType

java.lang.Object
  extended by net.opengis.ows.v_2_0.RangeType
All Implemented Interfaces:
Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

public class RangeType
extends Object
implements Cloneable, org.jvnet.jaxb2_commons.lang.CopyTo2, org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.MergeFrom2, org.jvnet.jaxb2_commons.lang.ToString2

A range of values of a numeric parameter. This range can be continuous or discrete, defined by a fixed spacing between adjacent valid values. If the MinimumValue or MaximumValue is not included, there is no value limit in that direction. Inclusion of the specified minimum and maximum values in the range shall be defined by the rangeClosure.

Java class for RangeType complex type.

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

 <complexType name="RangeType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.opengis.net/ows/2.0}MinimumValue" minOccurs="0"/>
         <element ref="{http://www.opengis.net/ows/2.0}MaximumValue" minOccurs="0"/>
         <element ref="{http://www.opengis.net/ows/2.0}Spacing" minOccurs="0"/>
       </sequence>
       <attribute ref="{http://www.opengis.net/ows/2.0}rangeClosure"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  ValueType maximumValue
           
protected  ValueType minimumValue
           
protected  List<String> rangeClosure
           
protected  ValueType spacing
           
 
Constructor Summary
RangeType()
           
 
Method Summary
 StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)
           
 Object clone()
           
 Object copyTo(Object target)
           
 Object copyTo(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, Object target, org.jvnet.jaxb2_commons.lang.CopyStrategy2 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.EqualsStrategy2 strategy)
           
 ValueType getMaximumValue()
          Gets the value of the maximumValue property.
 ValueType getMinimumValue()
          Gets the value of the minimumValue property.
 List<String> getRangeClosure()
          Shall be included unless the default value applies.Gets the value of the rangeClosure property.
 ValueType getSpacing()
          Shall be included when the allowed values are NOT continuous in this range.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetMaximumValue()
           
 boolean isSetMinimumValue()
           
 boolean isSetRangeClosure()
           
 boolean isSetSpacing()
           
 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.MergeStrategy2 strategy)
           
 void mergeFrom(Object left, Object right)
           
 void setMaximumValue(ValueType value)
          Sets the value of the maximumValue property.
 void setMinimumValue(ValueType value)
          Sets the value of the minimumValue property.
 void setRangeClosure(List<String> value)
           
 void setSpacing(ValueType value)
          Sets the value of the spacing property.
 String toString()
           
 void unsetRangeClosure()
           
 RangeType withMaximumValue(ValueType value)
           
 RangeType withMinimumValue(ValueType value)
           
 RangeType withRangeClosure(Collection<String> values)
           
 RangeType withRangeClosure(List<String> value)
           
 RangeType withRangeClosure(String... values)
           
 RangeType withSpacing(ValueType value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

minimumValue

protected ValueType minimumValue

maximumValue

protected ValueType maximumValue

spacing

protected ValueType spacing

rangeClosure

protected List<String> rangeClosure
Constructor Detail

RangeType

public RangeType()
Method Detail

getMinimumValue

public ValueType getMinimumValue()
Gets the value of the minimumValue property.

Returns:
possible object is ValueType

setMinimumValue

public void setMinimumValue(ValueType value)
Sets the value of the minimumValue property.

Parameters:
value - allowed object is ValueType

isSetMinimumValue

public boolean isSetMinimumValue()

getMaximumValue

public ValueType getMaximumValue()
Gets the value of the maximumValue property.

Returns:
possible object is ValueType

setMaximumValue

public void setMaximumValue(ValueType value)
Sets the value of the maximumValue property.

Parameters:
value - allowed object is ValueType

isSetMaximumValue

public boolean isSetMaximumValue()

getSpacing

public ValueType getSpacing()
Shall be included when the allowed values are NOT continuous in this range. Shall not be included when the allowed values are continuous in this range.

Returns:
possible object is ValueType

setSpacing

public void setSpacing(ValueType value)
Sets the value of the spacing property.

Parameters:
value - allowed object is ValueType

isSetSpacing

public boolean isSetSpacing()

getRangeClosure

public List<String> getRangeClosure()
Shall be included unless the default value applies.Gets the value of the rangeClosure 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 rangeClosure property.

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

    getRangeClosure().add(newItem);
 

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


isSetRangeClosure

public boolean isSetRangeClosure()

unsetRangeClosure

public void unsetRangeClosure()

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.ToStringStrategy2 strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString2

appendFields

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

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.EqualsStrategy2 strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals2

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.HashCodeStrategy2 strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode2

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.CopyTo2

copyTo

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

createNewInstance

public Object createNewInstance()
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.CopyTo2
Specified by:
createNewInstance in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

mergeFrom

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

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.MergeStrategy2 strategy)
Specified by:
mergeFrom in interface org.jvnet.jaxb2_commons.lang.MergeFrom2

setRangeClosure

public void setRangeClosure(List<String> value)

withMinimumValue

public RangeType withMinimumValue(ValueType value)

withMaximumValue

public RangeType withMaximumValue(ValueType value)

withSpacing

public RangeType withSpacing(ValueType value)

withRangeClosure

public RangeType withRangeClosure(String... values)

withRangeClosure

public RangeType withRangeClosure(Collection<String> values)

withRangeClosure

public RangeType withRangeClosure(List<String> value)


Copyright © 2008-2016. All Rights Reserved.