Enum Class CompositeType

java.lang.Object
java.lang.Enum<CompositeType>
edu.internet2.middleware.grouper.misc.CompositeType
All Implemented Interfaces:
Serializable, Comparable<CompositeType>, Constable

public enum CompositeType extends Enum<CompositeType> implements Serializable
Composite Type.

Since:
1.0
Version:
$Id: CompositeType.java,v 1.4 2009-03-02 07:33:25 mchyzer Exp $
  • Enum Constant Details

    • COMPLEMENT

      public static final CompositeType COMPLEMENT
      the members in the left, which are not in the right (e.g. the right is an excludes list)
    • UNION

      public static final CompositeType UNION
      the members in the left, or in the right (right is an includes list)
    • INTERSECTION

      public static final CompositeType INTERSECTION
      the members who are in the left, who are also in the right (right is a required list)
  • Method Details

    • values

      public static CompositeType[] 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 CompositeType 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
    • valueOfIgnoreCase

      public static CompositeType valueOfIgnoreCase(String theName)
      find the value of a string and ignore case
      Parameters:
      theName -
    • getName

      public String getName()
      get name of composite type, e.g. complement, union, intersection
      Returns:
      name
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CompositeType>
      See Also: