Class ResourceID

    • Constructor Detail

      • ResourceID

        public ResourceID​(String resourceId)
      • ResourceID

        public ResourceID​(String resourceId,
                          String metadata)
    • Method Detail

      • getResourceIdString

        public final String getResourceIdString()
        Gets the Resource Id as string.
        Returns:
        Stringified version of the ResourceID
      • getStringWithMetadata

        public final String getStringWithMetadata()
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • getMetadata

        public String getMetadata()
      • generate

        public static ResourceID generate()
        Generate a random resource id.
        Returns:
        A random resource id.