public class GraphAttribute extends GraphValue implements GraphMember
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PROPERTY_CLAZZ |
static java.lang.String |
PROPERTY_VALUE |
static java.lang.String |
PROPERTY_VISIBILITY |
name, PROPERTY_INITIALIZATION, PROPERTY_TYPE, type| Constructor and Description |
|---|
GraphAttribute() |
GraphAttribute(java.lang.String name,
GraphDataType datatyp) |
| Modifier and Type | Method and Description |
|---|---|
GraphNode |
getClazz() |
java.lang.String |
getId() |
GraphAttribute |
getNewList(boolean keyValue) |
java.lang.String |
getValue() |
java.lang.String |
getValue(java.lang.String typ,
boolean shortName) |
java.lang.Object |
getValueItem(java.lang.Object key) |
GraphVisibility |
getVisibility() |
void |
setClazz(GraphNode clazz) |
GraphAttribute |
with(GraphDataType value) |
GraphAttribute |
with(GraphVisibility visibility) |
GraphAttribute |
with(java.lang.String value) |
GraphAttribute |
with(java.lang.String name,
GraphDataType typ) |
GraphAttribute |
withValue(java.lang.String value) |
getName, getType, getType, withAllpublic static final java.lang.String PROPERTY_CLAZZ
public static final java.lang.String PROPERTY_VALUE
public static final java.lang.String PROPERTY_VISIBILITY
public GraphAttribute()
public GraphAttribute(java.lang.String name,
GraphDataType datatyp)
public java.lang.String getId()
getId in interface GraphMemberpublic java.lang.String getValue()
public GraphAttribute withValue(java.lang.String value)
public GraphVisibility getVisibility()
public GraphAttribute with(GraphVisibility visibility)
public GraphNode getClazz()
public void setClazz(GraphNode clazz)
public GraphAttribute with(java.lang.String value)
with in class GraphValuepublic GraphAttribute with(GraphDataType value)
with in class GraphValuepublic GraphAttribute with(java.lang.String name, GraphDataType typ)
public java.lang.String getValue(java.lang.String typ,
boolean shortName)
public GraphAttribute getNewList(boolean keyValue)
getNewList in interface BaseItempublic java.lang.Object getValueItem(java.lang.Object key)
getValueItem in interface BaseItem