Class BoxedShortGetter<T>

java.lang.Object
org.simpleflatmapper.reflect.primitive.BoxedShortGetter<T>
All Implemented Interfaces:
Getter<T,Short>, ShortGetter<T>

public class BoxedShortGetter<T> extends Object implements ShortGetter<T>, Getter<T,Short>
  • Constructor Details

    • BoxedShortGetter

      public BoxedShortGetter(Getter<? super T,? extends Short> delegate)
  • Method Details

    • getShort

      public short getShort(T target) throws Exception
      Specified by:
      getShort in interface ShortGetter<T>
      Throws:
      Exception
    • get

      public Short get(T target) throws Exception
      Description copied from interface: Getter
      Return the property from the specified object.
      Specified by:
      get in interface Getter<T,Short>
      Parameters:
      target - the object to get the property from
      Returns:
      the property
      Throws:
      Exception - if anything goes wrong