Interface PropertyAccessorFactory.PropertyAccessorLong
- All Superinterfaces:
PropertyAccessor, PropertyAccessorFactory.PropertyAccessorObject
- Enclosing class:
PropertyAccessorFactory
protected static interface PropertyAccessorFactory.PropertyAccessorLong
extends PropertyAccessorFactory.PropertyAccessorObject
- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault 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.default voidsetBooleanValue(Object object, boolean value) Sets the property value from a boolean.default voidsetByteValue(Object object, byte value) Sets the property value from a byte.default voidsetCharValue(Object object, char value) Sets the property value from a char.default voidsetDoubleValue(Object object, double value) Sets the property value from a double.default voidsetFloatValue(Object object, float value) Sets the property value from a float.default voidsetIntValue(Object object, int value) Sets the property value from an int.voiddefault voidsetLongValue(Object object, long value) Sets the property value from a long.default voidSets the property value from an Object.default voidsetShortValue(Object object, short value) Sets the property value from a short.Methods inherited from interface PropertyAccessor
name, propertyClass, propertyType, supportGet, supportSet
-
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
-
setByteValue
Description copied from interface:PropertyAccessorSets the property value from a byte.- Specified by:
setByteValuein interfacePropertyAccessor- Specified by:
setByteValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the byte value to set
-
setCharValue
Description copied from interface:PropertyAccessorSets the property value from a char.- Specified by:
setCharValuein interfacePropertyAccessor- Specified by:
setCharValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the char value to set
-
setShortValue
Description copied from interface:PropertyAccessorSets the property value from a short.- Specified by:
setShortValuein interfacePropertyAccessor- Specified by:
setShortValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the short value to set
-
setIntValue
Description copied from interface:PropertyAccessorSets the property value from an int.- Specified by:
setIntValuein interfacePropertyAccessor- Specified by:
setIntValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the int value to set
-
setLongValue
Description copied from interface:PropertyAccessorSets the property value from a long.- Specified by:
setLongValuein interfacePropertyAccessor- Specified by:
setLongValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the long value to set
-
setFloatValue
Description copied from interface:PropertyAccessorSets the property value from a float.- Specified by:
setFloatValuein interfacePropertyAccessor- Specified by:
setFloatValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the float value to set
-
setDoubleValue
Description copied from interface:PropertyAccessorSets the property value from a double.- Specified by:
setDoubleValuein interfacePropertyAccessor- Specified by:
setDoubleValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the double value to set
-
setBooleanValue
Description copied from interface:PropertyAccessorSets the property value from a boolean.- Specified by:
setBooleanValuein interfacePropertyAccessor- Specified by:
setBooleanValuein interfacePropertyAccessorFactory.PropertyAccessorObject- Parameters:
object- the object to set the property onvalue- the boolean value to set
-
setLong
-
getLong
-