public class Urn extends Object
Constructor and Description |
---|
Urn(String prefix,
String type,
long id)
Initializes a new instance of the
Urn class |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether the specified
Object is equal to this instance |
ResourceTypeGroup |
getGroup()
Returns the
ResourceTypeGroup enum member describing the group of the current instance |
long |
getId()
Returns the numerical part of the identifier associated with the current instance
|
String |
getPrefix()
Returns the prefix of the current instance
|
String |
getType()
Returns the type of the resource associated with the current instance
|
int |
hashCode()
Returns a hash code for this instance
|
boolean |
isSimpleTeam() |
static boolean |
isSimpleTeam(String urn) |
static Urn |
parse(String urnString)
|
String |
toString()
Returns a
String that represents this instance |
public String getPrefix()
public String getType()
public long getId()
public ResourceTypeGroup getGroup()
ResourceTypeGroup
enum member describing the group of the current instanceResourceTypeGroup
enum member describing the group of the current instancepublic boolean equals(Object obj)
Object
is equal to this instancepublic int hashCode()
public boolean isSimpleTeam()
public static boolean isSimpleTeam(String urn)
Copyright © 2016–2025. All rights reserved.