anchor.diff:      Object#riakc_obj{updatemetadata=dict:store(?MD_CTYPE, CT, M1)}.
   
   %% @doc  Set the updated value of an object to V
  --spec update_value(#riakc_obj{}, value()) -> #riakc_obj{}.
  +-spec update_value(riakc_obj(), value()) -> riakc_obj().
   update_value(Object=#riakc_obj{}, V) -> Object#riakc_obj{updatevalue=V}.
   
   %% @doc  Set the updated value of an object to V
  --spec update_value(#riakc_obj{}, value(), content_type()) -> #riakc_obj{}.
  +-spec update_value(riakc_obj(), value(), content_type()) -> riakc_obj().
   update_value(Object=#riakc_obj{}, V, CT) -> 
       O1 = update_content_type(Object, CT),
       O1#riakc_obj{updatevalue=V}.
   
   %% @doc  Return the updated metadata of this riakc_obj.
  --spec get_update_metadata(#riakc_obj{}) -> metadata().
  +-spec get_update_metadata(Object::riakc_obj()) -> metadata().
   get_update_metadata(#riakc_obj{updatemetadata=UM}=Object) ->
       case UM of
           undefined ->
  
positive.code: -include_lib("eunit/include/eunit.hrl").
  -endif.
  
  -type bucket() :: binary().
  -type key() :: binary() | 'undefined'.
  -type vclock() :: binary().
  
negative.code:     end.
  
  %% @doc  Set the vector clock of an object
  -spec set_vclock(riakc_obj(), vclock()) -> riakc_obj().
  set_vclock(Object=#riakc_obj{}, Vclock) ->
      Object#riakc_obj{vclock=Vclock}.
  
  %% @doc  INTERNAL USE ONLY.  Set the contents of riakc_obj to the
  %%       {Metadata, Value} pairs in MVs. Normal clients should use the
  %%       set_update_[value|metadata]() + apply_updates() method for changing
  %%       object contents.
  %% @private
  -spec new_obj(bucket(), key(), vclock(), contents()) -> riakc_obj().
  new_obj(Bucket, Key, Vclock, Contents) ->
      #riakc_obj{bucket = Bucket, key = Key, vclock = Vclock, contents = Contents}.
  
  