Class EntityPhysicalTableRow
- java.lang.Object
-
- org.opennms.netmgt.snmp.SnmpRowResult
-
- org.opennms.netmgt.provision.snmp.EntityPhysicalTableRow
-
public class EntityPhysicalTableRow extends SnmpRowResult
The Class EntityPhysicalTableRow.- Author:
- Alejandro Galue
-
-
Field Summary
Fields Modifier and Type Field Description static String[]CLASSESThe Constant CLASSES.static SnmpObjId[]ELEMENTSThe Constant ELEMENTS.static SnmpObjIdentPhysicalAliasThe Constant entPhysicalAlias.static SnmpObjIdentPhysicalAssetIDThe Constant entPhysicalAssetID.static SnmpObjIdentPhysicalClassThe Constant entPhysicalClass.static SnmpObjIdentPhysicalContainedInThe Constant entPhysicalContainedIn.static SnmpObjIdentPhysicalDescrThe Constant entPhysicalDescr.static SnmpObjIdentPhysicalFirmwareRevThe Constant entPhysicalFirmwareRev.static SnmpObjIdentPhysicalHardwareRevThe Constant entPhysicalHardwareRev.static SnmpObjIdentPhysicalIsFRUThe Constant entPhysicalIsFRU.static SnmpObjIdentPhysicalMfgDateThe Constant entPhysicalMfgDate.static SnmpObjIdentPhysicalMfgNameThe Constant entPhysicalMfgName.static SnmpObjIdentPhysicalModelNameThe Constant entPhysicalModelName.static SnmpObjIdentPhysicalNameThe Constant entPhysicalName.static SnmpObjIdentPhysicalParentRelPosThe Constant entPhysicalParentRelPos.static SnmpObjIdentPhysicalSerialNumThe Constant entPhysicalSerialNum.static SnmpObjIdentPhysicalSoftwareRevThe Constant entPhysicalSoftwareRev.static SnmpObjIdentPhysicalUrisThe Constant entPhysicalUris.static SnmpObjIdentPhysicalVendorTypeThe Constant entPhysicalVendorType.
-
Constructor Summary
Constructors Constructor Description EntityPhysicalTableRow(int columnCount, SnmpInstId instance)The Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEntPhysicalIndex()Gets the entity physical index.OnmsHwEntitygetOnmsHwEntity(Map<SnmpObjId,HwEntityAttributeType> vendorAttributes, Map<String,String> replacementMap)Gets the hardware entity.-
Methods inherited from class org.opennms.netmgt.snmp.SnmpRowResult
addResult, getColumnCount, getInstance, getResults, getValue, isComplete, toString
-
-
-
-
Field Detail
-
entPhysicalDescr
public static final SnmpObjId entPhysicalDescr
The Constant entPhysicalDescr.
-
entPhysicalVendorType
public static final SnmpObjId entPhysicalVendorType
The Constant entPhysicalVendorType.
-
entPhysicalContainedIn
public static final SnmpObjId entPhysicalContainedIn
The Constant entPhysicalContainedIn.
-
entPhysicalClass
public static final SnmpObjId entPhysicalClass
The Constant entPhysicalClass.
-
entPhysicalParentRelPos
public static final SnmpObjId entPhysicalParentRelPos
The Constant entPhysicalParentRelPos.
-
entPhysicalName
public static final SnmpObjId entPhysicalName
The Constant entPhysicalName.
-
entPhysicalHardwareRev
public static final SnmpObjId entPhysicalHardwareRev
The Constant entPhysicalHardwareRev.
-
entPhysicalFirmwareRev
public static final SnmpObjId entPhysicalFirmwareRev
The Constant entPhysicalFirmwareRev.
-
entPhysicalSoftwareRev
public static final SnmpObjId entPhysicalSoftwareRev
The Constant entPhysicalSoftwareRev.
-
entPhysicalSerialNum
public static final SnmpObjId entPhysicalSerialNum
The Constant entPhysicalSerialNum.
-
entPhysicalMfgName
public static final SnmpObjId entPhysicalMfgName
The Constant entPhysicalMfgName.
-
entPhysicalModelName
public static final SnmpObjId entPhysicalModelName
The Constant entPhysicalModelName.
-
entPhysicalAlias
public static final SnmpObjId entPhysicalAlias
The Constant entPhysicalAlias.
-
entPhysicalAssetID
public static final SnmpObjId entPhysicalAssetID
The Constant entPhysicalAssetID.
-
entPhysicalIsFRU
public static final SnmpObjId entPhysicalIsFRU
The Constant entPhysicalIsFRU.
-
entPhysicalMfgDate
public static final SnmpObjId entPhysicalMfgDate
The Constant entPhysicalMfgDate.
-
entPhysicalUris
public static final SnmpObjId entPhysicalUris
The Constant entPhysicalUris.
-
ELEMENTS
public static final SnmpObjId[] ELEMENTS
The Constant ELEMENTS.
-
CLASSES
public static final String[] CLASSES
The Constant CLASSES.
-
-
Constructor Detail
-
EntityPhysicalTableRow
public EntityPhysicalTableRow(int columnCount, SnmpInstId instance)The Constructor.- Parameters:
columnCount- the column countinstance- the instance
-
-
Method Detail
-
getEntPhysicalIndex
public int getEntPhysicalIndex()
Gets the entity physical index.- Returns:
- the entity physical index
-
getOnmsHwEntity
public OnmsHwEntity getOnmsHwEntity(Map<SnmpObjId,HwEntityAttributeType> vendorAttributes, Map<String,String> replacementMap)
Gets the hardware entity.- Parameters:
vendorAttributes- the vendor attributesreplacementMap- the replacement map- Returns:
- the hardware entity
-
-