Class Extension
- java.lang.Object
-
- org.gluu.oxtrust.model.scim2.extensions.Extension
-
public class Extension extends Object
A class used to represent an extension applicable to a SCIM resource. See section 3.3 of RFC 7643.To actually set or get custom attribute values for a resource, use
BaseScimResource#addCustomAttributesandBaseScimResource#getCustomAttributesrespectively in conjunction with theCustomAttributesclass.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Map<String,ExtensionField>getFields()StringgetName()StringgetUrn()voidsetDescription(String description)voidsetFields(Map<String,ExtensionField> fields)voidsetName(String name)
-
-
-
Constructor Detail
-
Extension
public Extension(String urn)
Constructs an instance of Extension associated to the URN passed with an empty collection of fields and unassigned name and description.- Parameters:
urn- A string representing the urn that identifies uniquely this extension
-
-
Method Detail
-
getUrn
public String getUrn()
-
getFields
public Map<String,ExtensionField> getFields()
-
setFields
public void setFields(Map<String,ExtensionField> fields)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
-