Package org.modelmapper.config
Enum Class Configuration.AccessLevel
- All Implemented Interfaces:
Serializable
,Comparable<Configuration.AccessLevel>
,java.lang.constant.Constable
- Enclosing interface:
- Configuration
The level at and below which properties can be accessed.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAll public, protected and package private properties are accessible.All properties are accessible.All public and protected properties are accessible.Only public properties are accessible. -
Method Summary
Modifier and TypeMethodDescriptionstatic Configuration.AccessLevel
Returns the enum constant of this class with the specified name.static Configuration.AccessLevel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PUBLIC
Only public properties are accessible. -
PROTECTED
All public and protected properties are accessible. -
PACKAGE_PRIVATE
All public, protected and package private properties are accessible. -
PRIVATE
All properties are accessible.
-
-
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
-