public enum CompositeType extends Enum<CompositeType> implements Serializable
Enum Constant and Description |
---|
COMPLEMENT
the members in the left, which are not in the right (e.g.
|
INTERSECTION
the members who are in the left, who are also in the right (right is a required list)
|
UNION
the members in the left, or in the right (right is an includes list)
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
get name of composite type, e.g.
|
String |
toString() |
static CompositeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompositeType |
valueOfIgnoreCase(String theName)
find the value of a string and ignore case
|
static CompositeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompositeType COMPLEMENT
public static final CompositeType UNION
public static final CompositeType INTERSECTION
public static CompositeType[] values()
for (CompositeType c : CompositeType.values()) System.out.println(c);
public static CompositeType 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 static CompositeType valueOfIgnoreCase(String theName)
theName
- public String getName()
public String toString()
toString
in class Enum<CompositeType>
Object.toString()
Copyright © 2016 Internet2. All rights reserved.