Package org.opennms.netmgt.model
Class ResourceReference
- java.lang.Object
-
- org.opennms.netmgt.model.ResourceReference
-
- All Implemented Interfaces:
Serializable
@Entity public class ResourceReference extends Object implements Serializable
Model class for a resource reference. This maps a unique string resourceID to a unique integer to minimize costs of storing repeated resourceID strings in the database.- Version:
- $Id: $
- Author:
- DJ Gregor
- See Also:
OnmsResource.getId()
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResourceReference()
Constructor for ResourceReference.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getId()
Unique identifier for resource reference.String
getResourceId()
getResourceIdvoid
setId(Integer id)
setIdvoid
setResourceId(String resourceId)
setResourceId
-