java.lang.Object
de.grogra.persistence.FieldAccessor
de.grogra.graph.impl.Node.FieldAttributeAccessor
- All Implemented Interfaces:
AttributeAccessor
,BooleanAttributeAccessor
,ByteAttributeAccessor
,CharAttributeAccessor
,DoubleAttributeAccessor
,FloatAttributeAccessor
,IntAttributeAccessor
,LongAttributeAccessor
,ObjectAttributeAccessor
,ShortAttributeAccessor
- Enclosing class:
- Node
public static class Node.FieldAttributeAccessor
extends FieldAccessor
implements BooleanAttributeAccessor, ByteAttributeAccessor, ShortAttributeAccessor, CharAttributeAccessor, IntAttributeAccessor, LongAttributeAccessor, FloatAttributeAccessor, DoubleAttributeAccessor, ObjectAttributeAccessor
-
Field Summary
Fields inherited from class de.grogra.persistence.FieldAccessor
field
-
Constructor Summary
ConstructorsConstructorDescriptionFieldAttributeAccessor
(Attribute attr, Node.NType.Field field) FieldAttributeAccessor
(Attribute attr, Node.NType.Field field, double field2Attr) -
Method Summary
Modifier and TypeMethodDescriptionfinal Attribute
boolean
getBoolean
(Object object, GraphState gs) byte
getByte
(Object object, GraphState gs) char
getChar
(Object object, GraphState gs) double
getDouble
(Object object, GraphState gs) final Field
getField()
float
getFloat
(Object object, GraphState gs) int
getInt
(Object object, GraphState gs) long
getLong
(Object object, GraphState gs) final Object
getObject
(Object object, GraphState gs) getObject
(Object object, Object placeIn, GraphState gs) short
getShort
(Object object, GraphState gs) boolean
isWritable
(Object object, GraphState gs) boolean
setBoolean
(Object object, boolean value, GraphState gs) byte
setByte
(Object object, byte value, GraphState gs) char
setChar
(Object object, char value, GraphState gs) double
setDouble
(Object object, double value, GraphState gs) float
setFloat
(Object object, float value, GraphState gs) int
setInt
(Object object, int value, GraphState gs) long
setLong
(Object object, long value, GraphState gs) setObject
(Object object, Object value, GraphState gs) short
setShort
(Object object, short value, GraphState gs) setSubfield
(Object object, FieldChain field, int[] indices, Object value, GraphState gs) toString()
Methods inherited from class de.grogra.persistence.FieldAccessor
getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getShort, getType, setBoolean, setByte, setChar, setDouble, setFloat, setInt, setLong, setObject, setShort, setSubfield
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.graph.AttributeAccessor
getType
-
Constructor Details
-
FieldAttributeAccessor
-
FieldAttributeAccessor
-
-
Method Details
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributeAccessor
-
getField
- Specified by:
getField
in interfaceAttributeAccessor
-
isWritable
- Specified by:
isWritable
in interfaceAttributeAccessor
-
toString
-
getObject
- Specified by:
getObject
in interfaceObjectAttributeAccessor
-
getBoolean
- Specified by:
getBoolean
in interfaceBooleanAttributeAccessor
-
setBoolean
- Specified by:
setBoolean
in interfaceBooleanAttributeAccessor
-
getByte
- Specified by:
getByte
in interfaceByteAttributeAccessor
-
setByte
- Specified by:
setByte
in interfaceByteAttributeAccessor
-
getShort
- Specified by:
getShort
in interfaceShortAttributeAccessor
-
setShort
- Specified by:
setShort
in interfaceShortAttributeAccessor
-
getChar
- Specified by:
getChar
in interfaceCharAttributeAccessor
-
setChar
- Specified by:
setChar
in interfaceCharAttributeAccessor
-
getInt
- Specified by:
getInt
in interfaceIntAttributeAccessor
-
setInt
- Specified by:
setInt
in interfaceIntAttributeAccessor
-
getLong
- Specified by:
getLong
in interfaceLongAttributeAccessor
-
setLong
- Specified by:
setLong
in interfaceLongAttributeAccessor
-
getFloat
- Specified by:
getFloat
in interfaceFloatAttributeAccessor
-
setFloat
- Specified by:
setFloat
in interfaceFloatAttributeAccessor
-
getDouble
- Specified by:
getDouble
in interfaceDoubleAttributeAccessor
-
setDouble
- Specified by:
setDouble
in interfaceDoubleAttributeAccessor
-
getObject
- Specified by:
getObject
in interfaceObjectAttributeAccessor
-
setObject
- Specified by:
setObject
in interfaceObjectAttributeAccessor
-
setSubfield
public Object setSubfield(Object object, FieldChain field, int[] indices, Object value, GraphState gs) - Specified by:
setSubfield
in interfaceObjectAttributeAccessor
-