edu.internet2.middleware.grouper.attr
Enum AttributeDefAssignableTo

java.lang.Object
  extended by java.lang.Enum<AttributeDefAssignableTo>
      extended by edu.internet2.middleware.grouper.attr.AttributeDefAssignableTo
All Implemented Interfaces:
Serializable, Comparable<AttributeDefAssignableTo>

public enum AttributeDefAssignableTo
extends Enum<AttributeDefAssignableTo>

types of objects which attributes can be assigned to


Enum Constant Summary
group
          attribute assigned to a group
groupAttribute
          attribute assigned to a group attribute
member
          attribute assigned to a member
memberAttribute
          attribute assigned to a member attribute
membership
          attribute assigned to a membership
membershipAttribute
          attribute assigned to a membership attribute
stem
          attribute assigned to a stem
stemAttribute
          attribute assigned to a stem attribute
 
Method Summary
static AttributeDefAssignableTo valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeDefAssignableTo valueOfIgnoreCase(String string, boolean exceptionOnNull)
          do a case-insensitive matching
static AttributeDefAssignableTo[] 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

group

public static final AttributeDefAssignableTo group
attribute assigned to a group


stem

public static final AttributeDefAssignableTo stem
attribute assigned to a stem


membership

public static final AttributeDefAssignableTo membership
attribute assigned to a membership


member

public static final AttributeDefAssignableTo member
attribute assigned to a member


groupAttribute

public static final AttributeDefAssignableTo groupAttribute
attribute assigned to a group attribute


stemAttribute

public static final AttributeDefAssignableTo stemAttribute
attribute assigned to a stem attribute


membershipAttribute

public static final AttributeDefAssignableTo membershipAttribute
attribute assigned to a membership attribute


memberAttribute

public static final AttributeDefAssignableTo memberAttribute
attribute assigned to a member attribute

Method Detail

values

public static AttributeDefAssignableTo[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (AttributeDefAssignableTo c : AttributeDefAssignableTo.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static AttributeDefAssignableTo valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

valueOfIgnoreCase

public static AttributeDefAssignableTo valueOfIgnoreCase(String string,
                                                         boolean exceptionOnNull)
do a case-insensitive matching

Parameters:
string -
exceptionOnNull - will not allow null or blank entries
Returns:
the enum or null or exception if not found