Enum DataSetRelationType
- java.lang.Object
-
- java.lang.Enum<DataSetRelationType>
-
- ch.ethz.sis.openbis.generic.asapi.v3.dto.dataset.history.DataSetRelationType
-
- All Implemented Interfaces:
IRelationType
,java.io.Serializable
,java.lang.Comparable<DataSetRelationType>
@JsonObject("as.dto.dataset.history.DataSetRelationType") public enum DataSetRelationType extends java.lang.Enum<DataSetRelationType> implements IRelationType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataSetRelationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DataSetRelationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPERIMENT
public static final DataSetRelationType EXPERIMENT
-
SAMPLE
public static final DataSetRelationType SAMPLE
-
PARENT
public static final DataSetRelationType PARENT
-
CHILD
public static final DataSetRelationType CHILD
-
CONTAINER
public static final DataSetRelationType CONTAINER
-
COMPONENT
public static final DataSetRelationType COMPONENT
-
-
Method Detail
-
values
public static DataSetRelationType[] 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 (DataSetRelationType c : DataSetRelationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataSetRelationType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-