com.unboundid.scim.data
Class GroupResource

java.lang.Object
  extended by com.unboundid.scim.data.BaseResource
      extended by com.unboundid.scim.data.GroupResource
All Implemented Interfaces:
SCIMResponse

public class GroupResource
extends BaseResource

This class represents a Group resource.


Field Summary
static ResourceFactory<GroupResource> GROUP_RESOURCE_FACTORY
          A ResourceFactory for creating GroupResource instances.
 
Fields inherited from class com.unboundid.scim.data.BaseResource
BASE_RESOURCE_FACTORY
 
Constructor Summary
GroupResource(ResourceDescriptor resourceDescriptor)
          Construct an empty GroupResource with the specified ResourceDescriptor.
GroupResource(ResourceDescriptor resourceDescriptor, SCIMObject scimObject)
          Construct a GroupResource with the specified ResourceDescriptor and backed by the given SCIMObject.
 
Method Summary
 String getDisplayName()
          Retrieves the human readable name for the Group.
 Collection<Entry<String>> getMembers()
          Retrieves the list of member IDs of the Group.
 GroupResource setDisplayName(String displayName)
          Sets the human readable name for the Group.
 GroupResource setMembers(Collection<Entry<String>> members)
          Sets the list of member IDs of the Group.
 
Methods inherited from class com.unboundid.scim.data.BaseResource
equals, getAttributeValues, getExternalId, getId, getMeta, getResourceDescriptor, getScimObject, getSingularAttributeValue, hashCode, marshal, setAttributeValues, setExternalId, setId, setMeta, setSingularAttributeValue, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GROUP_RESOURCE_FACTORY

public static final ResourceFactory<GroupResource> GROUP_RESOURCE_FACTORY
A ResourceFactory for creating GroupResource instances.

Constructor Detail

GroupResource

public GroupResource(ResourceDescriptor resourceDescriptor)
Construct an empty GroupResource with the specified ResourceDescriptor.

Parameters:
resourceDescriptor - The resource descriptor for this SCIM resource.

GroupResource

public GroupResource(ResourceDescriptor resourceDescriptor,
                     SCIMObject scimObject)
Construct a GroupResource with the specified ResourceDescriptor and backed by the given SCIMObject.

Parameters:
resourceDescriptor - The resource descriptor for this SCIM resource.
scimObject - The SCIMObject containing all the SCIM attributes and their values.
Method Detail

getDisplayName

public String getDisplayName()
Retrieves the human readable name for the Group.

Returns:
the human readable name for the Group.

setDisplayName

public GroupResource setDisplayName(String displayName)
Sets the human readable name for the Group.

Parameters:
displayName - the human readable name for the Group.
Returns:
this resource instance.

getMembers

public Collection<Entry<String>> getMembers()
Retrieves the list of member IDs of the Group.

Returns:
the list of member IDs of the Group.

setMembers

public GroupResource setMembers(Collection<Entry<String>> members)
Sets the list of member IDs of the Group.

Parameters:
members - the list of member IDs of the Group.
Returns:
this resource instance.


Copyright © 2011-2012 UnboundID. All Rights Reserved.