|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.graph.GraphBase de.grogra.graph.GraphFilter
public abstract class GraphFilter
A GraphFilter
is a Graph
which
has another graph as source and filters the data of the source graph.
Filtering may include modification of structure and attributes.
The implementations of Graph
methods in this class
just forward their invocation to the corresponding methods
of the source graph.
Nested Class Summary | |
---|---|
class |
GraphFilter.AccessorBridge
This helper class delegates accessor method invocations to the corresponding get -, set -
and isWritable -methods of the enclosing graph filter. |
protected class |
GraphFilter.State
|
Nested classes/interfaces inherited from interface de.grogra.util.Lockable |
---|
Lockable.DeadLockException |
Field Summary | |
---|---|
protected Graph |
source
The source graph whose data is filtered by this graph filter. |
Fields inherited from interface de.grogra.graph.ChangeBoundaryListener |
---|
ATTRIBUTE_PRIORITY, TOPOLOGY_PRIORITY, UPDATE_PRIORITY |
Fields inherited from interface de.grogra.graph.Graph |
---|
BRANCH_EDGE, CONTAINMENT_EDGE, CONTAINMENT_END_EDGE, EDGENODE_IN_EDGE, EDGENODE_OUT_EDGE, ELLIPSE_SYMBOL, MAIN_GRAPH, MARK_EDGE, MIN_NORMAL_BIT_INDEX, MIN_UNUSED_EDGE, MIN_UNUSED_EDGE_BIT, NOTIFIES_EDGE, PERSISTENT, PERSISTENT_DELETED, RECTANGLE_SYMBOL, REFINEMENT_EDGE, RHOMBUS_SYMBOL, ROUND_RECTANGLE_SYMBOL, SPECIAL_EDGE_MASK, SPECIAL_EDGE_OF_SOURCE_BIT, STD_EDGE_5, STD_EDGE_6, SUCCESSOR_EDGE, TRANSIENT |
Constructor Summary | |
---|---|
GraphFilter(Graph source)
|
Method Summary | ||
---|---|---|
protected void |
accept(java.lang.Object startNode,
Visitor visitor,
ArrayPath placeInPath,
boolean useInstancing)
|
|
void |
attributeChanged(AttributeChangeEvent event)
|
|
void |
beginChange(GraphState gs)
|
|
BooleanMap |
createBooleanMap()
|
|
protected GraphBase.State |
createMainState()
|
|
|
createObjectMap()
|
|
protected GraphState |
createState(ThreadContext tc)
|
|
void |
edgeChanged(java.lang.Object source,
java.lang.Object target,
java.lang.Object edgeSet,
GraphState gs)
|
|
void |
endChange(GraphState gs)
|
|
AttributeAccessor |
getAccessor(java.lang.Object object,
boolean asNode,
Attribute attribute)
Returns an attribute accessor for the given attribute on the given object. |
|
Attribute[] |
getAttributes(java.lang.Object object,
boolean asNode)
Returns the set of attributes which are available for the given object. |
|
protected boolean |
getBoolean(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
BooleanAttributeAccessor.getBoolean(Object, GraphState)
to this method. |
|
protected byte |
getByte(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
ByteAttributeAccessor.getByte(Object, GraphState)
to this method. |
|
protected char |
getChar(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
CharAttributeAccessor.getChar(Object, GraphState)
to this method. |
|
int |
getColor(java.lang.Object object,
boolean asNode)
|
|
Attribute[] |
getDependent(java.lang.Object object,
boolean asNode,
Attribute a)
Returns the set of attributes whose values depend on the given attribute a for the given object . |
|
protected Attribute[] |
getDependentOfSource(java.lang.Object object,
boolean asNode,
Attribute a)
|
|
java.lang.Object |
getDescription(java.lang.Object object,
boolean asNode,
java.lang.String type)
Returns a description for the given object. |
|
protected double |
getDouble(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
DoubleAttributeAccessor.getDouble(Object, GraphState)
to this method. |
|
int |
getEdgeBits(java.lang.Object edge)
Returns the edge bits of an edge. |
|
java.lang.Object |
getFirstEdge(java.lang.Object node)
Returns the first edge of the linked list of edges of node . |
|
protected float |
getFloat(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
FloatAttributeAccessor.getFloat(Object, GraphState)
to this method. |
|
long |
getId(java.lang.Object node)
Returns a unique identifier for the given node . |
|
Instantiator |
getInstantiator(java.lang.Object node)
|
|
protected int |
getInt(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
IntAttributeAccessor.getInt(Object, GraphState)
to this method. |
|
int |
getLifeCycleState(java.lang.Object object,
boolean asNode)
Returns the life cycle state of the given object as part of this graph. |
|
protected long |
getLong(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
LongAttributeAccessor.getLong(Object, GraphState)
to this method. |
|
java.lang.String |
getName(java.lang.Object object,
boolean asNode)
Returns a name for the given object. |
|
java.lang.Object |
getNextEdge(java.lang.Object edge,
java.lang.Object parentNode)
Returns the edge after edge in the linked list
of edges of node . |
|
java.lang.Object |
getNodeForId(long persistentId)
Returns the node identified by id . |
|
protected java.lang.Object |
getObject(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
java.lang.Object placeIn,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
ObjectAttributeAccessor.getObject(Object, GraphState)
and ObjectAttributeAccessor.getObject(Object, Object, GraphState)
to this method. |
|
java.lang.Object |
getObjectForName(boolean node,
java.lang.String name)
Returns the object with the given name. |
|
ObjectAttribute |
getParentAttribute()
Defines the derived attribute which has as value the parent object. |
|
int |
getPriority()
|
|
java.lang.Object |
getRoot(java.lang.String key)
Returns the root node for the given root key. |
|
java.lang.String[] |
getRootKeys()
Returns the root keys for the graph. |
|
protected short |
getShort(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
ShortAttributeAccessor.getShort(Object, GraphState)
to this method. |
|
java.lang.Object |
getSourceNode(java.lang.Object edge)
Returns the source node of edge . |
|
static GraphState |
getSourceState(GraphState gs)
|
|
SpecialEdgeDescriptor[] |
getSpecialEdgeDescriptors(java.lang.Object node,
boolean asSource)
|
|
int |
getStamp()
Returns a modification stamp for the whole graph. |
|
int |
getSymbol(java.lang.Object object,
boolean asNode)
|
|
java.lang.Object |
getTargetNode(java.lang.Object edge)
Returns the target node of edge . |
|
EdgePattern |
getTreePattern()
Defines the pattern used for the construction of this graph's tree. |
|
protected boolean |
isWritable(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation
of AttributeAccessor.isWritable(Object, GraphState) to
this method. |
|
protected boolean |
setBoolean(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
boolean value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
BooleanAttributeAccessor.setBoolean(Object, boolean, GraphState)
to this method. |
|
protected byte |
setByte(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
byte value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
ByteAttributeAccessor.setByte(Object, byte, GraphState)
to this method. |
|
protected char |
setChar(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
char value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
CharAttributeAccessor.setChar(Object, char, GraphState)
to this method. |
|
protected double |
setDouble(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
double value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
DoubleAttributeAccessor.setDouble(Object, double, GraphState)
to this method. |
|
protected float |
setFloat(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
float value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
FloatAttributeAccessor.setFloat(Object, float, GraphState)
to this method. |
|
protected int |
setInt(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
int value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
IntAttributeAccessor.setInt(Object, int, GraphState)
to this method. |
|
protected long |
setLong(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
long value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
LongAttributeAccessor.setLong(Object, long, GraphState)
to this method. |
|
protected java.lang.Object |
setObject(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
java.lang.Object value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
ObjectAttributeAccessor.setObject(Object, Object, GraphState)
to this method. |
|
protected short |
setShort(java.lang.Object object,
GraphFilter.AccessorBridge accessor,
short value,
GraphState gs)
GraphFilter.AccessorBridge forwards the invocation of
ShortAttributeAccessor.setShort(Object, short, GraphState)
to this method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.grogra.graph.Graph |
---|
accept |
Field Detail |
---|
protected final Graph source
Constructor Detail |
---|
public GraphFilter(Graph source)
Method Detail |
---|
protected void accept(java.lang.Object startNode, Visitor visitor, ArrayPath placeInPath, boolean useInstancing)
public void attributeChanged(AttributeChangeEvent event)
attributeChanged
in interface AttributeChangeListener
public void beginChange(GraphState gs)
beginChange
in interface ChangeBoundaryListener
public BooleanMap createBooleanMap()
createBooleanMap
in interface Graph
protected GraphBase.State createMainState()
createMainState
in class GraphBase
public <V> ObjectMap<V> createObjectMap()
createObjectMap
in interface Graph
protected GraphState createState(ThreadContext tc)
public void edgeChanged(java.lang.Object source, java.lang.Object target, java.lang.Object edgeSet, GraphState gs)
edgeChanged
in interface EdgeChangeListener
public void endChange(GraphState gs)
endChange
in interface ChangeBoundaryListener
public AttributeAccessor getAccessor(java.lang.Object object, boolean asNode, Attribute attribute)
Graph
getAccessor
in interface Graph
object
- the objectasNode
- true
if object
is a node,
false
if object
is an edgeattribute
- the attribute
public Attribute[] getAttributes(java.lang.Object object, boolean asNode)
Graph
getAttributes
in interface Graph
object
- the objectasNode
- true
if object
is a node,
false
if object
is an edge
protected boolean getBoolean(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
BooleanAttributeAccessor.getBoolean(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected byte getByte(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
ByteAttributeAccessor.getByte(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected char getChar(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
CharAttributeAccessor.getChar(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic int getColor(java.lang.Object object, boolean asNode)
getColor
in interface Graph
public Attribute[] getDependent(java.lang.Object object, boolean asNode, Attribute a)
Graph
a
for the given object
.
getDependent
in interface Graph
object
- the objectasNode
- true
if object
is a node,
false
if object
is an edgea
- the attribute
protected Attribute[] getDependentOfSource(java.lang.Object object, boolean asNode, Attribute a)
public java.lang.Object getDescription(java.lang.Object object, boolean asNode, java.lang.String type)
Graph
type
; it is interpreted as in
Described.getDescription(String)
.
getDescription
in interface Graph
object
- the objectasNode
- true
if object
is a node,
false
if object
is an edgetype
- the type of description
null
protected double getDouble(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
DoubleAttributeAccessor.getDouble(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic int getEdgeBits(java.lang.Object edge)
Graph
getEdgeBits
in interface Graph
edge
- the edge
Graph
public java.lang.Object getFirstEdge(java.lang.Object node)
Graph
node
.
getFirstEdge
in interface Graph
node
- the common node of the edges of the linked list
Graph
,
Graph.getNextEdge(Object, Object)
protected float getFloat(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
FloatAttributeAccessor.getFloat(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic long getId(java.lang.Object node)
Graph
node
.
getId
in interface Graph
node
- a node
Graph.getNodeForId(long)
public Instantiator getInstantiator(java.lang.Object node)
getInstantiator
in interface Graph
protected int getInt(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
IntAttributeAccessor.getInt(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic int getLifeCycleState(java.lang.Object object, boolean asNode)
Graph
getLifeCycleState
in interface Graph
object
- the object to testasNode
- true
if object
is a node,
false
if object
is an edge
Graph.PERSISTENT
, Graph.PERSISTENT_DELETED
,
Graph.TRANSIENT
protected long getLong(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
LongAttributeAccessor.getLong(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic java.lang.String getName(java.lang.Object object, boolean asNode)
Graph
getName
in interface Graph
object
- the objectasNode
- true
if object
is a node,
false
if object
is an edge
Graph.getObjectForName(boolean, String)
public java.lang.Object getNextEdge(java.lang.Object edge, java.lang.Object parentNode)
Graph
edge
in the linked list
of edges of node
.
getNextEdge
in interface Graph
edge
- the previous edge in the linked listparentNode
- the common node of the edges of the linked list
Graph
,
Graph.getFirstEdge(Object)
public java.lang.Object getNodeForId(long persistentId)
Graph
id
.
getNodeForId
in interface Graph
persistentId
- an identifier
null
if id
identifies no nodeGraph.getId(Object)
protected java.lang.Object getObject(java.lang.Object object, GraphFilter.AccessorBridge accessor, java.lang.Object placeIn, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
ObjectAttributeAccessor.getObject(Object, GraphState)
and ObjectAttributeAccessor.getObject(Object, Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodplaceIn
- an instance for the result may be provided by the callergs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic java.lang.Object getObjectForName(boolean node, java.lang.String name)
Graph
null
is returned.
getObjectForName
in interface Graph
node
- true
if a node of the given name is to be found,
false
if an edge is to be foundname
- the name of the object
null
if no such object existsGraph.getName(Object, boolean)
public ObjectAttribute getParentAttribute()
Graph
getParentAttribute
in interface Graph
Graph
,
Graph.getTreePattern()
public int getPriority()
getPriority
in interface ChangeBoundaryListener
public java.lang.Object getRoot(java.lang.String key)
Graph
getRoot
in interface Graph
key
- a root key, one of Graph.getRootKeys()
key
,
or null
if no such root node existsGraph
public java.lang.String[] getRootKeys()
Graph
getRootKeys
in interface Graph
Graph
,
Graph.getRoot(String)
protected short getShort(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
ShortAttributeAccessor.getShort(Object, GraphState)
to this method. This method has to be overridden by subclasses which
make use of accessor bridges in order to return the value for
the attribute of the accessor bridge.
object
- the objectaccessor
- the accessor bridge which invokes this methodgs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectpublic java.lang.Object getSourceNode(java.lang.Object edge)
Graph
edge
.
getSourceNode
in interface Graph
edge
- an edge
Graph
public static GraphState getSourceState(GraphState gs)
public SpecialEdgeDescriptor[] getSpecialEdgeDescriptors(java.lang.Object node, boolean asSource)
getSpecialEdgeDescriptors
in interface Graph
public int getStamp()
Graph
getStamp
in interface Graph
public int getSymbol(java.lang.Object object, boolean asNode)
getSymbol
in interface Graph
public java.lang.Object getTargetNode(java.lang.Object edge)
Graph
edge
.
getTargetNode
in interface Graph
edge
- an edge
Graph
public EdgePattern getTreePattern()
Graph
getTreePattern
in interface Graph
Graph
,
Graph.getParentAttribute()
protected boolean isWritable(java.lang.Object object, GraphFilter.AccessorBridge accessor, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation
of AttributeAccessor.isWritable(Object, GraphState)
to
this method. This method has to be overridden by subclasses which
declare a writable attribute by an accessor bridge.
object
- an objectaccessor
- an accessor bridgegs
- current graph state
true
iff accessor
represents
a writable attributeprotected boolean setBoolean(java.lang.Object object, GraphFilter.AccessorBridge accessor, boolean value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
BooleanAttributeAccessor.setBoolean(Object, boolean, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected byte setByte(java.lang.Object object, GraphFilter.AccessorBridge accessor, byte value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
ByteAttributeAccessor.setByte(Object, byte, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected char setChar(java.lang.Object object, GraphFilter.AccessorBridge accessor, char value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
CharAttributeAccessor.setChar(Object, char, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected double setDouble(java.lang.Object object, GraphFilter.AccessorBridge accessor, double value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
DoubleAttributeAccessor.setDouble(Object, double, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected float setFloat(java.lang.Object object, GraphFilter.AccessorBridge accessor, float value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
FloatAttributeAccessor.setFloat(Object, float, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected int setInt(java.lang.Object object, GraphFilter.AccessorBridge accessor, int value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
IntAttributeAccessor.setInt(Object, int, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected long setLong(java.lang.Object object, GraphFilter.AccessorBridge accessor, long value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
LongAttributeAccessor.setLong(Object, long, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected java.lang.Object setObject(java.lang.Object object, GraphFilter.AccessorBridge accessor, java.lang.Object value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
ObjectAttributeAccessor.setObject(Object, Object, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the objectprotected short setShort(java.lang.Object object, GraphFilter.AccessorBridge accessor, short value, GraphState gs)
GraphFilter.AccessorBridge
forwards the invocation of
ShortAttributeAccessor.setShort(Object, short, GraphState)
to this method. This method has to be overridden by subclasses which
use accessor bridges to represent writable attributes.
object
- the objectaccessor
- the accessor bridge which invokes this methodvalue
- the new value for the attributegs
- current graph state
NoSuchKeyException
- if the attribute is not defined for the object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |