public class PhoneNumber extends Object
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="phone-number" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element ref="{}phone-type"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
phoneNumber |
protected PhoneType |
phoneType |
| Constructor and Description |
|---|
PhoneNumber() |
| Modifier and Type | Method and Description |
|---|---|
String |
getPhoneNumber()
Gets the value of the phoneNumber property.
|
PhoneType |
getPhoneType()
Gets the value of the phoneType property.
|
void |
setPhoneNumber(String value)
Sets the value of the phoneNumber property.
|
void |
setPhoneType(PhoneType value)
Sets the value of the phoneType property.
|
public String getPhoneNumber()
Stringpublic void setPhoneNumber(String value)
value - allowed object is
Stringpublic PhoneType getPhoneType()
PhoneTypeApache Camel