org.opennms.netmgt.dao.support
Class NodeResourceType
java.lang.Object
org.opennms.netmgt.dao.support.NodeResourceType
- All Implemented Interfaces:
- OnmsResourceType
public class NodeResourceType
- extends Object
- implements OnmsResourceType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
s_emptyAttributeSet
protected static final Set<OnmsAttribute> s_emptyAttributeSet
m_resourceDao
protected ResourceDao m_resourceDao
NodeResourceType
public NodeResourceType(ResourceDao resourceDao)
getLabel
public String getLabel()
- Specified by:
getLabel in interface OnmsResourceType
getName
public String getName()
- Specified by:
getName in interface OnmsResourceType
getResourcesForDomain
public List<OnmsResource> getResourcesForDomain(String domain)
- Specified by:
getResourcesForDomain in interface OnmsResourceType
getResourcesForNode
public List<OnmsResource> getResourcesForNode(int nodeId)
- Specified by:
getResourcesForNode in interface OnmsResourceType
isResourceTypeOnDomain
public boolean isResourceTypeOnDomain(String domain)
- Specified by:
isResourceTypeOnDomain in interface OnmsResourceType
isResourceTypeOnNode
public boolean isResourceTypeOnNode(int nodeId)
- Specified by:
isResourceTypeOnNode in interface OnmsResourceType
getLinkForResource
public String getLinkForResource(OnmsResource resource)
- Specified by:
getLinkForResource in interface OnmsResourceType
createChildResource
public OnmsResource createChildResource(OnmsNode node)
Copyright © 2009. All Rights Reserved.