Enum Class SampleFetchOption
java.lang.Object
java.lang.Enum<SampleFetchOption>
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SampleFetchOption
- All Implemented Interfaces:
FetchOption,Serializable,Comparable<SampleFetchOption>,Constable
@JsonObject("SampleFetchOption")
public enum SampleFetchOption
extends Enum<SampleFetchOption>
implements FetchOption
Fetch options for
IGeneralInformationService.searchForSamples(String, SearchCriteria, java.util.EnumSet). The Sample objects return
by the search method also contain a fetch option ( Sample.getRetrievedFetchOptions()) which tells which attributes are filled and which
not.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAsk for all ancestors.Samples will have only basic attributes (id, code, type, space code, experiment identifier, registrator, registration date, modification date) but no properties.Samples contain also their children samples.Ask for contained samples.Ask for all descendants.Ask for metaprojects this sample belongs to.Samples contain also their parent samples.Samples contain basic attributes and all properties. -
Method Summary
Modifier and TypeMethodDescriptionstatic SampleFetchOptionReturns the enum constant of this class with the specified name.static SampleFetchOption[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASIC
Samples will have only basic attributes (id, code, type, space code, experiment identifier, registrator, registration date, modification date) but no properties. -
PROPERTIES
Samples contain basic attributes and all properties. -
PARENTS
Samples contain also their parent samples. -
CHILDREN
Samples contain also their children samples. -
ANCESTORS
Ask for all ancestors. -
DESCENDANTS
Ask for all descendants. -
CONTAINED
Ask for contained samples. This is not supported in search operations -
METAPROJECTS
Ask for metaprojects this sample belongs to.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-