Enum Class TypeDisplay
- All Implemented Interfaces:
Serializable
,Comparable<TypeDisplay>
,java.lang.constant.Constable
The way in which a type is rendered in the resulting UML.
NONE
- Omit the type
SIMPLE
- Use the simple type name (without its containing package)
QUALIFIED
- Use the qualified type name
QUALIFIED_GENERICS
- Use the qualified type name, also for its generic types
- Author:
- Sjoerd Talsma
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOmit the type name.Use the qualified type name.Use the qualified type name, also for its generic type variables.Use the simple type name without the containing package. -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeDisplay
Returns the enum constant of this class with the specified name.static TypeDisplay[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Omit the type name. -
SIMPLE
Use the simple type name without the containing package. -
QUALIFIED
Use the qualified type name. -
QUALIFIED_GENERICS
Use the qualified type name, also for its generic type variables.
-
-
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
-