Class IndeterminateValue

    • Field Detail

      • UNKNOWN

        public static final IndeterminateValue UNKNOWN
        Shall be used with the parent class TemporalPosition to indicate that not specific value for temporal position is provided.
      • NOW

        public static final IndeterminateValue NOW
        Shall be used with any subtype of TemporalPosition to indicate that the specified value shall be replaced with the current temporal position whenever the value is accessed.
      • BEFORE

        public static final IndeterminateValue BEFORE
        Shall be used with any subtype of TemporalPosition to indicate that the actual temporal position is unknow, but it is know to be before the specified value.
      • AFTER

        public static final IndeterminateValue AFTER
        Shall be used with any subtype of TemporalPosition to indicate that the actual temporal position is unknow, but it is know to be after the specified value.
    • Method Detail

      • values

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

        public IndeterminateValue[] family()
        Returns the list of codes of the same kind than this code list element. Invoking this method is equivalent to invoking values(), except that this method can be invoked on an instance of the parent CodeList class.
        Specified by:
        family in interface ControlledVocabulary
        Specified by:
        family in class CodeList<IndeterminateValue>
        Returns:
        all code values for this code list.
      • valueOf

        public static IndeterminateValue valueOf​(String code)
        Returns the indeterminate value that matches the given string, or returns a new one if none match it. More specifically, this methods returns the first instance for which name().equals(code) returns true. If no existing instance is found, then a new one is created for the given name.
        Parameters:
        code - the name of the code to fetch or to create.
        Returns:
        a code matching the given name.