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 ofAbstractDomainEdgeand 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 classSimpleDomainEdge.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.SimpleDomainEdgeBuilderbuilder()booleanequals(Object o)static SimpleDomainEdgefrom(GenericEdge genericEdge)inthashCode()-
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:
equalsin classAbstractDomainEdge
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDomainEdge
-
builder
public static SimpleDomainEdge.SimpleDomainEdgeBuilder builder()
-
from
public static SimpleDomainEdge from(GenericEdge genericEdge)
-
-