Enum TypeDisplay
- All Implemented Interfaces:
Serializable
,Comparable<TypeDisplay>
How a type name is rendered in 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
-
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 type with the specified name.static TypeDisplay[]
values()
Returns an array containing the constants of this enum type, 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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-