Class ByteProperty<K>
java.lang.Object
This is the byte specific version of numeric property
-
Constructor Summary
ConstructorsConstructorDescriptionByteProperty(String name) Creates a byte property with the given name.ByteProperty(String name, Byte value) Creates a byte property with the given name and initial value. -
Method Summary
Modifier and TypeMethodDescriptionbytegetByte()Returns the value as a primitive, if the value is null/nullable this will fail...Methods inherited from class NumericProperty
isNullable, set, setNullableMethods inherited from class PropertyBase
addChangeListener, bindGlobalGetListener, bindGlobalSetListener, firePropertyChanged, getClientProperty, getGenericType, getLabel, getName, putClientProperty, removeChangeListener, setLabel, stopListening, validateCollectionType
-
Constructor Details
-
ByteProperty
Creates a byte property with the given name. -
ByteProperty
-
-
Method Details
-
getByte
public byte getByte()Returns the value as a primitive, if the value is null/nullable this will fail...
Returns
the numeric value
-