public interface ReflectProperty
| Modifier and Type | Method and Description |
|---|---|
ReflectPropertyDefaultValueStrategy |
getDefaultValueStrategy() |
String |
getName() |
Type |
getPropertyType() |
ReflectType |
getType() |
boolean |
isDefaultValue(Object value)
equivalent to
isDefaultValue(value,null) |
boolean |
isDefaultValue(Object value,
ReflectPropertyDefaultValueStrategy strategy)
true when the given value is the default value according to the given strategy.
|
boolean |
isRead() |
boolean |
isWrite() |
Object |
read(Object instance) |
void |
write(Object instance,
Object value) |
String getName()
ReflectPropertyDefaultValueStrategy getDefaultValueStrategy()
Type getPropertyType()
boolean isRead()
boolean isWrite()
boolean isDefaultValue(Object value)
isDefaultValue(value,null)value - to checkboolean isDefaultValue(Object value, ReflectPropertyDefaultValueStrategy strategy)
getDefaultValueStrategy()int x=3; // 3 is the default<code>)value - to checkstrategy - default strategyReflectType getType()
Copyright © 2021 vpc open source initiative. All rights reserved.