public static class CompositeResponse.Record
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
ResponseItem |
get(CompositeElementType elementType)
Get an element with the specified type.
|
Address |
getAddress()
Get Address element.
|
AsIs |
getAsIs()
Get As-Is element.
|
BirthDate |
getBirthDate()
Get Birthdate element.
|
Email |
getEmail()
Get Email element.
|
Name |
getName()
Get Name element.
|
Passport |
getPassport()
Get Passport element.
|
Phone |
getPhone()
Get Phone Number element.
|
Vehicle |
getVehicle()
Get Vehicle Type element.
|
boolean |
isEmpty()
Check for a empty record.
|
public boolean isEmpty()
true if record contains no elements@Nullable public ResponseItem get(@NonNull CompositeElementType elementType)
elementType - Element type@Nullable public AsIs getAsIs()
@Nullable public Address getAddress()
@Nullable public BirthDate getBirthDate()
@Nullable public Email getEmail()
@Nullable public Name getName()
@Nullable public Passport getPassport()
@Nullable public Phone getPhone()
@Nullable public Vehicle getVehicle()