Enum AssociatedEntityKind
- java.lang.Object
-
- java.lang.Enum<AssociatedEntityKind>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AssociatedEntityKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AssociatedEntityKind>
public enum AssociatedEntityKind extends java.lang.Enum<AssociatedEntityKind> implements java.io.Serializable
The GWT counterpart to ch.systemsx.cisd.openbis.generic.shared.api.v1.SearchableEntityKind.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_SET
DATA_SET_CHILD
DATA_SET_CONTAINER
DATA_SET_PARENT
EXPERIMENT
MATERIAL
SAMPLE
SAMPLE_CHILD
SAMPLE_CONTAINER
SAMPLE_PARENT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<AssociatedEntityKind>
getAssociatedEntityKinds(EntityKind sourceEntity)
java.lang.String
getDescription()
EntityKind
getEntityKind()
static AssociatedEntityKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AssociatedEntityKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAMPLE
public static final AssociatedEntityKind SAMPLE
-
EXPERIMENT
public static final AssociatedEntityKind EXPERIMENT
-
DATA_SET
public static final AssociatedEntityKind DATA_SET
-
DATA_SET_PARENT
public static final AssociatedEntityKind DATA_SET_PARENT
-
DATA_SET_CHILD
public static final AssociatedEntityKind DATA_SET_CHILD
-
DATA_SET_CONTAINER
public static final AssociatedEntityKind DATA_SET_CONTAINER
-
SAMPLE_CONTAINER
public static final AssociatedEntityKind SAMPLE_CONTAINER
-
SAMPLE_CHILD
public static final AssociatedEntityKind SAMPLE_CHILD
-
SAMPLE_PARENT
public static final AssociatedEntityKind SAMPLE_PARENT
-
MATERIAL
public static final AssociatedEntityKind MATERIAL
-
-
Method Detail
-
values
public static AssociatedEntityKind[] 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 (AssociatedEntityKind c : AssociatedEntityKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AssociatedEntityKind 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
-
getDescription
public final java.lang.String getDescription()
-
getEntityKind
public final EntityKind getEntityKind()
-
getAssociatedEntityKinds
public static java.util.List<AssociatedEntityKind> getAssociatedEntityKinds(EntityKind sourceEntity)
-
-