Class ContactBoolField
- java.lang.Object
-
- com.avaya.clientservices.contact.fields.ContactField
-
- com.avaya.clientservices.contact.fields.ContactBoolField
-
- All Implemented Interfaces:
BaseContactField
- Direct Known Subclasses:
EditableContactBoolField
public class ContactBoolField extends ContactField
Represents a boolean field associated with a contact.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
boolean
getValue()
Boolean value stored in this field.int
hashCode()
boolean
isEmpty()
Returns true if field is empty.java.lang.String
toString()
-
Methods inherited from class com.avaya.clientservices.contact.fields.ContactField
getCapability, getContactProviderSourceType, setContactProviderSourceType
-
-
-
-
Method Detail
-
getValue
public boolean getValue()
Boolean value stored in this field.- Returns:
- value of field.
-
isEmpty
public boolean isEmpty()
Returns true if field is empty.- Returns:
- true if field is empty.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classContactField
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classContactField
-
toString
public java.lang.String toString()
- Overrides:
toString
in classContactField
-
-