de.grogra.graph
Class ByteTreeAttribute
java.lang.Object
de.grogra.graph.Attribute<java.lang.Byte>
de.grogra.graph.ByteAttribute
de.grogra.graph.ByteTreeAttribute
- All Implemented Interfaces:
- Described, KeyDescription, java.lang.Comparable
public abstract class ByteTreeAttribute
- extends ByteAttribute
Methods inherited from class de.grogra.graph.Attribute |
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isWritable, setAttributeState, toArray, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
ByteTreeAttribute
public ByteTreeAttribute()
ByteTreeAttribute
public ByteTreeAttribute(Type type)
dependsOn
public abstract boolean dependsOn(Attribute[] b)
derive
protected abstract byte derive(java.lang.Object object,
boolean asNode,
byte parentValue,
GraphState gs)
getDerived
protected byte getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
- Overrides:
getDerived
in class ByteAttribute
getInitialValue
protected abstract byte getInitialValue(GraphState gs)
getParentAttribute
protected ObjectAttribute getParentAttribute(GraphState gs)
getParentValue
public byte getParentValue(java.lang.Object object,
boolean asNode,
GraphState gs)
isDerived
public boolean isDerived()
- Description copied from class:
Attribute
- Determines whether this is a derived attribute or not.
- Overrides:
isDerived
in class Attribute<java.lang.Byte>
- Returns:
true
iff this is a derived attribute