Package com.unboundid.scim2.common.types
Class PhoneNumber
- java.lang.Object
-
- com.unboundid.scim2.common.types.PhoneNumber
-
public class PhoneNumber extends Object
Phone number for the user.
-
-
Constructor Summary
Constructors Constructor Description PhoneNumber()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getDisplay()
Specifies the display name, primarily used for display purposes.Boolean
getPrimary()
Retrieves the Boolean value indicating the 'primary' or preferred attribute value for this attribute.String
getType()
Retrieves the label indicating the attribute's function.String
getValue()
Retrieves the phone number of the User.int
hashCode()
PhoneNumber
setDisplay(String display)
Specifies the display name, primarily used for display purposes.PhoneNumber
setPrimary(Boolean primary)
Specifies the Boolean value indicating the 'primary' or preferred attribute value for this attribute.PhoneNumber
setType(String type)
Specifies the label indicating the attribute's function.PhoneNumber
setValue(String value)
Specifies the phone number of the User.
-
-
-
Constructor Detail
-
PhoneNumber
public PhoneNumber()
-
-
Method Detail
-
getValue
public String getValue()
Retrieves the phone number of the User.- Returns:
- The phone number of the User.
-
setValue
public PhoneNumber setValue(String value)
Specifies the phone number of the User.- Parameters:
value
- The phone number of the User.- Returns:
- This object.
-
getDisplay
public String getDisplay()
Specifies the display name, primarily used for display purposes.- Returns:
- The display name.
-
setDisplay
public PhoneNumber setDisplay(String display)
Specifies the display name, primarily used for display purposes.- Parameters:
display
- The display name.- Returns:
- This object.
-
getType
public String getType()
Retrieves the label indicating the attribute's function.- Returns:
- The label indicating the attribute's function.
-
setType
public PhoneNumber setType(String type)
Specifies the label indicating the attribute's function.- Parameters:
type
- The label indicating the attribute's function.- Returns:
- This object.
-
getPrimary
public Boolean getPrimary()
Retrieves the Boolean value indicating the 'primary' or preferred attribute value for this attribute.- Returns:
- The Boolean value indicating the 'primary' or preferred attribute value for this attribute.
-
setPrimary
public PhoneNumber setPrimary(Boolean primary)
Specifies the Boolean value indicating the 'primary' or preferred attribute value for this attribute.- Parameters:
primary
- The Boolean value indicating the 'primary' or preferred attribute value for this attribute.- Returns:
- This object.
-
-