java.lang.Object
de.grogra.graph.ObjectAttribute.IdentityAccessor
- All Implemented Interfaces:
AttributeAccessor
,ObjectAttributeAccessor<T>
- Enclosing class:
- ObjectAttribute<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetField()
getObject
(Object object, GraphState gs) getObject
(Object object, T placeIn, GraphState gs) getType()
boolean
isWritable
(Object object, GraphState gs) setObject
(Object object, T value, GraphState gs) setSubfield
(Object object, FieldChain field, int[] indices, Object value, GraphState gs)
-
Constructor Details
-
IdentityAccessor
public IdentityAccessor()
-
-
Method Details
-
getObject
- Specified by:
getObject
in interfaceObjectAttributeAccessor<T>
-
getObject
- Specified by:
getObject
in interfaceObjectAttributeAccessor<T>
-
setObject
- Specified by:
setObject
in interfaceObjectAttributeAccessor<T>
-
setSubfield
public Object setSubfield(Object object, FieldChain field, int[] indices, Object value, GraphState gs) - Specified by:
setSubfield
in interfaceObjectAttributeAccessor<T>
-
getType
- Specified by:
getType
in interfaceAttributeAccessor
-
getAttribute
- Specified by:
getAttribute
in interfaceAttributeAccessor
-
getField
- Specified by:
getField
in interfaceAttributeAccessor
-
isWritable
- Specified by:
isWritable
in interfaceAttributeAccessor
-