Class ProximityItemType

java.lang.Object
de.hybris.platform.travelservices.enums.ProximityItemType
All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue, Serializable

public class ProximityItemType extends Object implements de.hybris.platform.core.HybrisEnumValue
Generated enum ProximityItemType declared at extension travelservices.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • SIMPLE_CLASSNAME

      public static final String SIMPLE_CLASSNAME
      Generated simple class name constant.
      See Also:
    • POWER_PORT

      public static final ProximityItemType POWER_PORT
      Generated enum value for ProximityItemType.POWER_PORT declared at extension travelservices.
    • EMERGENCY_EXIT

      public static final ProximityItemType EMERGENCY_EXIT
      Generated enum value for ProximityItemType.EMERGENCY_EXIT declared at extension travelservices.
    • GALLEY

      public static final ProximityItemType GALLEY
      Generated enum value for ProximityItemType.GALLEY declared at extension travelservices.
    • LAVATORY

      public static final ProximityItemType LAVATORY
      Generated enum value for ProximityItemType.LAVATORY declared at extension travelservices.
    • CLOSET

      public static final ProximityItemType CLOSET
      Generated enum value for ProximityItemType.CLOSET declared at extension travelservices.
    • BASSINET

      public static final ProximityItemType BASSINET
      Generated enum value for ProximityItemType.BASSINET declared at extension travelservices.
    • ACCESSIBILITY

      public static final ProximityItemType ACCESSIBILITY
      Generated enum value for ProximityItemType.ACCESSIBILITY declared at extension travelservices.
  • Method Details

    • equals

      public boolean equals(Object obj)
      Compares this object to the specified object. The result is true if and only if the argument is not null and is an ProximityItemType object that contains the enum value code as this object.
      Overrides:
      equals in class Object
      Parameters:
      obj - the object to compare with.
      Returns:
      true if the objects are the same; false otherwise.
    • 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
    • hashCode

      public int hashCode()
      Returns a hash code for this ProximityItemType.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for this object, equal to the enum value code represented by this ProximityItemType object.
    • toString

      public String toString()
      Returns the code representing this enum value.
      Overrides:
      toString in class Object
      Returns:
      a string representation of the value of this object.
    • valueOf

      public static ProximityItemType valueOf(String code)
      Returns a ProximityItemType instance representing the specified enum value.
      Parameters:
      code - an enum value
      Returns:
      a ProximityItemType instance representing value.