|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sunlightlabs.entities.JSONEntity
com.sunlightlabs.entities.Lobbyist
public class Lobbyist
represents a registered Lobbyist com.sunlightlabs.entities.Legislator steve Jul 22, 2009
Field Summary | |
---|---|
static Lobbyist[] |
EMPTY_ARRAY
|
static java.lang.String[] |
KNOWN_PROPERTIES
|
static java.lang.String |
name
|
static java.lang.Class<Lobbyist> |
THIS_CLASS
|
Constructor Summary | |
---|---|
Lobbyist(JSONObject data)
constructor |
|
Lobbyist(java.util.Map data)
constructor |
Method Summary | |
---|---|
static Lobbyist[] |
allLobbyistsFiledWith(com.sunlightlabs.api.ApiCall call,
java.lang.String clientName)
|
java.lang.String |
getEntityName()
JSON Tag for this |
Issue[] |
getIssues()
|
java.lang.String[] |
getKnownProperties()
unofficial list of properties |
static Lobbyist[] |
getLobbyistsForZipCode(com.sunlightlabs.api.ApiCall call,
java.lang.String zipcode)
|
java.lang.String |
getName()
|
static java.lang.String |
getPluralEntityName()
|
void |
showProperties(java.lang.Appendable out)
write all name value pairs to the appender |
Methods inherited from class com.sunlightlabs.entities.JSONEntity |
---|
equivalent, getAllKeys, getArrayItems, getArrayStringItems, getContainedJSONObject, getJSONObject, getJSONObjects, getJSONStrings, getNameValuePairs, getProperties, getProperty, show, show, showProperties |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.Class<Lobbyist> THIS_CLASS
public static Lobbyist[] EMPTY_ARRAY
public static final java.lang.String[] KNOWN_PROPERTIES
public static final java.lang.String name
Constructor Detail |
---|
public Lobbyist(JSONObject data)
data
- non-nulljson object with propertiespublic Lobbyist(java.util.Map data)
data
- non-null map with propertiesMethod Detail |
---|
public static java.lang.String getPluralEntityName()
public static Lobbyist[] allLobbyistsFiledWith(com.sunlightlabs.api.ApiCall call, java.lang.String clientName)
call
- non-null callerclientName
-
public static Lobbyist[] getLobbyistsForZipCode(com.sunlightlabs.api.ApiCall call, java.lang.String zipcode)
call
- non-null callerzipcode
-
public java.lang.String getEntityName()
getEntityName
in class JSONEntity
public java.lang.String[] getKnownProperties()
getKnownProperties
in class JSONEntity
public java.lang.String getName()
public Issue[] getIssues()
public void showProperties(java.lang.Appendable out)
showProperties
in class JSONEntity
out
- non-null appender
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |