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()
ImmutableGraphContainergetGraphs in interface ImmutableGraphContainer<GenericGraph>public GenericGraph getGraph(String namespace)
ImmutableGraphContainergetGraph in interface ImmutableGraphContainer<GenericGraph>namespace - the namespace of the graph to getpublic GenericGraphContainer asGenericGraphContainer()
ImmutableGraphContainerImmutableGraphContainer to its generic counter part.asGenericGraphContainer in interface ImmutableGraphContainer<GenericGraph>public String getId()
getId in interface GraphContainerInfopublic List<String> getNamespaces()
getNamespaces in interface GraphContainerInfopublic String getDescription()
getDescription in interface GraphContainerInfopublic void setDescription(String description)
public String getLabel()
getLabel in interface GraphContainerInfopublic GraphInfo getGraphInfo(String namespace)
getGraphInfo in interface GraphContainerInfopublic GraphInfo getPrimaryGraphInfo()
getPrimaryGraphInfo in interface GraphContainerInfopublic List<GraphInfo> getGraphInfos()
getGraphInfos in interface GraphContainerInfopublic static GenericGraphContainer.GenericGraphContainerBuilder builder()
Copyright © 2021. All rights reserved.