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