Class BoxedByteGetter<T>

java.lang.Object
org.simpleflatmapper.reflect.primitive.BoxedByteGetter<T>
All Implemented Interfaces:
Getter<T,Byte>, ByteGetter<T>

public class BoxedByteGetter<T> extends Object implements ByteGetter<T>, Getter<T,Byte>
  • Constructor Details

    • BoxedByteGetter

      public BoxedByteGetter(Getter<? super T,? extends Byte> delegate)
  • Method Details

    • getByte

      public byte getByte(T target) throws Exception
      Specified by:
      getByte in interface ByteGetter<T>
      Throws:
      Exception
    • get

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