public enum AttributeDefScopeType extends Enum<AttributeDefScopeType>
Enum Constant and Description |
---|
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)
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
allowedAssignment(AttributeDefScope attributeDefScope,
AttributeAssignable attributeAssignable,
AttributeDef attributeDef) |
static AttributeDefScopeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttributeDefScopeType |
valueOfIgnoreCase(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.
|
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
public static AttributeDefScopeType[] values()
for (AttributeDefScopeType c : AttributeDefScopeType.values()) System.out.println(c);
public static AttributeDefScopeType 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 boolean allowedAssignment(AttributeDefScope attributeDefScope, AttributeAssignable attributeAssignable, AttributeDef attributeDef)
attributeDefScope
- attributeAssignable
- attributeDef
- public static AttributeDefScopeType valueOfIgnoreCase(String string, boolean exceptionOnNull)
string
- exceptionOnNull
- will not allow null or blank entriesCopyright © 2016 Internet2. All rights reserved.