public class Photo extends MultiValuedAttribute
For more detailed information please look at the SCIM core schema 2.0, section 3.2
| Modifier and Type | Class and Description |
|---|---|
static class |
Photo.Builder
Builder class that is used to build
Photo instances |
static class |
Photo.Type
Represents a photo type.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDisplay()
Gets the human readable name, primarily used for display purposes.
|
String |
getOperation()
Gets the operation applied during a PATCH request.
|
Photo.Type |
getType()
Gets the type of the attribute.
|
ImageDataURI |
getValueAsImageDataURI()
the value of the photo as
ImageDataURI. |
URI |
getValueAsURI()
the value of the photo as URI.
|
PhotoValueType |
getValueType() |
int |
hashCode() |
boolean |
isPrimary()
Gets a Boolean value indicating the 'primary' or preferred attribute value for this attribute.
|
String |
toString() |
getReference, getValuepublic String getOperation()
MultiValuedAttributeFor more detailed information please look at the SCIM core schema 2.0, section 3.2
getOperation in class MultiValuedAttributepublic URI getValueAsURI()
getValueType() if the type is
PhotoValueType.URIpublic ImageDataURI getValueAsImageDataURI()
ImageDataURI. Check first with getValueType() if the type is
PhotoValueType.IMAGE_DATA_URIImageDataURIpublic PhotoValueType getValueType()
public String getDisplay()
MultiValuedAttributeFor more detailed information please look at the SCIM core schema 2.0, section 3.2
getDisplay in class MultiValuedAttributepublic boolean isPrimary()
MultiValuedAttributeFor more detailed information please look at the SCIM core schema 2.0, section 3.2
isPrimary in class MultiValuedAttributepublic Photo.Type getType()
For more detailed information please look at the SCIM core schema 2.0, section 3.2
public int hashCode()
hashCode in class MultiValuedAttributepublic boolean equals(Object obj)
equals in class MultiValuedAttributepublic String toString()
toString in class MultiValuedAttributeCopyright © 2014. All Rights Reserved.