java.lang.Object
de.grogra.persistence.FieldAccessor
- Direct Known Subclasses:
Node.FieldAttributeAccessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getBoolean
(Object object) byte
char
double
float
int
long
short
getType()
boolean
setBoolean
(Object object, boolean value, Transaction t) byte
setByte
(Object object, byte value, Transaction t) char
setChar
(Object object, char value, Transaction t) double
setDouble
(Object object, double value, Transaction t) float
setFloat
(Object object, float value, Transaction t) int
setInt
(Object object, int value, Transaction t) long
setLong
(Object object, long value, Transaction t) setObject
(Object object, Object value, Transaction t) short
setShort
(Object object, short value, Transaction t) setSubfield
(Object object, FieldChain fields, int[] indices, Object value, Transaction t)
-
Field Details
-
field
-
-
Constructor Details
-
FieldAccessor
-
-
Method Details
-
getType
-
getBoolean
- Throws:
IllegalAccessException
-
setBoolean
public boolean setBoolean(Object object, boolean value, Transaction t) throws IllegalAccessException - Throws:
IllegalAccessException
-
getByte
- Throws:
IllegalAccessException
-
setByte
- Throws:
IllegalAccessException
-
getShort
- Throws:
IllegalAccessException
-
setShort
- Throws:
IllegalAccessException
-
getChar
- Throws:
IllegalAccessException
-
setChar
- Throws:
IllegalAccessException
-
getInt
- Throws:
IllegalAccessException
-
setInt
- Throws:
IllegalAccessException
-
getLong
- Throws:
IllegalAccessException
-
setLong
- Throws:
IllegalAccessException
-
getFloat
- Throws:
IllegalAccessException
-
setFloat
- Throws:
IllegalAccessException
-
getDouble
- Throws:
IllegalAccessException
-
setDouble
- Throws:
IllegalAccessException
-
getObject
- Throws:
IllegalAccessException
-
setObject
- Throws:
IllegalAccessException
-
setSubfield
public Object setSubfield(Object object, FieldChain fields, int[] indices, Object value, Transaction t)
-