|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MembershipType>
edu.internet2.middleware.grouper.membership.MembershipType
public enum MembershipType
type of membership
Enum Constant Summary | |
---|---|
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. in a group within a group). |
|
IMMEDIATE
An immediate member is directly assigned to a group. |
|
NONIMMEDIATE
everything except immediate An immediate member is directly assigned to a group. |
Method Summary | |
---|---|
java.lang.String |
getTypeString()
return the type string |
abstract java.lang.String |
queryClause()
query clause for this membership type, e.g. = 'immediate' |
static MembershipType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MembershipType |
valueOfIgnoreCase(java.lang.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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MembershipType IMMEDIATE
public static final MembershipType EFFECTIVE
public static final MembershipType COMPOSITE
public static final MembershipType NONIMMEDIATE
Method Detail |
---|
public static MembershipType[] values()
for (MembershipType c : MembershipType.values()) System.out.println(c);
public static MembershipType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String queryClause()
public java.lang.String getTypeString()
public static MembershipType valueOfIgnoreCase(java.lang.String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entries
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |