Class Contacts.Phonenumbers
java.lang.Object
com.oracle.communications.brm.cc.model.Contacts.Phonenumbers
- All Implemented Interfaces:
Serializable
- Enclosing class:
Contacts
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="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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe phone number.The type of phone number.booleanWhether to delete the phone number (true) or not (false).booleanWhether the phone number was newly created (true) or not (false).voidsetDeleted(boolean value) Sets the value of the deleted property.voidsetNewlyCreated(boolean value) Sets the value of the newlyCreated property.voidSets the value of the number property.voidsetPhonetype(Integer value) Sets the value of the phonetype property.
-
Field Details
-
number
The phone number. -
deleted
protected boolean deletedWhether to delete the phone number (true) or not (false). This must be set to false if you adding a phone number. -
newlyCreated
protected boolean newlyCreatedWhether the phone number was newly created (true) or not (false). -
phonetype
The type of phone number.
-
-
Constructor Details
-
Phonenumbers
public Phonenumbers()
-
-
Method Details
-
getNumber
The phone number.- Returns:
- possible object is
String
-
setNumber
Sets the value of the number property.- Parameters:
value- allowed object isString- See Also:
-
isDeleted
public boolean isDeleted()Whether to delete the phone number (true) or not (false). This must be set to false if you adding a phone number. -
setDeleted
public void setDeleted(boolean value) Sets the value of the deleted property. -
isNewlyCreated
public boolean isNewlyCreated()Whether the phone number was newly created (true) or not (false). -
setNewlyCreated
public void setNewlyCreated(boolean value) Sets the value of the newlyCreated property. -
getPhonetype
The type of phone number.- Returns:
- possible object is
Integer
-
setPhonetype
Sets the value of the phonetype property.- Parameters:
value- allowed object isInteger- See Also:
-