com.sunlightlabs.entities
Class Issue
java.lang.Object
com.sunlightlabs.entities.JSONEntity
com.sunlightlabs.entities.Issue
public class Issue
- extends JSONEntity
represents a Lobbyist issue
com.sunlightlabs.entities.Issue steve Jul 22, 2009
Methods inherited from class com.sunlightlabs.entities.JSONEntity |
equivalent, getAllKeys, getArrayItems, getArrayStringItems, getContainedJSONObject, getJSONObject, getJSONObjects, getJSONStrings, getNameValuePairs, getProperties, getProperty, show, show, showProperties, showProperties |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
THIS_CLASS
public static java.lang.Class<Issue> THIS_CLASS
EMPTY_ARRAY
public static Issue[] EMPTY_ARRAY
KNOWN_PROPERTIES
public static final java.lang.String[] KNOWN_PROPERTIES
name
public static final java.lang.String name
- See Also:
- Constant Field Values
Issue
public Issue(JSONObject data)
- constructor
- Parameters:
data
- non-nulljson object with properties
Issue
public Issue(java.util.Map data)
- constructor
- Parameters:
data
- non-null map with properties
getPluralEntityName
public static java.lang.String getPluralEntityName()
getEntityName
public java.lang.String getEntityName()
- JSON Tag for this
- Specified by:
getEntityName
in class JSONEntity
- Returns:
- non-null String
getKnownProperties
public java.lang.String[] getKnownProperties()
- unofficial list of properties
- Specified by:
getKnownProperties
in class JSONEntity
getName
public java.lang.String getName()