Enum Class AttributeAssignType

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

public enum AttributeAssignType extends Enum<AttributeAssignType>
enum for assignment type
  • Enum Constant Details

    • 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 Details

    • values

      public static AttributeAssignType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AttributeAssignType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 -
    • decorateAuditEntryAssignInsert

      protected void decorateAuditEntryAssignInsert(AuditEntry auditEntry, AttributeAssign owner)
      Parameters:
      auditEntry -
      owner -
    • decorateAuditEntryAssignUpdate

      protected void decorateAuditEntryAssignUpdate(AuditEntry auditEntry, AttributeAssign owner)
      Parameters:
      auditEntry -
      owner -
    • decorateAuditEntryAssignDelete

      protected void decorateAuditEntryAssignDelete(AuditEntry auditEntry, AttributeAssign 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