Package org.opennms.netmgt.model
Class ResourceId
- java.lang.Object
-
- org.opennms.netmgt.model.ResourceId
-
- All Implemented Interfaces:
Comparable<ResourceId>
public class ResourceId extends Object implements Comparable<ResourceId>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ResourceId resourceId)
boolean
equals(Object o)
static ResourceId
fromString(String s)
static ResourceId
get(String type, String name)
static ResourceId
get(ResourceId parent, String type, String name)
String
getName()
ResourceId
getParent()
String
getType()
int
hashCode()
ResourceId
resolve(String type, String name)
String
toString()
-
-
-
Field Detail
-
parent
public final ResourceId parent
-
type
public final String type
-
name
public final String name
-
-
Method Detail
-
getParent
public ResourceId getParent()
-
resolve
public ResourceId resolve(String type, String name)
-
get
public static ResourceId get(ResourceId parent, String type, String name)
-
get
public static ResourceId get(String type, String name)
-
fromString
public static ResourceId fromString(String s)
-
compareTo
public int compareTo(ResourceId resourceId)
- Specified by:
compareTo
in interfaceComparable<ResourceId>
-
getType
public String getType()
-
getName
public String getName()
-
-