|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AttributeDefScopeType>
edu.internet2.middleware.grouper.attr.AttributeDefScopeType
public enum AttributeDefScopeType
type of scope, like
Enum Constant Summary | |
---|---|
attributeDefNameIdAssigned
this attribute can be assigned only if another attribute def name id is assigned |
|
idEquals
matching exact id |
|
inStem
stemId of the stem the object needs to be in for this attribute to be assigned |
|
nameEquals
matching exact name |
|
nameLike
matching generally on namepsace names, its a like string in DB. |
|
sourceId
for member type attributes, filter on sourceId (none means allow all) |
Method Summary | |
---|---|
abstract boolean |
allowedAssignment(AttributeDefScope attributeDefScope,
AttributeAssignable attributeAssignable,
AttributeDef attributeDef)
|
static AttributeDefScopeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AttributeDefScopeType |
valueOfIgnoreCase(java.lang.String string,
boolean exceptionOnNull)
do a case-insensitive matching |
static AttributeDefScopeType[] |
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 AttributeDefScopeType sourceId
public static final AttributeDefScopeType attributeDefNameIdAssigned
public static final AttributeDefScopeType inStem
public static final AttributeDefScopeType nameLike
public static final AttributeDefScopeType nameEquals
public static final AttributeDefScopeType idEquals
Method Detail |
---|
public static AttributeDefScopeType[] values()
for (AttributeDefScopeType c : AttributeDefScopeType.values()) System.out.println(c);
public static AttributeDefScopeType 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 boolean allowedAssignment(AttributeDefScope attributeDefScope, AttributeAssignable attributeAssignable, AttributeDef attributeDef)
attributeDefScope
- attributeAssignable
- attributeDef
-
public static AttributeDefScopeType 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 |