org.granite.messaging.reflect
Class NullProperty
java.lang.Object
org.granite.messaging.reflect.NullProperty
- All Implemented Interfaces:
- Property
- Direct Known Subclasses:
- NoopWritableProperty
public class NullProperty
- extends Object
- implements Property
NullProperty
public NullProperty()
getType
public Class<?> getType()
- Specified by:
getType in interface Property
getName
public String getName()
- Specified by:
getName in interface Property
isAnnotationPresent
public boolean isAnnotationPresent(Class<? extends Annotation> annotationClass)
- Specified by:
isAnnotationPresent in interface Property
isReadable
public boolean isReadable()
- Specified by:
isReadable in interface Property
isWritable
public boolean isWritable()
- Specified by:
isWritable in interface Property
getBoolean
public boolean getBoolean(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getBoolean in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getChar
public char getChar(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getChar in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getByte
public byte getByte(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getByte in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getShort
public short getShort(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getShort in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getInt
public int getInt(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getInt in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getLong
public long getLong(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getLong in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getFloat
public float getFloat(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getFloat in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getDouble
public double getDouble(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getDouble in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getObject
public Object getObject(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getObject in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
getRawObject
public Object getRawObject(Object holder)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
getRawObject in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setBoolean
public void setBoolean(Object holder,
boolean value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setBoolean in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setChar
public void setChar(Object holder,
char value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setChar in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setByte
public void setByte(Object holder,
byte value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setByte in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setShort
public void setShort(Object holder,
short value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setShort in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setInt
public void setInt(Object holder,
int value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setInt in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setLong
public void setLong(Object holder,
long value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setLong in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setFloat
public void setFloat(Object holder,
float value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setFloat in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setDouble
public void setDouble(Object holder,
double value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setDouble in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
setObject
public void setObject(Object holder,
Object value)
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
- Specified by:
setObject in interface Property
- Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
toString
public String toString()
- Overrides:
toString in class Object