Class ResourceWithMetadata


  • public class ResourceWithMetadata
    extends Object
    This wraps a resource object with its metadata. A single source for both the information about the resource and the resource itself
    Author:
    Gethin James
    • Method Detail

      • getResource

        public Object getResource()
        Returns the REST resource object
        Returns:
        Object
      • getMetaData

        public ResourceMetadata getMetaData()
        Returns the meta data for this resource
        Returns:
        ResourceMetadata
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object