edu.internet2.middleware.grouper.attr.assign
Enum AttributeAssignType

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

public enum AttributeAssignType
extends Enum<AttributeAssignType>

enum for assignment type


Enum Constant Summary
any_mem
          attribute assigned to effective membership
any_mem_asgn
          attribute assigned to effective membership assignment
attr_def
          attribute assigned to attribute def
attr_def_asgn
          attribute assigned to an attribute def assignment
group
          attribute assigned to group
group_asgn
          attribute assigned to group assignment
imm_mem
          attribute assigned to immediate membership
imm_mem_asgn
          attribute assigned to an immediate membership assignment
mem_asgn
          attribute assigned to member assignment
member
          attribute assigned to member
stem
          attribute assigned to stem
stem_asgn
          attribute assigned to stem assignment
 
Method Summary
abstract  void decorateAuditEntryDelete(AuditEntry auditEntry, Object owner)
           
abstract  void decorateAuditEntryInsert(AuditEntry auditEntry, Object owner)
           
abstract  void decorateAuditEntryUpdate(AuditEntry auditEntry, Object owner)
           
 AttributeAssignType getAssignmentOnAssignmentType()
          attribute assignment type of an assignment on this assignment
 String getName()
          name for javabean
 boolean isAssignmentOnAssignment()
          see if assignment on assignment
 boolean isEffectiveMembership()
          if assignment is to a group
 boolean isGroup()
          if assignment is to a group
static AttributeAssignType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AttributeAssignType valueOfIgnoreCase(String string, boolean exceptionOnNull)
          do a case-insensitive matching
static AttributeAssignType[] 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 AttributeAssignType group
attribute assigned to group


member

public static final AttributeAssignType member
attribute assigned to member


stem

public static final AttributeAssignType stem
attribute assigned to stem


any_mem

public static final AttributeAssignType any_mem
attribute assigned to effective membership


imm_mem

public static final AttributeAssignType imm_mem
attribute assigned to immediate membership


attr_def

public static final AttributeAssignType attr_def
attribute assigned to attribute def


group_asgn

public static final AttributeAssignType group_asgn
attribute assigned to group assignment


mem_asgn

public static final AttributeAssignType mem_asgn
attribute assigned to member assignment


stem_asgn

public static final AttributeAssignType stem_asgn
attribute assigned to stem assignment


any_mem_asgn

public static final AttributeAssignType any_mem_asgn
attribute assigned to effective membership assignment


imm_mem_asgn

public static final AttributeAssignType imm_mem_asgn
attribute assigned to an immediate membership assignment


attr_def_asgn

public static final AttributeAssignType attr_def_asgn
attribute assigned to an attribute def assignment

Method Detail

values

public static AttributeAssignType[] 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 (AttributeAssignType c : AttributeAssignType.values())
    System.out.println(c);

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

valueOf

public static AttributeAssignType 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

isGroup

public boolean isGroup()
if assignment is to a group

Returns:
true if to group

getName

public String getName()
name for javabean

Returns:
the attribute assign type

isAssignmentOnAssignment

public boolean isAssignmentOnAssignment()
see if assignment on assignment

Returns:
if assignment on assignment

decorateAuditEntryInsert

public abstract void decorateAuditEntryInsert(AuditEntry auditEntry,
                                              Object owner)
Parameters:
auditEntry -
owner -

decorateAuditEntryUpdate

public abstract void decorateAuditEntryUpdate(AuditEntry auditEntry,
                                              Object owner)
Parameters:
auditEntry -
owner -

decorateAuditEntryDelete

public abstract void decorateAuditEntryDelete(AuditEntry auditEntry,
                                              Object owner)
Parameters:
auditEntry -
owner -

isEffectiveMembership

public boolean isEffectiveMembership()
if assignment is to a group

Returns:
true if to group

getAssignmentOnAssignmentType

public AttributeAssignType getAssignmentOnAssignmentType()
attribute assignment type of an assignment on this assignment

Returns:
the type

valueOfIgnoreCase

public static AttributeAssignType 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