Class ResourceWithMetadata

java.lang.Object
org.alfresco.rest.framework.core.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
  • Constructor Details

  • Method Details

    • getResource

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

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

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object