public class XmlContactElement extends Object implements Serializable
Java class for XmlContactElement complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="XmlContactElement">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="firstName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="lastName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="zipCode" type="{http://www.w3.org/2001/XMLSchema}string"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
firstName |
protected String |
lastName |
protected String |
phoneNumber |
protected String |
zipCode |
| Constructor and Description |
|---|
XmlContactElement() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
String |
getFirstName()
Gets the value of the firstName property.
|
String |
getLastName()
Gets the value of the lastName property.
|
String |
getPhoneNumber()
Gets the value of the phoneNumber property.
|
String |
getZipCode()
Gets the value of the zipCode property.
|
int |
hashCode() |
void |
setFirstName(String value)
Sets the value of the firstName property.
|
void |
setLastName(String value)
Sets the value of the lastName property.
|
void |
setPhoneNumber(String value)
Sets the value of the phoneNumber property.
|
void |
setZipCode(String value)
Sets the value of the zipCode property.
|
protected String firstName
protected String lastName
protected String phoneNumber
protected String zipCode
public String getFirstName()
Stringpublic void setFirstName(String value)
value - allowed object is
Stringpublic String getLastName()
Stringpublic void setLastName(String value)
value - allowed object is
Stringpublic String getPhoneNumber()
Stringpublic void setPhoneNumber(String value)
value - allowed object is
Stringpublic String getZipCode()
Stringpublic void setZipCode(String value)
value - allowed object is
StringCopyright © 2018 JBoss by Red Hat. All rights reserved.