public static enum LockInfo.LockType2 extends Enum<LockInfo.LockType2>
LockType
.
These values describe better the meanings of the lock types.Enum Constant and Description |
---|
ALLOW_OWNER_CHANGES |
FULL |
Modifier and Type | Method and Description |
---|---|
LockType |
getType() |
static LockInfo.LockType2 |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockInfo.LockType2[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockInfo.LockType2 FULL
public static final LockInfo.LockType2 ALLOW_OWNER_CHANGES
public static LockInfo.LockType2[] values()
for (LockInfo.LockType2 c : LockInfo.LockType2.values()) System.out.println(c);
public static LockInfo.LockType2 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 LockType getType()
Copyright © 2005–2017 Alfresco Software. All rights reserved.