public enum SmiMaxAccess extends Enum<SmiMaxAccess>
writeOnly
of SMIv1.| Enum Constant and Description |
|---|
accessibleForNotify |
notAccessible |
readCreate |
readOnly |
readWrite |
writeOnly |
| Modifier and Type | Method and Description |
|---|---|
static SmiMaxAccess |
fromSmiValue(String smiValue)
Gets the
SmiMaxAccess from a MAX-ACCESS (or ACCESS in SMIv1) clause string. |
String |
getSmiValue()
Gets the MAX-ACCESS (or ACCESS in SMIv1) clause string.
|
boolean |
isCreatable() |
boolean |
isReadOnly() |
boolean |
isWritable() |
static SmiMaxAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SmiMaxAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmiMaxAccess notAccessible
public static final SmiMaxAccess accessibleForNotify
public static final SmiMaxAccess writeOnly
public static final SmiMaxAccess readOnly
public static final SmiMaxAccess readWrite
public static final SmiMaxAccess readCreate
public static SmiMaxAccess[] values()
for (SmiMaxAccess c : SmiMaxAccess.values()) System.out.println(c);
public static SmiMaxAccess valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String getSmiValue()
public static SmiMaxAccess fromSmiValue(String smiValue)
SmiMaxAccess from a MAX-ACCESS (or ACCESS in SMIv1) clause string.smiValue - the SMI access string.null if smiValue is not a valid ACCESS/MAX-ACCESS clause value or
the matching enumeration value.public boolean isReadOnly()
public boolean isWritable()
public boolean isCreatable()
Copyright © 2015 SNMP4J.com. All Rights Reserved.