public class GenericGraphContainer extends Object implements ImmutableGraphContainer<GenericGraph>
Modifier and Type | Class and Description |
---|---|
static class |
GenericGraphContainer.GenericGraphContainerBuilder |
Modifier and Type | Method and Description |
---|---|
GenericGraphContainer |
asGenericGraphContainer()
Converts the
ImmutableGraphContainer to its generic counter part. |
static GenericGraphContainer.GenericGraphContainerBuilder |
builder() |
boolean |
equals(Object o) |
String |
getDescription() |
GenericGraph |
getGraph(String namespace)
Returns the graph with the requested namespace, or null if it does not exist.
|
GraphInfo |
getGraphInfo(String namespace) |
List<GraphInfo> |
getGraphInfos() |
List<GenericGraph> |
getGraphs()
Returns the list of graphs provided by the container.
|
String |
getId() |
String |
getLabel() |
List<String> |
getNamespaces() |
GraphInfo |
getPrimaryGraphInfo() |
Map<String,Object> |
getProperties() |
int |
hashCode() |
void |
setDescription(String description) |
public List<GenericGraph> getGraphs()
ImmutableGraphContainer
getGraphs
in interface ImmutableGraphContainer<GenericGraph>
public GenericGraph getGraph(String namespace)
ImmutableGraphContainer
getGraph
in interface ImmutableGraphContainer<GenericGraph>
namespace
- the namespace of the graph to getpublic GenericGraphContainer asGenericGraphContainer()
ImmutableGraphContainer
ImmutableGraphContainer
to its generic counter part.asGenericGraphContainer
in interface ImmutableGraphContainer<GenericGraph>
public String getId()
getId
in interface GraphContainerInfo
public List<String> getNamespaces()
getNamespaces
in interface GraphContainerInfo
public String getDescription()
getDescription
in interface GraphContainerInfo
public void setDescription(String description)
public String getLabel()
getLabel
in interface GraphContainerInfo
public GraphInfo getGraphInfo(String namespace)
getGraphInfo
in interface GraphContainerInfo
public GraphInfo getPrimaryGraphInfo()
getPrimaryGraphInfo
in interface GraphContainerInfo
public List<GraphInfo> getGraphInfos()
getGraphInfos
in interface GraphContainerInfo
public static GenericGraphContainer.GenericGraphContainerBuilder builder()
Copyright © 2021. All rights reserved.