Enum Class CompositeType
- All Implemented Interfaces:
Serializable
,Comparable<CompositeType>
,Constable
Composite Type.
- Since:
- 1.0
- Version:
- $Id: CompositeType.java,v 1.4 2009-03-02 07:33:25 mchyzer Exp $
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionthe members in the left, which are not in the right (e.g.the members who are in the left, who are also in the right (right is a required list)the members in the left, or in the right (right is an includes list) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
get name of composite type, e.g.toString()
static CompositeType
Returns the enum constant of this class with the specified name.static CompositeType
valueOfIgnoreCase
(String theName) find the value of a string and ignore casestatic CompositeType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPLEMENT
the members in the left, which are not in the right (e.g. the right is an excludes list) -
UNION
the members in the left, or in the right (right is an includes list) -
INTERSECTION
the members who are in the left, who are also in the right (right is a required list)
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
valueOfIgnoreCase
find the value of a string and ignore case- Parameters:
theName
-
-
getName
get name of composite type, e.g. complement, union, intersection- Returns:
- name
-
toString
- Overrides:
toString
in classEnum<CompositeType>
- See Also:
-