public class TransportRecord extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>| Modifier and Type | Field and Description |
|---|---|
protected String |
address |
static Parcelable.Creator<TransportRecord> |
CREATOR |
protected TransportType |
type |
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE| Constructor and Description |
|---|
TransportRecord(Parcel p) |
TransportRecord(TransportType transportType,
String address) |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(Object obj) |
String |
getAddress() |
TransportType |
getType() |
String |
toString() |
void |
writeToParcel(Parcel dest,
int flags) |
public static final Parcelable.Creator<TransportRecord> CREATOR
protected TransportType type
protected String address
public TransportRecord(TransportType transportType, String address)
public TransportRecord(Parcel p)
public int describeContents()
describeContents in interface Parcelablepublic void writeToParcel(Parcel dest, int flags)
writeToParcel in interface Parcelablepublic TransportType getType()
public String getAddress()