public class NoopWritableProperty extends NullProperty
| Constructor and Description |
|---|
NoopWritableProperty(String name,
Class<?> type) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getName() |
Class<?> |
getType() |
int |
hashCode() |
boolean |
isWritable() |
void |
setBoolean(Object holder,
boolean value) |
void |
setByte(Object holder,
byte value) |
void |
setChar(Object holder,
char value) |
void |
setDouble(Object holder,
double value) |
void |
setFloat(Object holder,
float value) |
void |
setInt(Object holder,
int value) |
void |
setLong(Object holder,
long value) |
void |
setObject(Object holder,
Object value) |
void |
setShort(Object holder,
short value) |
String |
toString() |
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getRawObject, getShort, isAnnotationPresent, isReadablepublic NoopWritableProperty(String name, Class<?> type)
public String getName()
getName in interface PropertygetName in class NullPropertypublic Class<?> getType()
getType in interface PropertygetType in class NullPropertypublic boolean isWritable()
isWritable in interface PropertyisWritable in class NullPropertypublic void setBoolean(Object holder, boolean value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setBoolean in interface PropertysetBoolean in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setChar(Object holder, char value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setChar in interface PropertysetChar in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setByte(Object holder, byte value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setByte in interface PropertysetByte in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setShort(Object holder, short value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setShort in interface PropertysetShort in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setInt(Object holder, int value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setInt in interface PropertysetInt in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setLong(Object holder, long value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setLong in interface PropertysetLong in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setFloat(Object holder, float value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setFloat in interface PropertysetFloat in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setDouble(Object holder, double value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setDouble in interface PropertysetDouble in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic void setObject(Object holder, Object value) throws IllegalArgumentException, IllegalAccessException, InvocationTargetException
setObject in interface PropertysetObject in class NullPropertyIllegalArgumentExceptionIllegalAccessExceptionInvocationTargetExceptionpublic int hashCode()
hashCode in class NullPropertypublic boolean equals(Object obj)
equals in class NullPropertypublic String toString()
toString in class NullProperty