org.codeforamerica.open311.facade.data
Interface Attribute

All Known Implementing Classes:
MultiValueAttribute, SingleValueAttribute

public interface Attribute

Specifies the required operations of an attribute useful for the POST Service Request operation.

Author:
Santiago MunĂ­n

Method Summary
 Map<String,String> generatePOSTRequestParameter()
          Generates a list of pairs (String, String) ready to be passed as paremeters to a POST request.
 

Method Detail

generatePOSTRequestParameter

Map<String,String> generatePOSTRequestParameter()
Generates a list of pairs (String, String) ready to be passed as paremeters to a POST request.

Returns:
A pair (attribute[CODE],value) or a list of pairs (attribute[CODE][],value1), (attribute[CODE][], value2)...


Copyright © 2013 Code for America. All Rights Reserved.