Class SimpleDomainEdge
- java.lang.Object
-
- org.opennms.netmgt.graph.domain.AbstractDomainEdge
-
- org.opennms.netmgt.graph.domain.simple.SimpleDomainEdge
-
- All Implemented Interfaces:
Edge
public final class SimpleDomainEdge extends AbstractDomainEdge
Acts as a domain specific view on aGenericEdge
. This is the most basic concrete subclass ofAbstractDomainEdge
and can be used as a reference for your own domain edge. It is a final class. If you need more functionality please extendAbstractDomainEdge
. Since it's delegate is immutable and this class holds no data of it's own it is immutable as well.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SimpleDomainEdge.SimpleDomainEdgeBuilder
-
Nested classes/interfaces inherited from class org.opennms.netmgt.graph.domain.AbstractDomainEdge
AbstractDomainEdge.AbstractDomainEdgeBuilder<T extends AbstractDomainElementBuilder<?>>
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.graph.domain.AbstractDomainEdge
delegate
-
-
Constructor Summary
Constructors Constructor Description SimpleDomainEdge(GenericEdge genericEdge)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleDomainEdge.SimpleDomainEdgeBuilder
builder()
boolean
equals(Object o)
static SimpleDomainEdge
from(GenericEdge genericEdge)
int
hashCode()
-
Methods inherited from class org.opennms.netmgt.graph.domain.AbstractDomainEdge
asGenericEdge, getId, getLabel, getNamespace, getSource, getTarget
-
-
-
-
Constructor Detail
-
SimpleDomainEdge
public SimpleDomainEdge(GenericEdge genericEdge)
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAbstractDomainEdge
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAbstractDomainEdge
-
builder
public static SimpleDomainEdge.SimpleDomainEdgeBuilder builder()
-
from
public static SimpleDomainEdge from(GenericEdge genericEdge)
-
-