public final class Photo extends MultiValuedAttribute implements Serializable
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.
|
| Constructor and Description |
|---|
Photo(String operation,
String value,
String display,
boolean primary,
String reference,
Photo.Type type)
Constructor for deserialization, it is not intended for general use.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Photo.Type |
getType()
Gets the type of the attribute.
|
URI |
getValueAsURI()
the value of the photo as URI.
|
PhotoValueType |
getValueType() |
int |
hashCode() |
String |
toString() |
getDisplay, getOperation, getReference, getValue, isCollectionContainsPrimaryAttributes, isPrimarypublic Photo(String operation, String value, String display, boolean primary, String reference, Photo.Type type)
operation - value - display - primary - reference - type - public URI getValueAsURI()
getValueType() if the type is PhotoValueType.URIpublic PhotoValueType getValueType()
public 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 © 2022 SAP SE. All rights reserved.