public interface HwEntityDao extends OnmsDao<OnmsHwEntity,Integer>
Modifier and Type | Method and Description |
---|---|
OnmsHwEntity |
findEntityByIndex(Integer nodeId,
Integer entPhysicalIndex)
Find entity by index.
|
OnmsHwEntity |
findEntityByName(Integer nodeId,
String entPhysicalName)
Find entity by name.
|
OnmsHwEntity |
findRootByNodeId(Integer nodeId)
Find root by node id.
|
String |
getAttributeValue(Integer nodeId,
Integer entPhysicalIndex,
String attributeName)
Gets the attribute value.
|
String |
getAttributeValue(Integer nodeId,
String nameSource,
String attributeName)
Gets the attribute value.
|
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
OnmsHwEntity findRootByNodeId(Integer nodeId)
nodeId
- the node idOnmsHwEntity findEntityByIndex(Integer nodeId, Integer entPhysicalIndex)
nodeId
- the node identPhysicalIndex
- the entity physical indexOnmsHwEntity findEntityByName(Integer nodeId, String entPhysicalName)
nodeId
- the node identPhysicalName
- the entity physical nameString getAttributeValue(Integer nodeId, Integer entPhysicalIndex, String attributeName)
nodeId
- the node identPhysicalIndex
- the entity physical indexattributeName
- the name of the desired attributeString getAttributeValue(Integer nodeId, String nameSource, String attributeName)
nodeId
- the node idnameSource
- either the value of entPhysicalName or a regular expression to be applied over the entPhysicalName (should start with '~')attributeName
- the name of the desired attributeCopyright © 2021. All rights reserved.