org.odata4j.producer
Interface SimpleResponse

All Superinterfaces:
BaseResponse

public interface SimpleResponse
extends BaseResponse

An SimpleResponse is a response to a client request expecting a single EdmSimpleType value.

The Responses static factory class can be used to create SimpleResponse instances.


Method Summary
 String getName()
          Gets the (optional) name of the value
 EdmSimpleType getType()
          Gets the type of the value
 Object getValue()
          Gets the value.
 

Method Detail

getName

String getName()
Gets the (optional) name of the value

Returns:
the property name if available or null

getType

EdmSimpleType getType()
Gets the type of the value

Returns:
the type of the value

getValue

Object getValue()
Gets the value.

Returns:
the property value


http://odata4j.org