public class GraphMetadata extends AbstractMetadata
Modifier and Type | Class and Description |
---|---|
static class |
GraphMetadata.EdgeDefault |
Metadata.MetadataType
Constructor and Description |
---|
GraphMetadata() |
addData, getProperties, getProperty, setProperty
public String getId()
public void setId(String id)
public GraphMetadata.EdgeDefault getEdgeDefault()
public void setEdgeDefault(GraphMetadata.EdgeDefault edgeDefault)
public String getDescription()
public void setDescription(String desc)
public void addNodeMetadata(Object vertex, NodeMetadata metadata)
public NodeMetadata getNodeMetadata(Object vertex)
public Map<Object,NodeMetadata> getNodeMap()
public void addEdgeMetadata(Object edge, EdgeMetadata metadata)
public EdgeMetadata getEdgeMetadata(Object edge)
public Map<Object,EdgeMetadata> getEdgeMap()
public void addHyperEdgeMetadata(Object edge, HyperEdgeMetadata metadata)
public HyperEdgeMetadata getHyperEdgeMetadata(Object edge)
public Map<Object,HyperEdgeMetadata> getHyperEdgeMap()
public Object getGraph()
public void setGraph(Object graph)
public Metadata.MetadataType getMetadataType()
Metadata
public String getVertexProperty(Object vertex, String key) throws IllegalArgumentException
vertex
- the subject vertexkey
- the property keyIllegalArgumentException
- thrown if there is no metadata associated with the provided
vertex object.public String getEdgeProperty(Object edge, String key) throws IllegalArgumentException
edge
- the subject edge.key
- the property keyIllegalArgumentException
- thrown if there is no metadata associated with the provided
edge object.Copyright © 2015. All rights reserved.