Enum Class MaxAccess
- All Implemented Interfaces:
Serializable
,Comparable<MaxAccess>
,Constable
Maximum allowed access, as defined by
RFC2578 Section 7.3.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates the annotated object is accessible only for notifications.Indicates the annotated object is an auxiliary object, as per RFC2578 Section 7.7.Indicates thatread
,write
andcreate
access make 'protocol sense'.Indicates thatread
access makes 'protocol sense', butwrite
andcreate
do not.Indicates thatread
andwrite
access make 'protocol sense', butcreate
does not. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable MaxAccess
forStringLiteral
(@NonNull String str) @NonNull String
static MaxAccess
Returns the enum constant of this class with the specified name.static MaxAccess[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT_ACCESSIBLE
Indicates the annotated object is an auxiliary object, as per RFC2578 Section 7.7. -
ACCESSIBLE_FOR_NOTIFY
Indicates the annotated object is accessible only for notifications. -
READ_ONLY
Indicates thatread
access makes 'protocol sense', butwrite
andcreate
do not. -
READ_WRITE
Indicates thatread
andwrite
access make 'protocol sense', butcreate
does not. -
READ_CREATE
Indicates thatread
,write
andcreate
access make 'protocol sense'.
-
-
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
-
stringLiteral
-
forStringLiteral
-