public static enum ObjectInfo.ProtectionStatus extends java.lang.Enum<ObjectInfo.ProtectionStatus> implements org.theta4j.ptp.code.Code<UINT16>
| Enum Constant and Description | 
|---|
NO_PROTECTION  | 
READ_ONLY  | 
| Modifier and Type | Method and Description | 
|---|---|
UINT16 | 
value()
Returns the integer value according PTP standard. 
 | 
static ObjectInfo.ProtectionStatus | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static ObjectInfo.ProtectionStatus | 
valueOf(UINT16 value)
Returns ProtectionStatus enum from the value. 
 | 
static ObjectInfo.ProtectionStatus[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ObjectInfo.ProtectionStatus NO_PROTECTION
public static final ObjectInfo.ProtectionStatus READ_ONLY
public static ObjectInfo.ProtectionStatus[] values()
for (ObjectInfo.ProtectionStatus c : ObjectInfo.ProtectionStatus.values()) System.out.println(c);
public static ObjectInfo.ProtectionStatus 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 UINT16 value()
value in interface org.theta4j.ptp.code.Code<UINT16>public static ObjectInfo.ProtectionStatus valueOf(UINT16 value)