Package org.opennms.netmgt.graph.domain
Class AbstractDomainVertex
- java.lang.Object
-
- org.opennms.netmgt.graph.domain.AbstractDomainVertex
-
- All Implemented Interfaces:
NodeRefAware
,Vertex
- Direct Known Subclasses:
ApplicationVertex
,BusinessServiceVertex
,CustomVertex
,LegacyVertex
,SimpleDomainVertex
public class AbstractDomainVertex extends Object implements Vertex, NodeRefAware
Acts as a domain specific view on aGenericVertex
. Can be extended by a domain specific vertex class. It contains no data of it's own but operates on the data of it's wrappedGenericVertex
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbstractDomainVertex.AbstractDomainVertexBuilder<T extends AbstractDomainElementBuilder>
-
Field Summary
Fields Modifier and Type Field Description protected GenericVertex
delegate
-
Constructor Summary
Constructors Constructor Description AbstractDomainVertex(GenericVertex genericVertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericVertex
asGenericVertex()
boolean
equals(Object o)
String
getId()
String
getLabel()
String
getNamespace()
NodeRef
getNodeRef()
VertexRef
getVertexRef()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
delegate
protected final GenericVertex delegate
-
-
Constructor Detail
-
AbstractDomainVertex
public AbstractDomainVertex(GenericVertex genericVertex)
-
-
Method Detail
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceVertex
-
getVertexRef
public VertexRef getVertexRef()
- Specified by:
getVertexRef
in interfaceVertex
-
getLabel
public String getLabel()
-
asGenericVertex
public final GenericVertex asGenericVertex()
- Specified by:
asGenericVertex
in interfaceVertex
-
getNodeRef
public NodeRef getNodeRef()
- Specified by:
getNodeRef
in interfaceNodeRefAware
-
-