org.springframework.extensions.surf.resource
Interface ResourceMetadata


public interface ResourceMetadata

Interface to the describe the metadata of a resource.

Author:
muzquiano

Method Summary
 byte[] getBytes()
          Returns the bytes of the metadata
 String getId()
          Gets the id of the object
 Resource getResource()
          A link back to the resource of which this content is a part
 long getTimestamp()
          Gets the timestamp of the metadata retrieval
 void reload()
          Reloads the metadata
 

Method Detail

getResource

Resource getResource()
A link back to the resource of which this content is a part

Returns:

getId

String getId()
Gets the id of the object

Returns:
the id

getBytes

byte[] getBytes()
Returns the bytes of the metadata


getTimestamp

long getTimestamp()
Gets the timestamp of the metadata retrieval

Returns:

reload

void reload()
Reloads the metadata



Copyright © 2009 SpringSource, Inc. All Rights Reserved.