public static enum CVCAuthorizationTemplate.Permission extends Enum<CVCAuthorizationTemplate.Permission>
Enum Constant and Description |
---|
READ_ACCESS_DG3 |
READ_ACCESS_DG3_AND_DG4 |
READ_ACCESS_DG4 |
READ_ACCESS_NONE |
Modifier and Type | Method and Description |
---|---|
byte |
getValue()
Returns the tag as a bitmap
|
boolean |
implies(CVCAuthorizationTemplate.Permission other)
Whether this permission implies the other permission.
|
static CVCAuthorizationTemplate.Permission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CVCAuthorizationTemplate.Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CVCAuthorizationTemplate.Permission READ_ACCESS_NONE
public static final CVCAuthorizationTemplate.Permission READ_ACCESS_DG3
public static final CVCAuthorizationTemplate.Permission READ_ACCESS_DG4
public static final CVCAuthorizationTemplate.Permission READ_ACCESS_DG3_AND_DG4
public static CVCAuthorizationTemplate.Permission[] values()
for (CVCAuthorizationTemplate.Permission c : CVCAuthorizationTemplate.Permission.values()) System.out.println(c);
public static CVCAuthorizationTemplate.Permission 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 boolean implies(CVCAuthorizationTemplate.Permission other)
other
- some other permissionpublic byte getValue()
Copyright © 2016. All rights reserved.