public enum ObjectType extends Enum<ObjectType>
Modifier and Type | Method and Description |
---|---|
static ObjectType |
get(BObjectTypeSymbol objectTypeSymbol)
Get the enum value from
BObjectTypeSymbol . |
static ObjectType |
get(int ordinal)
Get the enum value from ordinal.
|
int |
getValue() |
static ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectType CLIENT
public static final ObjectType SERVER
public static final ObjectType OBJECT
public static ObjectType[] values()
for (ObjectType c : ObjectType.values()) System.out.println(c);
public static ObjectType 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 getValue()
public static ObjectType get(int ordinal)
ordinal
- ordinal value to query.ObjectType
Object Typepublic static ObjectType get(BObjectTypeSymbol objectTypeSymbol)
BObjectTypeSymbol
.objectTypeSymbol
- object type symbolObjectType
Object TypeCopyright © 2019 WSO2. All rights reserved.