public class FactualGarageRelease
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CIRCUMSTANCES_KEY |
static <any> |
CREATOR |
static java.lang.String |
GARAGE_RELEASE_ID_KEY |
Constructor and Description |
---|
FactualGarageRelease(java.lang.String id,
java.util.List<FactualCircumstance> circumstances)
Constructs a
FactualGarageRelease object. |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.util.List<FactualCircumstance> |
getCircumstances()
Gets the app's
FactualCircumstance s defined in the Garage. |
java.lang.String |
getId()
Gets the id of the Garage release.
|
JSONObject |
toJson()
Returns the garage release as json.
|
java.lang.String |
toString()
Gets the Json version of the GarageRelease as a string.
|
void |
writeToParcel(Parcel out,
int flags) |
public static final java.lang.String GARAGE_RELEASE_ID_KEY
public static final java.lang.String CIRCUMSTANCES_KEY
public static <any> CREATOR
public FactualGarageRelease(java.lang.String id, java.util.List<FactualCircumstance> circumstances)
FactualGarageRelease
object.id
- The id of the Garage release.circumstances
- The app's FactualCircumstance
s defined in the Garage.public java.lang.String getId()
public java.util.List<FactualCircumstance> getCircumstances()
FactualCircumstance
s defined in the Garage.FactualCircumstance
s defined in the Garage.public JSONObject toJson() throws JSONException
JSONException
- If an error occurs creating the json.public java.lang.String toString()
toString
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel out, int flags)