public abstract class AbstractDomainGraphContainer<G extends AbstractDomainGraph<? extends AbstractDomainVertex,? extends AbstractDomainEdge>> extends Object implements ImmutableGraphContainer<G>
GenericGraphContainer.
 Can be extended by a domain specific graph container class.
 It contains no data of it's own but operates on the data of it's wrapped GenericGraphContainer.| Modifier and Type | Class and Description | 
|---|---|
static class  | 
AbstractDomainGraphContainer.AbstractDomainGraphContainerBuilder<T extends AbstractDomainGraphContainer.AbstractDomainGraphContainerBuilder,G extends AbstractDomainGraph<? extends AbstractDomainVertex,? extends AbstractDomainEdge>>  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractDomainGraphContainer(GenericGraphContainer delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
GenericGraphContainer | 
asGenericGraphContainer()
Converts the  
ImmutableGraphContainer to its generic counter part. | 
protected abstract G | 
convert(GenericGraph graph)  | 
boolean | 
equals(Object o)  | 
String | 
getDescription()  | 
G | 
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<G> | 
getGraphs()
Returns the list of graphs provided by the container. 
 | 
String | 
getId()  | 
String | 
getLabel()  | 
List<String> | 
getNamespaces()  | 
GraphInfo | 
getPrimaryGraphInfo()  | 
int | 
hashCode()  | 
String | 
toString()  | 
protected AbstractDomainGraphContainer(GenericGraphContainer delegate)
protected abstract G convert(GenericGraph graph)
public List<G> getGraphs()
ImmutableGraphContainergetGraphs in interface ImmutableGraphContainer<G extends AbstractDomainGraph<? extends AbstractDomainVertex,? extends AbstractDomainEdge>>public G getGraph(String namespace)
ImmutableGraphContainergetGraph in interface ImmutableGraphContainer<G extends AbstractDomainGraph<? extends AbstractDomainVertex,? extends AbstractDomainEdge>>namespace - the namespace of the graph to getpublic List<String> getNamespaces()
getNamespaces in interface GraphContainerInfopublic String getDescription()
getDescription in interface GraphContainerInfopublic 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 String getId()
getId in interface GraphContainerInfopublic GenericGraphContainer asGenericGraphContainer()
ImmutableGraphContainerImmutableGraphContainer to its generic counter part.asGenericGraphContainer in interface ImmutableGraphContainer<G extends AbstractDomainGraph<? extends AbstractDomainVertex,? extends AbstractDomainEdge>>Copyright © 2021. All rights reserved.