Enum Class AccommodationType

java.lang.Object
java.lang.Enum<AccommodationType>
de.hybris.platform.travelservices.enums.AccommodationType
All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue, Serializable, Comparable<AccommodationType>, Constable

public enum AccommodationType extends Enum<AccommodationType> implements de.hybris.platform.core.HybrisEnumValue
Generated enum AccommodationType declared at extension travelservices.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Generated enum value for AccommodationType.APARTMENT declared at extension travelservices.
    Generated enum value for AccommodationType.BERTH declared at extension travelservices.
    Generated enum value for AccommodationType.CABIN declared at extension travelservices.
    Generated enum value for AccommodationType.ROOM declared at extension travelservices.
    Generated enum value for AccommodationType.SEAT declared at extension travelservices.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Generated model type code constant.
    static final String
    Generated simple class name constant.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the code of this enum value.
    Gets the type this enum value belongs to.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ROOM

      public static final AccommodationType ROOM
      Generated enum value for AccommodationType.ROOM declared at extension travelservices.
    • CABIN

      public static final AccommodationType CABIN
      Generated enum value for AccommodationType.CABIN declared at extension travelservices.
    • BERTH

      public static final AccommodationType BERTH
      Generated enum value for AccommodationType.BERTH declared at extension travelservices.
    • SEAT

      public static final AccommodationType SEAT
      Generated enum value for AccommodationType.SEAT declared at extension travelservices.
    • APARTMENT

      public static final AccommodationType APARTMENT
      Generated enum value for AccommodationType.APARTMENT declared at extension travelservices.
  • Field Details

  • Method Details

    • values

      public static AccommodationType[] 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 AccommodationType 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
    • getCode

      public String getCode()
      Gets the code of this enum value.
      Specified by:
      getCode in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of value
    • getType

      public String getType()
      Gets the type this enum value belongs to.
      Specified by:
      getType in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of type