public class AddressRecord extends AbstractRecord
Record
implementation that contains an Address record.Modifier and Type | Class and Description |
---|---|
static class |
AddressRecord.Field
Available fields of an address.
|
static class |
AddressRecord.Label
Available labels of an address.
|
ATTR_BUSY, ATTR_DELETE, ATTR_DIRTY, ATTR_SECRET
Constructor and Description |
---|
AddressRecord(int attribute) |
Modifier and Type | Method and Description |
---|---|
int |
getDisplayPhone()
Gets the phone index to be displayed.
|
String |
getField(AddressRecord.Field field)
Gets the value of a field.
|
AddressRecord.Label |
getLabel(AddressRecord.Field field)
Gets the label of a field.
|
void |
setDisplayPhone(int displayPhone) |
void |
setField(AddressRecord.Field field,
String value) |
void |
setLabel(AddressRecord.Field field,
AddressRecord.Label label) |
String |
toString() |
getCategoryIndex, isBusy, isDelete, isDirty, isSecret
public AddressRecord(int attribute)
public String getField(AddressRecord.Field field)
null
when that field was not
set.field
- Field namepublic void setField(AddressRecord.Field field, String value)
public AddressRecord.Label getLabel(AddressRecord.Field field)
null
when that field was not
set.field
- Field namepublic void setLabel(AddressRecord.Field field, AddressRecord.Label label)
public int getDisplayPhone()
public void setDisplayPhone(int displayPhone)
Copyright © 2009–2017. All rights reserved.