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 IntegergetId()Unique identifier for resource reference.StringgetResourceId()getResourceIdvoidsetId(Integer id)setIdvoidsetResourceId(String resourceId)setResourceId
-