Class FuzzyDate

java.lang.Object
org.orcid.jaxb.model.common_v2.FuzzyDate
All Implemented Interfaces:
Serializable, Comparable<FuzzyDate>
Direct Known Subclasses:
PublicationDate

public class FuzzyDate extends Object implements Serializable, Comparable<FuzzyDate>

Java class for fuzzy-date complex type.

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

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(FuzzyDate other)
    • FuzzyDate

      public FuzzyDate(FuzzyDate other)
  • Method Details

    • valueOf

      public static FuzzyDate valueOf(Integer year, Integer month, Integer day)
    • 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
    • compareTo

      public int compareTo(FuzzyDate otherFuzzyDate)
      Specified by:
      compareTo in interface Comparable<FuzzyDate>