Class DefaultVertexRef
- java.lang.Object
-
- org.opennms.features.topology.api.topo.AbstractRef
-
- org.opennms.features.topology.api.topo.DefaultVertexRef
-
- 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(java.lang.String namespace, java.lang.String id)
Deprecated.Specify a useful label for the objectDefaultVertexRef(java.lang.String namespace, java.lang.String id, java.lang.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(java.lang.Object obj)
java.lang.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 org.opennms.features.topology.api.topo.Ref
getId, getLabel, getNamespace
-
-
-
-
Constructor Detail
-
DefaultVertexRef
public DefaultVertexRef(VertexRef ref)
-
DefaultVertexRef
public DefaultVertexRef(java.lang.String namespace, java.lang.String id, java.lang.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
-
-
DefaultVertexRef
public DefaultVertexRef(java.lang.String namespace, java.lang.String id)
Deprecated.Specify a useful label for the object
-
-
Method Detail
-
equals
public final boolean equals(java.lang.Object obj)
- Overrides:
equals
in classAbstractRef
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-