Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Concrete Methods
Returns the value of this attribute for the given object in
the given graph state.
protected short
short
short
Sets the value of this attribute for the given object
to the given value
protected short
short
Methods inherited from class de.grogra.graph.Attribute
compareTo , find , forName , getAttributeState , getDescription , getId , getKey , getQuantity , getSimpleName , getType , hashCode , initializeI18N , initializeName , isContained , isDerived , isWritable , setAttributeState , toArray , toString
Constructor Details
ShortAttribute
public ShortAttribute (Type type)
ShortAttribute
public ShortAttribute ()
Method Details
get
Returns the value of this attribute for the given object in
the given graph state. If necessary, the value is wrapped in one
of the standard wrapper classes.
Specified by:
get
in class Attribute <Short >
Parameters:
o
- the object
asNode
- true
if object
is a node,
false
if object
is an edge
gs
- the graph state context
Returns:
the value of this attribute for the given object
set
Sets the value of this attribute for the given object
to the given value
Specified by:
set
in class Attribute <Short >
Parameters:
o
- the object
asNode
- true
if object
is a node,
false
if object
is an edge
value
- the new value of the attribute for the object
gs
- the graph state context
setShort
public short setShort (Object object,
boolean asNode,
short value,
GraphState gs)
setDerived
protected short setDerived (Object object,
boolean asNode,
short value,
GraphState gs)
getMinValue
public short getMinValue ()
getMaxValue
public short getMaxValue ()