public class MissionPackageQueryResult
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<MissionPackageQueryResult> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
MissionPackageQueryResult(MissionPackageQueryResult other) |
protected |
MissionPackageQueryResult(android.os.Parcel in) |
|
MissionPackageQueryResult(java.lang.String UID,
java.lang.String name,
java.lang.String hash,
int primaryKey,
java.lang.String submissionDateTime) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static java.util.List<MissionPackageQueryResult> |
fromResultJSON(org.json.JSONObject json)
Convert JSON to list of results
|
java.lang.String |
getCreatorUid() |
java.lang.String |
getHash() |
java.lang.String |
getKeywords() |
java.lang.String |
getMIMEType() |
java.lang.String |
getName() |
long |
getSize() |
java.lang.String |
getSubmissionDateTime() |
java.lang.String |
getSubmissionUser() |
java.lang.String |
getUID() |
boolean |
isNewerThan(MissionPackageQueryResult other) |
boolean |
isValid() |
void |
setCreatorUid(java.lang.String creatorUid) |
void |
setHash(java.lang.String hash) |
void |
setKeywords(java.lang.String keywords) |
void |
setMIMEType(java.lang.String MIMEType) |
void |
setName(java.lang.String name) |
void |
setSize(long size) |
void |
setSubmissionDateTime(java.lang.String submissionDateTime) |
void |
setSubmissionUser(java.lang.String submissionUser) |
void |
setUID(java.lang.String UID) |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<MissionPackageQueryResult> CREATOR
public MissionPackageQueryResult(java.lang.String UID, java.lang.String name, java.lang.String hash, int primaryKey, java.lang.String submissionDateTime)
public MissionPackageQueryResult(MissionPackageQueryResult other)
protected MissionPackageQueryResult(android.os.Parcel in)
public boolean isValid()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getUID()
public void setUID(java.lang.String UID)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getHash()
public void setHash(java.lang.String hash)
public java.lang.String getSubmissionDateTime()
public boolean isNewerThan(MissionPackageQueryResult other)
public java.lang.String getSubmissionUser()
public java.lang.String getCreatorUid()
public void setCreatorUid(java.lang.String creatorUid)
public void setSubmissionDateTime(java.lang.String submissionDateTime)
public void setSubmissionUser(java.lang.String submissionUser)
public java.lang.String getKeywords()
public void setKeywords(java.lang.String keywords)
public java.lang.String getMIMEType()
public void setMIMEType(java.lang.String MIMEType)
public long getSize()
public void setSize(long size)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public static java.util.List<MissionPackageQueryResult> fromResultJSON(org.json.JSONObject json) throws org.json.JSONException
json
- org.json.JSONException