Class RoomType
java.lang.Object
de.hybris.platform.travelservices.enums.RoomType
- All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue,Serializable
Generated enum RoomType declared at extension travelservices.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final RoomTypeGenerated enum value for RoomType.EIGHT_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.FIVE_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.FOUR_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.NINE_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.ONE_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.SEVEN_PEOPLE_ROOM declared at extension travelservices.static final StringGenerated simple class name constant.static final RoomTypeGenerated enum value for RoomType.SIX_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.THREE_PEOPLE_ROOM declared at extension travelservices.static final RoomTypeGenerated enum value for RoomType.TWO_PEOPLE_ROOM declared at extension travelservices. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this object to the specified object.getCode()Gets the code of this enum value.getType()Gets the type this enum value belongs to.inthashCode()Returns a hash code for thisRoomType.toString()Returns the code representing this enum value.static RoomTypeReturns a RoomType instance representing the specified enum value.
-
Field Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
SIMPLE_CLASSNAME
Generated simple class name constant.- See Also:
-
ONE_PEOPLE_ROOM
Generated enum value for RoomType.ONE_PEOPLE_ROOM declared at extension travelservices. -
TWO_PEOPLE_ROOM
Generated enum value for RoomType.TWO_PEOPLE_ROOM declared at extension travelservices. -
THREE_PEOPLE_ROOM
Generated enum value for RoomType.THREE_PEOPLE_ROOM declared at extension travelservices. -
FOUR_PEOPLE_ROOM
Generated enum value for RoomType.FOUR_PEOPLE_ROOM declared at extension travelservices. -
FIVE_PEOPLE_ROOM
Generated enum value for RoomType.FIVE_PEOPLE_ROOM declared at extension travelservices. -
SIX_PEOPLE_ROOM
Generated enum value for RoomType.SIX_PEOPLE_ROOM declared at extension travelservices. -
SEVEN_PEOPLE_ROOM
Generated enum value for RoomType.SEVEN_PEOPLE_ROOM declared at extension travelservices. -
EIGHT_PEOPLE_ROOM
Generated enum value for RoomType.EIGHT_PEOPLE_ROOM declared at extension travelservices. -
NINE_PEOPLE_ROOM
Generated enum value for RoomType.NINE_PEOPLE_ROOM declared at extension travelservices.
-
-
Method Details
-
equals
Compares this object to the specified object. The result istrueif and only if the argument is notnulland is anRoomTypeobject that contains the enum valuecodeas this object. -
getCode
Gets the code of this enum value.- Specified by:
getCodein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of value
-
getType
Gets the type this enum value belongs to.- Specified by:
getTypein interfacede.hybris.platform.core.HybrisEnumValue- Returns:
- code of type
-
hashCode
public int hashCode()Returns a hash code for thisRoomType. -
toString
Returns the code representing this enum value. -
valueOf
Returns a RoomType instance representing the specified enum value.- Parameters:
code- an enum value- Returns:
- a RoomType instance representing value.
-