Interface BeanMap<T>

Type Parameters:
T - type Generic
All Superinterfaces:
Map<String,Object>

public interface BeanMap<T> extends Map<String,Object>
Simple class that provides a map interface over a bean.
Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • getBeanType

      @NonNull Class<T> getBeanType()
      Returns:
      The bean type
    • of

      static <B> @NonNull BeanMap<B> of(@NonNull B bean)
      Creates a BeanMap for the given bean.
      Type Parameters:
      B - type Generic
      Parameters:
      bean - The bean
      Returns:
      The bean map