Class FuzzyDate

java.lang.Object
org.orcid.jaxb.model.message.FuzzyDate
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
PublicationDate

public class FuzzyDate extends Object implements Serializable

Java class for fuzzy-date complex type.

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

 <complexType name="fuzzy-date">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://www.orcid.org/ns/orcid}year"/>
         <sequence minOccurs="0">
           <element ref="{http://www.orcid.org/ns/orcid}month"/>
           <element ref="{http://www.orcid.org/ns/orcid}day" minOccurs="0"/>
         </sequence>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • year

      protected Year year
    • month

      protected Month month
    • day

      protected Day day
  • Constructor Details

    • FuzzyDate

      public FuzzyDate()
    • FuzzyDate

      public FuzzyDate(Year year, Month month, Day day)
    • FuzzyDate

      public FuzzyDate(Integer year, Integer month, Integer day)
    • FuzzyDate

      public FuzzyDate(FuzzyDate other)
  • Method Details

    • getYear

      public Year getYear()
      Gets the value of the year property.
      Returns:
      possible object is Year
    • setYear

      public void setYear(Year value)
      Sets the value of the year property.
      Parameters:
      value - allowed object is Year
    • getMonth

      public Month getMonth()
      Gets the value of the month property.
      Returns:
      possible object is Month
    • setMonth

      public void setMonth(Month value)
      Sets the value of the month property.
      Parameters:
      value - allowed object is Month
    • getDay

      public Day getDay()
      Gets the value of the day property.
      Returns:
      possible object is Day
    • setDay

      public void setDay(Day value)
      Sets the value of the day property.
      Parameters:
      value - allowed object is Day
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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