Class SimpleDomainVertex
- java.lang.Object
-
- org.opennms.netmgt.graph.domain.AbstractDomainVertex
-
- org.opennms.netmgt.graph.domain.simple.SimpleDomainVertex
-
- All Implemented Interfaces:
NodeRefAware,Vertex
public final class SimpleDomainVertex extends AbstractDomainVertex
Acts as a domain specific view on aGenericVertex. This is the most basic concrete subclass ofAbstractDomainVertexand can be used as a reference for your own domain vertex. It is a final class. If you need more functionality please extendAbstractDomainVertex. 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 classSimpleDomainVertex.SimpleDomainVertexBuilder-
Nested classes/interfaces inherited from class org.opennms.netmgt.graph.domain.AbstractDomainVertex
AbstractDomainVertex.AbstractDomainVertexBuilder<T extends AbstractDomainElementBuilder>
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.graph.domain.AbstractDomainVertex
delegate
-
-
Constructor Summary
Constructors Constructor Description SimpleDomainVertex(GenericVertex genericVertex)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleDomainVertex.SimpleDomainVertexBuilderbuilder()booleanequals(Object o)static SimpleDomainVertexfrom(GenericVertex genericVertex)inthashCode()StringtoString()-
Methods inherited from class org.opennms.netmgt.graph.domain.AbstractDomainVertex
asGenericVertex, getId, getLabel, getNamespace, getNodeRef, getVertexRef
-
-
-
-
Constructor Detail
-
SimpleDomainVertex
public SimpleDomainVertex(GenericVertex genericVertex)
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractDomainVertex
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractDomainVertex
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractDomainVertex
-
builder
public static SimpleDomainVertex.SimpleDomainVertexBuilder builder()
-
from
public static SimpleDomainVertex from(GenericVertex genericVertex)
-
-