Package com.powsybl.powerfactory.model
Enum DataAttributeType
- java.lang.Object
-
- java.lang.Enum<DataAttributeType>
-
- com.powsybl.powerfactory.model.DataAttributeType
-
- All Implemented Interfaces:
Serializable
,Comparable<DataAttributeType>
public enum DataAttributeType extends Enum<DataAttributeType>
- Author:
- Geoffroy Jamgotchian
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOUBLE
DOUBLE_MATRIX
DOUBLE_VECTOR
FLOAT
FLOAT_VECTOR
INTEGER
INTEGER_VECTOR
INTEGER64
INTEGER64_VECTOR
OBJECT
OBJECT_VECTOR
STRING
STRING_VECTOR
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataAttributeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DataAttributeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final DataAttributeType INTEGER
-
INTEGER_VECTOR
public static final DataAttributeType INTEGER_VECTOR
-
DOUBLE
public static final DataAttributeType DOUBLE
-
DOUBLE_VECTOR
public static final DataAttributeType DOUBLE_VECTOR
-
DOUBLE_MATRIX
public static final DataAttributeType DOUBLE_MATRIX
-
OBJECT
public static final DataAttributeType OBJECT
-
OBJECT_VECTOR
public static final DataAttributeType OBJECT_VECTOR
-
STRING
public static final DataAttributeType STRING
-
STRING_VECTOR
public static final DataAttributeType STRING_VECTOR
-
INTEGER64
public static final DataAttributeType INTEGER64
-
INTEGER64_VECTOR
public static final DataAttributeType INTEGER64_VECTOR
-
FLOAT
public static final DataAttributeType FLOAT
-
FLOAT_VECTOR
public static final DataAttributeType FLOAT_VECTOR
-
-
Method Detail
-
values
public static DataAttributeType[] 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 (DataAttributeType c : DataAttributeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataAttributeType 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
-
-