|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.unboundid.scim.sdk.SCIMQueryAttributes
public class SCIMQueryAttributes
This class represents a list of query attributes taken from the attributes query parameter. e.g. attributes=name.formatted,userName
| Constructor Summary | |
|---|---|
SCIMQueryAttributes(ResourceDescriptor resourceDescriptor,
String attributes)
Create a new instance of query attributes from their string representation. |
|
| Method Summary | |
|---|---|
boolean |
allAttributesRequested()
Determine whether all attributes and sub-attributes are requested by these query attributes. |
boolean |
isAttributeRequested(AttributeDescriptor attributeDescriptor)
Determine whether the specified attribute is requested by these query attributes. |
SCIMQueryAttributes |
merge(SCIMQueryAttributes that)
Return query attributes formed by merging these query attributes with the provided query attributes. |
SCIMAttribute |
pareAttribute(SCIMAttribute attribute)
Pare down an attribute to its requested sub-attributes. |
SCIMObject |
pareObject(SCIMObject scimObject)
Pare down a SCIM object to its requested attributes. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SCIMQueryAttributes(ResourceDescriptor resourceDescriptor,
String attributes)
throws InvalidResourceException
resourceDescriptor - The resource descriptor for the SCIM endpoint.attributes - The attributes query parameter specifying the set of
attributes or sub-attributes requested, or null if
all attributes and sub-attributes are requested. The
attributes must be qualified by their
schema URI if they are not in the core schema.
InvalidResourceException - If one of the specified attributes does
not exist.| Method Detail |
|---|
public boolean allAttributesRequested()
true if all attributes and sub-attributes are requested,
and false otherwise.public boolean isAttributeRequested(AttributeDescriptor attributeDescriptor)
attributeDescriptor - The attribute for which to make the
determination.
true if the specified attribute is requested, or false
otherwise.public SCIMObject pareObject(SCIMObject scimObject)
scimObject - The SCIM object to be pared down.
public SCIMAttribute pareAttribute(SCIMAttribute attribute)
attribute - The attribute to be pared down.
null if the attribute
should not be included at all.
public SCIMQueryAttributes merge(SCIMQueryAttributes that)
throws InvalidResourceException
that - The query attributes to be merged with these query attributes
to form new query attributes.
InvalidResourceException - If the query attributes could not be
merged.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||