de.grogra.graph
public class LongAttribute extends Attribute<java.lang.Long>
ATTRIBUTE_0, attrType, quantityACCELERATOR_KEY, ICON, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, TITLE| Constructor and Description |
|---|
LongAttribute() |
LongAttribute(Type type) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long |
get(java.lang.Object o,
boolean asNode,
GraphState gs)
Returns the value of this attribute for the given object in
the given graph state.
|
protected long |
getDerived(java.lang.Object object,
boolean asNode,
GraphState gs) |
long |
getMaxValue() |
long |
getMinValue() |
java.lang.Long |
set(java.lang.Object o,
boolean asNode,
java.lang.Object value,
GraphState gs)
Sets the value of this attribute for the given
object
to the given value |
protected long |
setDerived(java.lang.Object object,
boolean asNode,
long value,
GraphState gs) |
long |
setLong(java.lang.Object object,
boolean asNode,
long value,
GraphState gs) |
compareTo, find, forName, getAttributeState, getDescription, getId, getKey, getQuantity, getSimpleName, getType, hashCode, initializeI18N, initializeName, isContained, isDerived, isWritable, setAttributeState, toArray, toStringpublic LongAttribute()
public LongAttribute(Type type)
public final java.lang.Long get(java.lang.Object o,
boolean asNode,
GraphState gs)
Attributeprotected long getDerived(java.lang.Object object,
boolean asNode,
GraphState gs)
public long getMaxValue()
public long getMinValue()
public final java.lang.Long set(java.lang.Object o,
boolean asNode,
java.lang.Object value,
GraphState gs)
Attributeobject
to the given valueprotected long setDerived(java.lang.Object object,
boolean asNode,
long value,
GraphState gs)
public long setLong(java.lang.Object object,
boolean asNode,
long value,
GraphState gs)