org.restlet.util
Interface NamedValue<V>

All Known Implementing Classes:
CacheDirective, Cookie, CookieSetting, Expectation, Parameter

public interface NamedValue<V>

String couple between a name and a value.

Author:
Jerome Louvel

Method Summary
 String getName()
          Returns the name of this parameter.
 V getValue()
          Returns the value.
 void setValue(V value)
          Sets the value.
 

Method Detail

getName

String getName()
Returns the name of this parameter.

Returns:
The name of this parameter.

getValue

V getValue()
Returns the value.

Returns:
The value.

setValue

void setValue(V value)
Sets the value.

Parameters:
value - The value.


Copyright © 2005-2013 Restlet.