public interface ListField
A Interface to represent list fields where there is potential for one of the items to have a primary or preferred status. Used where the List is a list of string values.
Introduced in v0.8.1
| Modifier and Type | Interface and Description |
|---|---|
static class |
ListField.Field
The fields that represent the ListField object in serialized form.
|
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getPrimary()
Get Boolean value indicating whether this instance of the Plural Field is the primary or
preferred value of for this field, e.g. the preferred mailing address or primary e-mail
address.
|
String |
getType()
The type of field for this instance, usually used to label the preferred function of the given
contact information.
|
String |
getValue()
Get the primary value of this field, e.g. the actual e-mail address, phone number, or URL.
|
void |
setPrimary(Boolean primary) |
void |
setType(String type)
Set the type of the field.
|
void |
setValue(String value) |
String getType()
void setType(String type)
type - the type of the fieldString getValue()
void setValue(String value)
value - the value of the fieldgetValue()Boolean getPrimary()
void setPrimary(Boolean primary)
primary - set to true if a primary or preferred valuegetPrimary()Copyright © 2007-2012. All Rights Reserved.