public class Contacts extends Object implements Serializable
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="address" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="city" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="company" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="contactType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="country" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="emailAddress" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="middleName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="salutation" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="state" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="zip" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="newlyCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="phonenumbers" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="number" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="deleted" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="newlyCreated" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <element name="phonetype" minOccurs="0"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}int"> <enumeration value="1"/> <enumeration value="2"/> <enumeration value="3"/> <enumeration value="4"/> <enumeration value="5"/> <enumeration value="6"/> <enumeration value="7"/> </restriction> </simpleType> </element> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="elem" type="{http://www.w3.org/2001/XMLSchema}int" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
Contacts.Phonenumbers
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected String |
address |
protected String |
city |
protected String |
company |
protected String |
contactType |
protected String |
country |
protected Boolean |
deleted |
protected Integer |
elem |
protected String |
emailAddress |
protected String |
firstName |
protected String |
lastName |
protected String |
middleName |
protected boolean |
newlyCreated |
protected List<Contacts.Phonenumbers> |
phonenumbers |
protected String |
salutation |
protected String |
state |
protected String |
title |
protected String |
zip |
Constructor and Description |
---|
Contacts() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Gets the value of the address property.
|
String |
getCity()
Gets the value of the city property.
|
String |
getCompany()
Gets the value of the company property.
|
String |
getContactType()
Gets the value of the contactType property.
|
String |
getCountry()
Gets the value of the country property.
|
Integer |
getElem()
Gets the value of the elem property.
|
String |
getEmailAddress()
Gets the value of the emailAddress property.
|
String |
getFirstName()
Gets the value of the firstName property.
|
String |
getLastName()
Gets the value of the lastName property.
|
String |
getMiddleName()
Gets the value of the middleName property.
|
List<Contacts.Phonenumbers> |
getPhonenumbers()
Gets the value of the phonenumbers property.
|
String |
getSalutation()
Gets the value of the salutation property.
|
String |
getState()
Gets the value of the state property.
|
String |
getTitle()
Gets the value of the title property.
|
String |
getZip()
Gets the value of the zip property.
|
Boolean |
isDeleted()
Gets the value of the deleted property.
|
boolean |
isNewlyCreated()
Gets the value of the newlyCreated property.
|
void |
setAddress(String value)
Sets the value of the address property.
|
void |
setCity(String value)
Sets the value of the city property.
|
void |
setCompany(String value)
Sets the value of the company property.
|
void |
setContactType(String value)
Sets the value of the contactType property.
|
void |
setCountry(String value)
Sets the value of the country property.
|
void |
setDeleted(Boolean value)
Sets the value of the deleted property.
|
void |
setElem(Integer value)
Sets the value of the elem property.
|
void |
setEmailAddress(String value)
Sets the value of the emailAddress property.
|
void |
setFirstName(String value)
Sets the value of the firstName property.
|
void |
setLastName(String value)
Sets the value of the lastName property.
|
void |
setMiddleName(String value)
Sets the value of the middleName property.
|
void |
setNewlyCreated(boolean value)
Sets the value of the newlyCreated property.
|
void |
setSalutation(String value)
Sets the value of the salutation property.
|
void |
setState(String value)
Sets the value of the state property.
|
void |
setTitle(String value)
Sets the value of the title property.
|
void |
setZip(String value)
Sets the value of the zip property.
|
protected String address
protected String city
protected String company
protected String contactType
protected String country
protected String emailAddress
protected String firstName
protected String lastName
protected String middleName
protected String salutation
protected String state
protected String title
protected String zip
protected Boolean deleted
protected boolean newlyCreated
protected List<Contacts.Phonenumbers> phonenumbers
protected Integer elem
public String getAddress()
String
public void setAddress(String value)
value
- allowed object is
String
public String getCity()
String
public void setCity(String value)
value
- allowed object is
String
public String getCompany()
String
public void setCompany(String value)
value
- allowed object is
String
public String getContactType()
String
public void setContactType(String value)
value
- allowed object is
String
public String getCountry()
String
public void setCountry(String value)
value
- allowed object is
String
public String getEmailAddress()
String
public void setEmailAddress(String value)
value
- allowed object is
String
public String getFirstName()
String
public void setFirstName(String value)
value
- allowed object is
String
public String getLastName()
String
public void setLastName(String value)
value
- allowed object is
String
public String getMiddleName()
String
public void setMiddleName(String value)
value
- allowed object is
String
public String getSalutation()
String
public void setSalutation(String value)
value
- allowed object is
String
public String getState()
String
public void setState(String value)
value
- allowed object is
String
public String getTitle()
String
public void setTitle(String value)
value
- allowed object is
String
public String getZip()
String
public void setZip(String value)
value
- allowed object is
String
public Boolean isDeleted()
Boolean
public void setDeleted(Boolean value)
value
- allowed object is
Boolean
public boolean isNewlyCreated()
public void setNewlyCreated(boolean value)
public List<Contacts.Phonenumbers> getPhonenumbers()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the phonenumbers property.
For example, to add a new item, do as follows:
getPhonenumbers().add(newItem);
Objects of the following type(s) are allowed in the list
Contacts.Phonenumbers
public Integer getElem()
Integer