Class DateType

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static DateType CREATION
      Date identifies when the resource was brought into existence.
      static DateType PUBLICATION
      Date identifies when the resource was issued.
      static DateType REVISION
      Date identifies when the resource was examined or re-examined and improved or amended.
      private static long serialVersionUID
      Serial number for compatibility with different versions.
      private static java.util.List<DateType> VALUES
      List of all enumerations of this type.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private DateType​(java.lang.String name)
      Constructs an enum with the given name.
    • Constructor Detail

      • DateType

        private DateType​(java.lang.String name)
        Constructs an enum with the given name. The new enum is automatically added to the list returned by values().
        Parameters:
        name - The enum name. This name must not be in use by an other enum of this type.
    • Method Detail

      • values

        public static DateType[] values()
        Returns the list of DateTypes.
        Returns:
        The list of codes declared in the current JVM.
      • family

        public DateType[] family()
        Returns the list of enumerations of the same kind than this enum.
        Specified by:
        family in class CodeList<DateType>
        Returns:
        The codes of the same kind than this code.
      • valueOf

        public static DateType valueOf​(java.lang.String code)
        Returns the date type that matches the given string, or returns a new one if none match it.
        Parameters:
        code - The name of the code to fetch or to create.
        Returns:
        A code matching the given name.