org.granite.messaging.reflect
Interface Property
- All Known Subinterfaces:
- FieldProperty, MethodProperty
- All Known Implementing Classes:
- NoopWritableProperty, NullProperty, SimpleFieldProperty, SimpleMethodProperty
public interface Property
- Author:
- Franck WOLFF
getType
Class<?> getType()
getName
String getName()
isAnnotationPresent
boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
isReadable
boolean isReadable()
isWritable
boolean isWritable()
getBoolean
boolean getBoolean(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getChar
char getChar(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getByte
byte getByte(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getShort
short getShort(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getInt
int getInt(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getLong
long getLong(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getFloat
float getFloat(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getDouble
double getDouble(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getObject
Object getObject(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getRawObject
Object getRawObject(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setBoolean
void setBoolean(Object holder,
boolean value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setChar
void setChar(Object holder,
char value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setByte
void setByte(Object holder,
byte value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setShort
void setShort(Object holder,
short value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setInt
void setInt(Object holder,
int value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setLong
void setLong(Object holder,
long value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setFloat
void setFloat(Object holder,
float value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setDouble
void setDouble(Object holder,
double value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setObject
void setObject(Object holder,
Object value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException