public class BooleanProperty<K>

  1. Object
  2. PropertyBase<Boolean, K>
  3. Property<Boolean, K>
  4. BooleanProperty
This is the boolean specific version of property

Constructors

public BooleanProperty(String name)Creates a boolean property with the given name.
public BooleanProperty(String name, Boolean value)Creates a boolean property with the given name and initial value.

Methods

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

Inherited methods

Constructor details

BooleanProperty

public BooleanProperty(String name)
Creates a boolean property with the given name.

BooleanProperty

public BooleanProperty(String name, Boolean value)
Creates a boolean property with the given name and initial value.

Method details

getBoolean

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

Returns

the numeric value