Class ConstantShortGetter<T>

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

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

    • ConstantShortGetter

      public ConstantShortGetter(short value)
  • Method Details

    • getShort

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

      public Short get(T target)
      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