public enum TdbAccessRights extends java.lang.Enum<TdbAccessRights>
TdbDatabaseAccess| Enum Constant and Description |
|---|
All
Unrestricted access
|
None
No access rights at all
|
Selected
Access to a select subset of fields
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessRightsId()
Retrieve the access rights as an ID suitable for use in TRIPxpi protocols
|
static TdbAccessRights |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TdbAccessRights[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TdbAccessRights None
public static final TdbAccessRights Selected
public static final TdbAccessRights All
public static TdbAccessRights[] values()
for (TdbAccessRights c : TdbAccessRights.values()) System.out.println(c);
public static TdbAccessRights 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 int getAccessRightsId()