edu.internet2.middleware.grouper.validator
Class EffectiveMembershipValidator

java.lang.Object
  extended by edu.internet2.middleware.grouper.validator.GrouperValidator
      extended by edu.internet2.middleware.grouper.validator.MembershipValidator
          extended by edu.internet2.middleware.grouper.validator.EffectiveMembershipValidator

public class EffectiveMembershipValidator
extends MembershipValidator

An effective member has an indirect membership to a group (e.g. in a group within a group). All subjects in a composite group are effective members (since the composite group has two groups and a set operator and no other immediate members). Note that a member can have 0 to 1 immediate memberships to a single group, and 0 to many effective memberships to a group. 'group within a group' can be nested to any level so long as it does not become circular. A group can have potentially unlimited effective memberships indirect membership to a group (e.g. in a group within a group).

Since:
1.2.0
Version:
$Id: EffectiveMembershipValidator.java,v 1.4 2009-12-07 07:31:08 mchyzer Exp $
Author:
blair christensen.

Field Summary
static String INVALID_DEPTH
           
static String INVALID_PARENTUUID
           
static String INVALID_TYPE
           
static String INVALID_VIAUUID
           
 
Constructor Summary
EffectiveMembershipValidator()
           
 
Method Summary
static MembershipValidator validate(Membership _ms)
           
 
Methods inherited from class edu.internet2.middleware.grouper.validator.GrouperValidator
getErrorMessage, getIsValid, isInvalid, isValid, setErrorMessage, setIsValid
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVALID_DEPTH

public static final String INVALID_DEPTH
See Also:
Constant Field Values

INVALID_PARENTUUID

public static final String INVALID_PARENTUUID
See Also:
Constant Field Values

INVALID_TYPE

public static final String INVALID_TYPE
See Also:
Constant Field Values

INVALID_VIAUUID

public static final String INVALID_VIAUUID
See Also:
Constant Field Values
Constructor Detail

EffectiveMembershipValidator

public EffectiveMembershipValidator()
Method Detail

validate

public static MembershipValidator validate(Membership _ms)