Class LongProperty<K>


public class LongProperty<K> extends NumericProperty<Long,K>
This is the long specific version of numeric property
  • Constructor Details

    • LongProperty

      public LongProperty(String name)
      Creates a long property with the given name.
    • LongProperty

      public LongProperty(String name, Long value)
      Creates a long property with the given name and initial value.
  • Method Details

    • getLong

      public long getLong()

      Returns the value as a primitive, if the value is null/nullable this will fail...

      Returns

      the numeric value