public enum AttributeAccessMode extends java.lang.Enum<AttributeAccessMode> implements org.openmuc.jdlms.internal.DlmsEnumeration
Enum Constant and Description |
---|
AUTHENTICATED_READ_AND_WRITE |
AUTHENTICATED_READ_ONLY |
AUTHENTICATED_WRITE_ONLY |
NO_ACCESS |
READ_AND_WRITE |
READ_ONLY |
WRITE_ONLY |
Modifier and Type | Method and Description |
---|---|
long |
getCode() |
static AttributeAccessMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeAccessMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeAccessMode NO_ACCESS
public static final AttributeAccessMode READ_ONLY
public static final AttributeAccessMode WRITE_ONLY
public static final AttributeAccessMode READ_AND_WRITE
public static final AttributeAccessMode AUTHENTICATED_READ_ONLY
public static final AttributeAccessMode AUTHENTICATED_WRITE_ONLY
public static final AttributeAccessMode AUTHENTICATED_READ_AND_WRITE
public static AttributeAccessMode[] values()
for (AttributeAccessMode c : AttributeAccessMode.values()) System.out.println(c);
public static AttributeAccessMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getCode()
getCode
in interface org.openmuc.jdlms.internal.DlmsEnumeration