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 booleanequals(java.lang.Object o)booleangetValue()Boolean value stored in this field.inthashCode()booleanisEmpty()Returns true if field is empty.java.lang.StringtoString()-
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:
equalsin classContactField
-
hashCode
public int hashCode()
- Overrides:
hashCodein classContactField
-
toString
public java.lang.String toString()
- Overrides:
toStringin classContactField
-
-