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#addCustomAttributes
andBaseScimResource#getCustomAttributes
respectively in conjunction with theCustomAttributes
class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDescription()
Map<String,ExtensionField>
getFields()
String
getName()
String
getUrn()
void
setDescription(String description)
void
setFields(Map<String,ExtensionField> fields)
void
setName(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)
-
-