public enum AstPropertyOwner extends Enum<AstPropertyOwner>
OWNER_DEVICE
OWNER_USER
OWNER_GROUP
Enum Constant and Description |
---|
OWNER_DEVICE
The property owner is an ASM device
Note, that the AstPropertyParam.setId(Object) is an Integer holding the ASM device ID. |
OWNER_GROUP
The property owner is a SSMS group
Note, that the AstPropertyParam.setId(Object) is a String holding the group name. |
OWNER_USER
The property owner is a SSMS user
Note, that the AstPropertyParam.setId(Object) is a String holding the user name. |
Modifier and Type | Method and Description |
---|---|
static AstPropertyOwner |
findPropertyOwner(int key) |
int |
getKey() |
static AstPropertyOwner |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AstPropertyOwner[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AstPropertyOwner OWNER_DEVICE
AstPropertyParam.setId(Object)
is an Integer
holding the ASM device ID.public static final AstPropertyOwner OWNER_USER
AstPropertyParam.setId(Object)
is a String
holding the user name.public static final AstPropertyOwner OWNER_GROUP
AstPropertyParam.setId(Object)
is a String
holding the group name.public static AstPropertyOwner[] values()
for (AstPropertyOwner c : AstPropertyOwner.values()) System.out.println(c);
public static AstPropertyOwner 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 int getKey()
public static AstPropertyOwner findPropertyOwner(int key)
Copyright © 2022 KOBIL Systems GmbH. All rights reserved.