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 classAbstractDomainVertex.AbstractDomainVertexBuilder<T extends AbstractDomainElementBuilder>
-
Field Summary
Fields Modifier and Type Field Description protected GenericVertexdelegate
-
Constructor Summary
Constructors Constructor Description AbstractDomainVertex(GenericVertex genericVertex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GenericVertexasGenericVertex()booleanequals(Object o)StringgetId()StringgetLabel()StringgetNamespace()NodeRefgetNodeRef()VertexRefgetVertexRef()inthashCode()StringtoString()
-
-
-
Field Detail
-
delegate
protected final GenericVertex delegate
-
-
Constructor Detail
-
AbstractDomainVertex
public AbstractDomainVertex(GenericVertex genericVertex)
-
-
Method Detail
-
getNamespace
public String getNamespace()
- Specified by:
getNamespacein interfaceVertex
-
getVertexRef
public VertexRef getVertexRef()
- Specified by:
getVertexRefin interfaceVertex
-
getLabel
public String getLabel()
-
asGenericVertex
public final GenericVertex asGenericVertex()
- Specified by:
asGenericVertexin interfaceVertex
-
getNodeRef
public NodeRef getNodeRef()
- Specified by:
getNodeRefin interfaceNodeRefAware
-
-