public enum ODataContextPropertyType extends Enum<ODataContextPropertyType>
| Enum Constant and Description |
|---|
BOOLEAN
Boolean property type.
|
FLOAT
Float property type.
|
INTEGER
Integer property type.
|
PATH
Context Segment Path property type.
|
SET
Set of strings property type.
|
STRING
String property type.
|
VERSION
Version property type, e.g.
|
| Modifier and Type | Method and Description |
|---|---|
com.sdl.context.api.definition.ContextPropertyType |
toContextPropertyType() |
static ODataContextPropertyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ODataContextPropertyType |
valueOfContextPropertyType(com.sdl.context.api.definition.ContextPropertyType type) |
static ODataContextPropertyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ODataContextPropertyType PATH
public static final ODataContextPropertyType BOOLEAN
public static final ODataContextPropertyType INTEGER
public static final ODataContextPropertyType FLOAT
public static final ODataContextPropertyType SET
public static final ODataContextPropertyType STRING
public static final ODataContextPropertyType VERSION
public static ODataContextPropertyType[] values()
for (ODataContextPropertyType c : ODataContextPropertyType.values()) System.out.println(c);
public static ODataContextPropertyType 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 static ODataContextPropertyType valueOfContextPropertyType(com.sdl.context.api.definition.ContextPropertyType type)
public com.sdl.context.api.definition.ContextPropertyType toContextPropertyType()
Copyright © 2017 SDL Group. All rights reserved.