public enum MembershipType extends Enum<MembershipType>
Enum Constant and Description |
---|
COMPOSITE
composite memberships are due to union, intersection, minus
A member of a group (aka composite member) has either or both of
an immediate (direct) membership, or an effective (indirect) membership
|
EFFECTIVE
An effective member has an indirect membership to a group
(e.g.
|
IMMEDIATE
An immediate member is directly assigned to a group.
|
NONIMMEDIATE
everything except immediate
An immediate member is directly assigned to a group.
|
Modifier and Type | Method and Description |
---|---|
String |
getTypeString()
return the type string
|
abstract String |
queryClause()
query clause for this membership type, e.g.
|
static MembershipType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MembershipType |
valueOfIgnoreCase(String string,
boolean exceptionOnNull)
do a case-insensitive matching
|
static MembershipType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MembershipType IMMEDIATE
public static final MembershipType EFFECTIVE
public static final MembershipType COMPOSITE
public static final MembershipType NONIMMEDIATE
public static MembershipType[] values()
for (MembershipType c : MembershipType.values()) System.out.println(c);
public static MembershipType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract String queryClause()
public String getTypeString()
public static MembershipType valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.