Package com.cognite.client.config
Enum ResourceType
- java.lang.Object
-
- java.lang.Enum<ResourceType>
-
- com.cognite.client.config.ResourceType
-
- All Implemented Interfaces:
Serializable
,Comparable<ResourceType>
public enum ResourceType extends Enum<ResourceType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSET
DATA_SET
EVENT
FILE
FILE_HEADER
LABEL
RAW_DB
RAW_ROW
RAW_TABLE
RELATIONSHIP
SECURITY_CATEGORY
SEQUENCE_BODY
SEQUENCE_HEADER
THREED_MODEL_HEADER
TIMESERIES_DATAPOINTS
TIMESERIES_HEADER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourceType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ResourceType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSET
public static final ResourceType ASSET
-
SEQUENCE_HEADER
public static final ResourceType SEQUENCE_HEADER
-
SEQUENCE_BODY
public static final ResourceType SEQUENCE_BODY
-
THREED_MODEL_HEADER
public static final ResourceType THREED_MODEL_HEADER
-
TIMESERIES_HEADER
public static final ResourceType TIMESERIES_HEADER
-
TIMESERIES_DATAPOINTS
public static final ResourceType TIMESERIES_DATAPOINTS
-
EVENT
public static final ResourceType EVENT
-
FILE_HEADER
public static final ResourceType FILE_HEADER
-
FILE
public static final ResourceType FILE
-
RAW_DB
public static final ResourceType RAW_DB
-
RAW_TABLE
public static final ResourceType RAW_TABLE
-
RAW_ROW
public static final ResourceType RAW_ROW
-
DATA_SET
public static final ResourceType DATA_SET
-
RELATIONSHIP
public static final ResourceType RELATIONSHIP
-
LABEL
public static final ResourceType LABEL
-
SECURITY_CATEGORY
public static final ResourceType SECURITY_CATEGORY
-
-
Method Detail
-
values
public static ResourceType[] 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 (ResourceType c : ResourceType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResourceType 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
-
-