Interface CdsEnumType<T>

    • Method Detail

      • enumerals

        Map<String,​CdsEnumType.Enumeral<T>> enumerals()
        Returns the enumerals of this CdsEnumType as a map, which maps the name of the enumeral to the enumeral.
        Returns:
        the enumerals of this enum type, not null
        See Also:
        CdsEnumType.Enumeral
      • hasValue

        default boolean hasValue​(Object value)
        Tests if this enum type has an enumeral with a given value.
        Parameters:
        value - the value to test for
        Returns:
        true if this enum type has an enumeral with a given value, false otherwise
      • isEnum

        default boolean isEnum()
        Description copied from interface: CdsType
        Returns true if this is an enum type.
        Specified by:
        isEnum in interface CdsType
        Returns:
        true if this is an enum type, otherwise false