public class HwEntityDaoHibernate extends AbstractDaoHibernate<OnmsHwEntity,Integer> implements HwEntityDao
m_criteriaConverter| Constructor and Description | 
|---|
| HwEntityDaoHibernate()The Constructor. | 
| 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. | 
buildHibernateCallback, bulkDelete, clear, countAll, countMatching, countMatching, delete, delete, deleteAll, find, find, findAll, findMatching, findMatching, findObjects, findUnique, flush, get, initDao, initialize, load, lock, merge, queryInt, queryInt, save, saveOrUpdate, updatecheckDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, updatepublic OnmsHwEntity findRootByNodeId(Integer nodeId)
HwEntityDaofindRootByNodeId in interface HwEntityDaonodeId - the node idpublic OnmsHwEntity findEntityByIndex(Integer nodeId, Integer entPhysicalIndex)
HwEntityDaofindEntityByIndex in interface HwEntityDaonodeId - the node identPhysicalIndex - the entity physical indexpublic OnmsHwEntity findEntityByName(Integer nodeId, String entPhysicalName)
HwEntityDaofindEntityByName in interface HwEntityDaonodeId - the node identPhysicalName - the entity physical namepublic String getAttributeValue(Integer nodeId, Integer entPhysicalIndex, String attributeName)
HwEntityDaogetAttributeValue in interface HwEntityDaonodeId - the node identPhysicalIndex - the entity physical indexattributeName - the name of the desired attributepublic String getAttributeValue(Integer nodeId, String nameSource, String attributeName)
HwEntityDaogetAttributeValue in interface HwEntityDaonodeId - 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.