Spring Data Key-Value

org.springframework.data.keyvalue.riak.core
Class RiakMetaData

java.lang.Object
  extended by org.springframework.data.keyvalue.riak.core.RiakMetaData
All Implemented Interfaces:
KeyValueStoreMetaData

public class RiakMetaData
extends Object
implements KeyValueStoreMetaData

An implementation of KeyValueStoreMetaData for Riak.

Author:
J. Brisbin

Constructor Summary
RiakMetaData(Map<String,Object> properties)
           
RiakMetaData(MediaType mediaType, Map<String,Object> properties)
           
 
Method Summary
 MediaType getContentType()
          Get the Content-Type of this object.
 long getLastModified()
           
 Map<String,Object> getProperties()
          Get the arbitrary properties for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RiakMetaData

public RiakMetaData(Map<String,Object> properties)

RiakMetaData

public RiakMetaData(MediaType mediaType,
                    Map<String,Object> properties)
Method Detail

getContentType

public MediaType getContentType()
Description copied from interface: KeyValueStoreMetaData
Get the Content-Type of this object.

Specified by:
getContentType in interface KeyValueStoreMetaData
Returns:

getLastModified

public long getLastModified()
Specified by:
getLastModified in interface KeyValueStoreMetaData

getProperties

public Map<String,Object> getProperties()
Description copied from interface: KeyValueStoreMetaData
Get the arbitrary properties for this object.

Specified by:
getProperties in interface KeyValueStoreMetaData
Returns:

Spring Data Key-Value

Copyright © 2010 SpringSource. All Rights Reserved.