Enum Class OfflineSynchModeType

java.lang.Object
java.lang.Enum<OfflineSynchModeType>
dev.jcputney.elearning.parser.input.lom.properties.OfflineSynchModeType
All Implemented Interfaces:
Serializable, Comparable<OfflineSynchModeType>, Constable

public enum OfflineSynchModeType extends Enum<OfflineSynchModeType>

Enum representing the offlineSynchModeType simple type.

The following schema snippet defines the possible values:


 <xs:simpleType name="offlineSynchModeType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="most recent" />
     <xs:enumeration value="simple" />
     <xs:enumeration value="most complete" />
     <xs:enumeration value="most satisfied" />
     <xs:enumeration value="most done" />
     <xs:enumeration value="best done " />
   </xs:restriction>
 </xs:simpleType>
 
  • Enum Constant Details

    • MOST_RECENT

      public static final OfflineSynchModeType MOST_RECENT
      The offline synchronization mode is the most recent.
    • SIMPLE

      public static final OfflineSynchModeType SIMPLE
      The offline synchronization mode is straightforward.
    • MOST_COMPLETE

      public static final OfflineSynchModeType MOST_COMPLETE
      The offline synchronization mode is the most complete.
    • MOST_SATISFIED

      public static final OfflineSynchModeType MOST_SATISFIED
      The offline synchronization mode is most satisfied.
    • MOST_DONE

      public static final OfflineSynchModeType MOST_DONE
      The offline synchronization mode is most done.
    • BEST_DONE

      public static final OfflineSynchModeType BEST_DONE
      The offline synchronization mode is best done.
  • Method Details

    • values

      public static OfflineSynchModeType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OfflineSynchModeType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null