Interface PropertyAccessorFactory.PropertyAccessorBoolean
- All Superinterfaces:
PropertyAccessor, PropertyAccessorFactory.PropertyAccessorObject
- Enclosing class:
PropertyAccessorFactory
protected static interface PropertyAccessorFactory.PropertyAccessorBoolean
extends PropertyAccessorFactory.PropertyAccessorObject
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptiongetBoolean(Object object) default booleangetBooleanValue(Object object) Gets the property value as a boolean.default bytegetByteValue(Object object) Gets the property value as a byte.default chargetCharValue(Object object) Gets the property value as a char.default doublegetDoubleValue(Object object) Gets the property value as a double.default floatgetFloatValue(Object object) Gets the property value as a float.default intgetIntValue(Object object) Gets the property value as an int.default longgetLongValue(Object object) Gets the property value as a long.default ObjectGets the property value as an Object.default shortgetShortValue(Object object) Gets the property value as a short.voidsetBoolean(Object object, Boolean value) default voidSets the property value from an Object.Methods inherited from interface PropertyAccessor
name, propertyClass, propertyType, supportGet, supportSetMethods inherited from interface PropertyAccessorFactory.PropertyAccessorObject
setBooleanValue, setByteValue, setCharValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setShortValue
-
Method Details
-
getByteValue
Description copied from interface:PropertyAccessorGets the property value as a byte.- Specified by:
getByteValuein interfacePropertyAccessor- Specified by:
getByteValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as byte
-
getCharValue
Description copied from interface:PropertyAccessorGets the property value as a char.- Specified by:
getCharValuein interfacePropertyAccessor- Specified by:
getCharValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as char
-
getShortValue
Description copied from interface:PropertyAccessorGets the property value as a short.- Specified by:
getShortValuein interfacePropertyAccessor- Specified by:
getShortValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as short
-
getIntValue
Description copied from interface:PropertyAccessorGets the property value as an int.- Specified by:
getIntValuein interfacePropertyAccessor- Specified by:
getIntValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as int
-
getLongValue
Description copied from interface:PropertyAccessorGets the property value as a long.- Specified by:
getLongValuein interfacePropertyAccessor- Specified by:
getLongValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as long
-
getFloatValue
Description copied from interface:PropertyAccessorGets the property value as a float.- Specified by:
getFloatValuein interfacePropertyAccessor- Specified by:
getFloatValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as float
-
getDoubleValue
Description copied from interface:PropertyAccessorGets the property value as a double.- Specified by:
getDoubleValuein interfacePropertyAccessor- Specified by:
getDoubleValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as double
-
getBooleanValue
Description copied from interface:PropertyAccessorGets the property value as a boolean.- Specified by:
getBooleanValuein interfacePropertyAccessor- Specified by:
getBooleanValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to get the property from- Returns:
- the property value as boolean
-
getObject
Description copied from interface:PropertyAccessorGets the property value as an Object.- Specified by:
getObjectin interfacePropertyAccessor- Parameters:
object- the object to get the property from- Returns:
- the property value as Object
-
setObject
Description copied from interface:PropertyAccessorSets the property value from an Object.- Specified by:
setObjectin interfacePropertyAccessor- Parameters:
object- the object to set the property onvalue- the value to set
-
setBoolean
-
getBoolean
-