public class MockHwEntityAttributeTypeDao extends AbstractMockDao<HwEntityAttributeType,Integer> implements HwEntityAttributeTypeDao
AbstractMockDao.NullEventForwarder
Constructor and Description |
---|
MockHwEntityAttributeTypeDao() |
Modifier and Type | Method and Description |
---|---|
HwEntityAttributeType |
findTypeByName(String name)
Find type by name.
|
HwEntityAttributeType |
findTypeByOid(String oid)
Find type by OID.
|
protected void |
generateId(HwEntityAttributeType outage) |
HwEntityAttributeType |
get(Integer id) |
protected Integer |
getId(HwEntityAttributeType outage) |
HwEntityAttributeType |
load(Integer id) |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, delete, findAll, findMatching, findMatching, flush, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getMonitoringLocationDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, lock, save, saveOrUpdate, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, initialize, lock, save, saveOrUpdate, update
protected void generateId(HwEntityAttributeType outage)
generateId
in class AbstractMockDao<HwEntityAttributeType,Integer>
protected Integer getId(HwEntityAttributeType outage)
getId
in class AbstractMockDao<HwEntityAttributeType,Integer>
public HwEntityAttributeType get(Integer id)
get
in interface OnmsDao<HwEntityAttributeType,Integer>
get
in class AbstractMockDao<HwEntityAttributeType,Integer>
public HwEntityAttributeType load(Integer id)
load
in interface OnmsDao<HwEntityAttributeType,Integer>
load
in class AbstractMockDao<HwEntityAttributeType,Integer>
public HwEntityAttributeType findTypeByName(String name)
HwEntityAttributeTypeDao
findTypeByName
in interface HwEntityAttributeTypeDao
name
- the namepublic HwEntityAttributeType findTypeByOid(String oid)
HwEntityAttributeTypeDao
findTypeByOid
in interface HwEntityAttributeTypeDao
oid
- the OIDCopyright © 2020. All rights reserved.