net.opengis.iso19139.gco.v_20070417
Class NumberPropertyType

java.lang.Object
  extended by net.opengis.iso19139.gco.v_20070417.NumberPropertyType
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 NumberPropertyType
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

Java class for Number_PropertyType complex type.

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

 <complexType name="Number_PropertyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <choice minOccurs="0">
         <element ref="{http://www.isotc211.org/2005/gco}Real"/>
         <element ref="{http://www.isotc211.org/2005/gco}Decimal"/>
         <element ref="{http://www.isotc211.org/2005/gco}Integer"/>
       </choice>
       <attribute ref="{http://www.isotc211.org/2005/gco}nilReason"/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  BigDecimal decimal
           
protected  BigInteger integer
           
protected  List<String> nilReason
           
protected  Double real
           
 
Constructor Summary
NumberPropertyType()
           
 
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)
           
 BigDecimal getDecimal()
          Gets the value of the decimal property.
 BigInteger getInteger()
          Gets the value of the integer property.
 List<String> getNilReason()
          Gets the value of the nilReason property.
 Double getReal()
          Gets the value of the real property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isSetDecimal()
           
 boolean isSetInteger()
           
 boolean isSetNilReason()
           
 boolean isSetReal()
           
 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 setDecimal(BigDecimal value)
          Sets the value of the decimal property.
 void setInteger(BigInteger value)
          Sets the value of the integer property.
 void setNilReason(List<String> value)
           
 void setReal(Double value)
          Sets the value of the real property.
 String toString()
           
 void unsetNilReason()
           
 NumberPropertyType withDecimal(BigDecimal value)
           
 NumberPropertyType withInteger(BigInteger value)
           
 NumberPropertyType withNilReason(Collection<String> values)
           
 NumberPropertyType withNilReason(List<String> value)
           
 NumberPropertyType withNilReason(String... values)
           
 NumberPropertyType withReal(Double value)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

real

protected Double real

decimal

protected BigDecimal decimal

integer

protected BigInteger integer

nilReason

protected List<String> nilReason
Constructor Detail

NumberPropertyType

public NumberPropertyType()
Method Detail

getReal

public Double getReal()
Gets the value of the real property.

Returns:
possible object is Double

setReal

public void setReal(Double value)
Sets the value of the real property.

Parameters:
value - allowed object is Double

isSetReal

public boolean isSetReal()

getDecimal

public BigDecimal getDecimal()
Gets the value of the decimal property.

Returns:
possible object is BigDecimal

setDecimal

public void setDecimal(BigDecimal value)
Sets the value of the decimal property.

Parameters:
value - allowed object is BigDecimal

isSetDecimal

public boolean isSetDecimal()

getInteger

public BigInteger getInteger()
Gets the value of the integer property.

Returns:
possible object is BigInteger

setInteger

public void setInteger(BigInteger value)
Sets the value of the integer property.

Parameters:
value - allowed object is BigInteger

isSetInteger

public boolean isSetInteger()

getNilReason

public List<String> getNilReason()
Gets the value of the nilReason 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 nilReason property.

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

    getNilReason().add(newItem);
 

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


isSetNilReason

public boolean isSetNilReason()

unsetNilReason

public void unsetNilReason()

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

setNilReason

public void setNilReason(List<String> value)

withReal

public NumberPropertyType withReal(Double value)

withDecimal

public NumberPropertyType withDecimal(BigDecimal value)

withInteger

public NumberPropertyType withInteger(BigInteger value)

withNilReason

public NumberPropertyType withNilReason(String... values)

withNilReason

public NumberPropertyType withNilReason(Collection<String> values)

withNilReason

public NumberPropertyType withNilReason(List<String> value)


Copyright © 2008-2015. All Rights Reserved.