Enum Slot.SlotStatus

    • Enum Constant Detail

      • BUSY

        public static final Slot.SlotStatus BUSY
        Indicates that the time interval is busy because one or more events have been scheduled for that interval.
      • FREE

        public static final Slot.SlotStatus FREE
        Indicates that the time interval is free for scheduling.
      • BUSYUNAVAILABLE

        public static final Slot.SlotStatus BUSYUNAVAILABLE
        Indicates that the time interval is busy and that the interval can not be scheduled.
      • BUSYTENTATIVE

        public static final Slot.SlotStatus BUSYTENTATIVE
        Indicates that the time interval is busy because one or more events have been tentatively scheduled for that interval.
      • NULL

        public static final Slot.SlotStatus NULL
        added to help the parsers with the generic types
    • Method Detail

      • values

        public static Slot.SlotStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Slot.SlotStatus c : Slot.SlotStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Slot.SlotStatus valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • fromCode

        public static Slot.SlotStatus fromCode​(String codeString)
                                        throws org.hl7.fhir.exceptions.FHIRException
        Throws:
        org.hl7.fhir.exceptions.FHIRException