| Constructor and Description |
|---|
Extension.Builder(Extension extension)
Constructs an extension based on the given extension.
|
Extension.Builder(String urn)
Constructs an extension with the given urn.
|
| Modifier and Type | Method and Description |
|---|---|
Extension |
build() |
Extension.Builder |
removeField(String fieldName)
removes one field and its value
|
Extension.Builder |
setField(String fieldName,
BigDecimal value)
Sets the field specified by the given field name with the given value.
|
Extension.Builder |
setField(String fieldName,
BigInteger value)
Sets the field specified by the given field name with the given value.
|
Extension.Builder |
setField(String fieldName,
Boolean value)
Sets the field specified by the given field name with the given value.
|
Extension.Builder |
setField(String fieldName,
ByteBuffer value)
Sets the field specified by the given field name with the given value.
|
Extension.Builder |
setField(String fieldName,
Date value)
Sets the field specified by the given field name with the given value.
|
Extension.Builder |
setField(String fieldName,
String value)
Sets the field specified by the given field name with the given value.
|
<T> Extension.Builder |
setField(String fieldName,
T value,
ExtensionFieldType<T> type)
Sets the field specified by the given field name with the given value of the given type.
|
Extension.Builder |
setField(String fieldName,
URI value)
Sets the field specified by the given field name with the given value.
|
public Extension.Builder(String urn)
urn - the urn of the extensionpublic Extension.Builder(Extension extension)
extension - existing extensionpublic Extension.Builder setField(String fieldName, String value)
fieldName - the field namevalue - the new valuepublic Extension.Builder setField(String fieldName, Boolean value)
fieldName - the field namevalue - the new valuepublic Extension.Builder setField(String fieldName, ByteBuffer value)
fieldName - the field namevalue - the new valuepublic Extension.Builder setField(String fieldName, BigInteger value)
fieldName - the field namevalue - the new valuepublic Extension.Builder setField(String fieldName, BigDecimal value)
fieldName - the field namevalue - the new valuepublic Extension.Builder setField(String fieldName, Date value)
fieldName - the field namevalue - the new valuepublic Extension.Builder setField(String fieldName, URI value)
fieldName - the field namevalue - the new valuepublic <T> Extension.Builder setField(String fieldName, T value, ExtensionFieldType<T> type)
fieldName - the field namevalue - the new valuetype - the scim type of the fieldpublic Extension.Builder removeField(String fieldName)
fieldName - the field to be removedpublic Extension build()
Copyright © 2014. All Rights Reserved.