net.opengis.iso19139.gco.v_20060504
Class DatePropertyType

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

Java class for Date_PropertyType complex type.

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

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


Field Summary
protected  String date
           
protected  XMLGregorianCalendar dateTime
           
protected  List<String> nilReason
           
 
Constructor Summary
DatePropertyType()
           
 
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)
           
 String getDate()
          Gets the value of the date property.
 XMLGregorianCalendar getDateTime()
          Gets the value of the dateTime property.
 List<String> getNilReason()
          Gets the value of the nilReason property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)
           
 boolean isSetDate()
           
 boolean isSetDateTime()
           
 boolean isSetNilReason()
           
 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 setDate(String value)
          Sets the value of the date property.
 void setDateTime(XMLGregorianCalendar value)
          Sets the value of the dateTime property.
 void setNilReason(List<String> value)
           
 String toString()
           
 void unsetNilReason()
           
 DatePropertyType withDate(String value)
           
 DatePropertyType withDateTime(XMLGregorianCalendar value)
           
 DatePropertyType withNilReason(Collection<String> values)
           
 DatePropertyType withNilReason(List<String> value)
           
 DatePropertyType withNilReason(String... values)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

date

protected String date

dateTime

protected XMLGregorianCalendar dateTime

nilReason

protected List<String> nilReason
Constructor Detail

DatePropertyType

public DatePropertyType()
Method Detail

getDate

public String getDate()
Gets the value of the date property.

Returns:
possible object is String

setDate

public void setDate(String value)
Sets the value of the date property.

Parameters:
value - allowed object is String

isSetDate

public boolean isSetDate()

getDateTime

public XMLGregorianCalendar getDateTime()
Gets the value of the dateTime property.

Returns:
possible object is XMLGregorianCalendar

setDateTime

public void setDateTime(XMLGregorianCalendar value)
Sets the value of the dateTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

isSetDateTime

public boolean isSetDateTime()

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

setNilReason

public void setNilReason(List<String> value)

withDate

public DatePropertyType withDate(String value)

withDateTime

public DatePropertyType withDateTime(XMLGregorianCalendar value)

withNilReason

public DatePropertyType withNilReason(String... values)

withNilReason

public DatePropertyType withNilReason(Collection<String> values)

withNilReason

public DatePropertyType withNilReason(List<String> value)


Copyright © 2008-2016. All Rights Reserved.