public class LongProperty<K>

  1. Object
  2. PropertyBase<Long, K>
  3. Property<Long, K>
  4. NumericProperty<Long, K>
  5. LongProperty
This is the long specific version of numeric property

Constructors

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

Methods

public long getLong()Returns the value as a primitive, if the value is null/nullable this will fail…

Inherited methods

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