Class DefaultVertexRef
- java.lang.Object
-
- org.opennms.features.topology.api.topo.AbstractRef
-
- org.opennms.features.topology.api.topo.DefaultVertexRef
-
- All Implemented Interfaces:
Comparable<Ref>
,Ref
,VertexRef
- Direct Known Subclasses:
AbstractVertex
public class DefaultVertexRef extends AbstractRef implements VertexRef
- Author:
- Seth Leger, Donald Desloge
-
-
Field Summary
-
Fields inherited from class org.opennms.features.topology.api.topo.AbstractRef
m_id
-
-
Constructor Summary
Constructors Constructor Description DefaultVertexRef(String namespace, String id)
Deprecated.Specify a useful label for the objectDefaultVertexRef(String namespace, String id, String label)
Just a note here, it is important that the id parameter is set to the node id if the namespace is "nodes".DefaultVertexRef(VertexRef ref)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
toString()
-
Methods inherited from class org.opennms.features.topology.api.topo.AbstractRef
compareTo, getId, getLabel, getNamespace, hashCode, setLabel
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface org.opennms.features.topology.api.topo.Ref
getId, getLabel, getNamespace
-
-
-
-
Constructor Detail
-
DefaultVertexRef
public DefaultVertexRef(VertexRef ref)
-
DefaultVertexRef
public DefaultVertexRef(String namespace, String id, String label)
Just a note here, it is important that the id parameter is set to the node id if the namespace is "nodes". (david@opennms.org)- Parameters:
namespace
-id
-label
-
-
-