public final class ResourceID extends Object implements ResourceIDRetrievable, Serializable
Constructor and Description |
---|
ResourceID(String resourceId) |
ResourceID(String resourceId,
String metadata) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static ResourceID |
generate()
Generate a random resource id.
|
String |
getMetadata() |
ResourceID |
getResourceID()
A ResourceID can always retrieve a ResourceID.
|
String |
getResourceIdString()
Gets the Resource Id as string.
|
String |
getStringWithMetadata() |
int |
hashCode() |
String |
toString() |
public ResourceID(String resourceId)
public final String getResourceIdString()
public final String getStringWithMetadata()
public ResourceID getResourceID()
getResourceID
in interface ResourceIDRetrievable
public String getMetadata()
public static ResourceID generate()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.