com.sas.hls.security.group
Class Group

java.lang.Object
  extended by com.sas.hls.security.group.GroupDescriptor
      extended by com.sas.hls.security.group.Group
All Implemented Interfaces:
Identifiable, Principal, Serializable

public class Group
extends GroupDescriptor

Group is a collection of principals (users or other groups) and may be identified by a name and context. A Group is associated with and scoped to a context where it is defined. Group contexts are objects that are implement the GroupContext interface. See GroupContext. Examples of group contexts are Organization, Project and Analysis.

See Also:
Serialized Form

Constructor Summary
Group(ObjectIdentity groupContext, String name, String identifier, String description, Set<Principal> members)
          constructor
Group(ObjectIdentity groupContext, String name, String identifier, String description, Set<Principal> members, long revision)
          constructor
 
Method Summary
 Set<Principal> getMembers()
          Get the members of this group.
 void setMembers(Set<Principal> members)
          Set the members of this group.
 
Methods inherited from class com.sas.hls.security.group.GroupDescriptor
equals, getDescription, getGroupContext, getIdentifier, getName, getObjectType, getPrincipalId, getPrincipalName, getRevision, hashCode, setDescription, setGroupContext, setIdentifier, setName, setObjectType, setPrincipalId, setPrincipalName, setRevision
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Group

public Group(ObjectIdentity groupContext,
             String name,
             String identifier,
             String description,
             Set<Principal> members,
             long revision)
constructor

Parameters:
groupContext -
name -
identifier -
description -
members -
revision -

Group

public Group(ObjectIdentity groupContext,
             String name,
             String identifier,
             String description,
             Set<Principal> members)
constructor

Parameters:
groupContext -
name -
identifier -
description -
members -
Method Detail

getMembers

public Set<Principal> getMembers()
Get the members of this group.

Returns:
the members

setMembers

public void setMembers(Set<Principal> members)
Set the members of this group.

Parameters:
members - the members to set


Copyright (c) 2012, SAS Institute Inc., Cary, NC, USA