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