Class ComplexBookingType


  • public final class ComplexBookingType
    extends java.lang.Object
    • Constructor Detail

      • ComplexBookingType

        public ComplexBookingType​(ComplexBookingType.ComplexBookingTypeType pLiteral)
        Initialize object from real enumeration literal
        Parameters:
        pLiteral - Enumeration literal that should be used to initialize the extensible enumeration. The parameter must not be null.
      • ComplexBookingType

        public ComplexBookingType​(java.lang.String pLiteralName)
        Initialize object using the name of the literal.
        Parameters:
        pLiteralName - Literal name that should be used to initialize the extensible enumeration. If the parameter is null or has an unknown literal name then a "unknown" version will be created.
        See Also:
        isUnknownLiteral()
    • Method Detail

      • valueOf

        public static ComplexBookingType valueOf​(java.lang.String pLiteralName)
        Method returns extensible enumeration based on the passed name. If the literal name is unknown then an instance representing "unknown" will be returned.
        Parameters:
        pLiteral - Enumeration literal that should be used to initialize the extensible enumeration. The parameter must not be null.
        Returns:
      • isUnknownLiteral

        public boolean isUnknownLiteral()
        Method checks if the represented literal is actually unknown or not.
        Returns:
        boolean Method returns true if this object represents an unknown literal.
      • getUnknownLiteralName

        public java.lang.String getUnknownLiteralName()
        Method returns the actual name of the unknown literal
        Returns:
        String Name of the unknown literal or null in case that the literal is known.
      • hashCode

        public int hashCode()
        Object.hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object pObject)
        Object.equals(Object)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Object.toString()
        Overrides:
        toString in class java.lang.Object