Interface TypeRequestable

    • Method Detail

      • getType

        default java.lang.String getType()
        Returns:
        the type of the current TypeRequestable.
      • getTypeInPlural

        default java.lang.String getTypeInPlural()
        Returns:
        the plural of the type of the current TypeRequestable.
      • getTypes

        default LinkedList<java.lang.String> getTypes()
        Returns:
        the types of the current TypeRequestable ordered from the most concrete to the most general.
      • isOfConcreteType

        default boolean isOfConcreteType​(java.lang.Class<?> concreteType)
        Parameters:
        concreteType -
        Returns:
        true if the current TypeRequestable is of the given concrete type.
      • isOfConcreteType

        default boolean isOfConcreteType​(java.lang.String concreteType)
        Parameters:
        concreteType -
        Returns:
        true if the current TypeRequestable is of the given concrete type.
      • isOfType

        default boolean isOfType​(java.lang.Class<?> type)
        Parameters:
        type -
        Returns:
        true if the current TypeRequestable is of the given type.
      • isOfType

        default boolean isOfType​(java.lang.String type)
        Parameters:
        type -
        Returns:
        true if the current TypeRequestable is of the given type.