Package org.opennms.netmgt.graph.domain
Class AbstractDomainEdge
- java.lang.Object
-
- org.opennms.netmgt.graph.domain.AbstractDomainEdge
-
- All Implemented Interfaces:
Edge
- Direct Known Subclasses:
BusinessServiceEdge
,CustomEdge
,LegacyEdge
,SimpleDomainEdge
public abstract class AbstractDomainEdge extends Object implements Edge
Acts as a domain specific view on aGenericEdge
. Can be extended by a domain specific edge class. It contains no data of it's own but operates on the data of it's wrappedGenericEdge
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractDomainEdge.AbstractDomainEdgeBuilder<T extends AbstractDomainElementBuilder<?>>
-
Field Summary
Fields Modifier and Type Field Description protected GenericEdge
delegate
-
Constructor Summary
Constructors Constructor Description AbstractDomainEdge(GenericEdge genericEdge)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericEdge
asGenericEdge()
boolean
equals(Object o)
String
getId()
String
getLabel()
String
getNamespace()
VertexRef
getSource()
VertexRef
getTarget()
int
hashCode()
-
-
-
Field Detail
-
delegate
protected final GenericEdge delegate
-
-
Constructor Detail
-
AbstractDomainEdge
public AbstractDomainEdge(GenericEdge genericEdge)
-
-
Method Detail
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceEdge
-
asGenericEdge
public GenericEdge asGenericEdge()
- Specified by:
asGenericEdge
in interfaceEdge
-
getLabel
public String getLabel()
-
-