Package org.opennms.netmgt.dao.util
Class AbstractIfLabel
- java.lang.Object
-
- org.opennms.netmgt.dao.util.AbstractIfLabel
-
- All Implemented Interfaces:
IfLabel
- Direct Known Subclasses:
IfLabelDaoImpl
public abstract class AbstractIfLabel extends java.lang.Object implements IfLabel
A convenience class for methods to encode/decode ifLabel descriptions for storing SNMP data in an RRD file.- Author:
- Mike Davidson , Lawrence Karnowski , Seth Leger
-
-
Field Summary
-
Fields inherited from interface org.opennms.netmgt.dao.api.IfLabel
NO_IFLABEL
-
-
Constructor Summary
Constructors Constructor Description AbstractIfLabel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIfLabel(java.lang.String name, java.lang.String descr, java.lang.String physAddr)
getIfLabel-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opennms.netmgt.dao.api.IfLabel
getIfLabel, getIfLabelfromIfIndex, getIfLabelfromSnmpIfIndex, getInterfaceInfoFromIfLabel, setSnmpInterfaceDao
-
-
-
-
Method Detail
-
getIfLabel
public final java.lang.String getIfLabel(java.lang.String name, java.lang.String descr, java.lang.String physAddr)
getIfLabel
- Specified by:
getIfLabel
in interfaceIfLabel
- Parameters:
name
- aString
object.descr
- aString
object.physAddr
- aString
object.- Returns:
- a
String
object.
-
-