Package org.teiid.translator.odata4
Enum ODataMetadataProcessor.ODataType
- java.lang.Object
-
- java.lang.Enum<ODataMetadataProcessor.ODataType>
-
- org.teiid.translator.odata4.ODataMetadataProcessor.ODataType
-
- All Implemented Interfaces:
Serializable,Comparable<ODataMetadataProcessor.ODataType>
- Enclosing class:
- ODataMetadataProcessor
public static enum ODataMetadataProcessor.ODataType extends Enum<ODataMetadataProcessor.ODataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIONCOMPLEXCOMPLEX_COLLECTIONENTITYENTITY_COLLECTIONFUNCTIONNAVIGATIONNAVIGATION_COLLECTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ODataMetadataProcessor.ODataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ODataMetadataProcessor.ODataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLEX
public static final ODataMetadataProcessor.ODataType COMPLEX
-
NAVIGATION
public static final ODataMetadataProcessor.ODataType NAVIGATION
-
ENTITY
public static final ODataMetadataProcessor.ODataType ENTITY
-
ENTITY_COLLECTION
public static final ODataMetadataProcessor.ODataType ENTITY_COLLECTION
-
ACTION
public static final ODataMetadataProcessor.ODataType ACTION
-
FUNCTION
public static final ODataMetadataProcessor.ODataType FUNCTION
-
COMPLEX_COLLECTION
public static final ODataMetadataProcessor.ODataType COMPLEX_COLLECTION
-
NAVIGATION_COLLECTION
public static final ODataMetadataProcessor.ODataType NAVIGATION_COLLECTION
-
-
Method Detail
-
values
public static ODataMetadataProcessor.ODataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ODataMetadataProcessor.ODataType c : ODataMetadataProcessor.ODataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ODataMetadataProcessor.ODataType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-