public enum SegmentType extends Enum<SegmentType>
Enum Constant and Description |
---|
COMPLEXPROPERTY
When we append simple complex state is changed to COMPLEXPROPERTY
|
COUNT
When there is count query option
|
ENTITY |
ENTITYSET
When we append entity set state is changed to ENTITYSET
|
FUNCTIONIMPORT |
FUNCTIONIMPORT_MANY |
FUNCTIONIMPORT_WITH_KEY |
INITIAL
Initial will be the builder state to begin with a service root url
|
KEY
When there is a key in segment
|
METADATA
When there is a metadata uri segment
|
NAVIGATION |
NAVIGATION_TO_MANY
When there is navigation to many then the state is NAVIGATION_TO_MANY
|
NAVIGATION_TO_MANY_WITH_KEY
When there is navigation to many with a key then the state is
NAVIGATION_TO_MANY_WITH_KEY
|
NAVIGATION_TO_ONE
When there is navigation to one then the state is NAVIGATION_TO_ONE
|
PROPERTY |
SIMPLEPROPERTY
When we append simple property state is changed to SIMPLEPROPERTY
|
VALUE
When there is a value query option
|
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static SegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SegmentType INITIAL
public static final SegmentType ENTITYSET
public static final SegmentType ENTITY
public static final SegmentType SIMPLEPROPERTY
public static final SegmentType KEY
public static final SegmentType COMPLEXPROPERTY
public static final SegmentType NAVIGATION_TO_MANY
public static final SegmentType NAVIGATION_TO_MANY_WITH_KEY
public static final SegmentType NAVIGATION_TO_ONE
public static final SegmentType COUNT
public static final SegmentType VALUE
public static final SegmentType METADATA
public static final SegmentType PROPERTY
public static final SegmentType NAVIGATION
public static final SegmentType FUNCTIONIMPORT
public static final SegmentType FUNCTIONIMPORT_WITH_KEY
public static final SegmentType FUNCTIONIMPORT_MANY
public static SegmentType[] values()
for (SegmentType c : SegmentType.values()) System.out.println(c);
public static SegmentType 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 String getValue()
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.