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