Class Experiment
java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Experiment
- All Implemented Interfaces:
ICustomIdHolder<Long>,IIdentifierHolder,IIdHolder,Serializable
@JsonObject("Experiment")
public final class Experiment
extends Object
implements Serializable, IIdentifierHolder, IIdHolder
Immutable value object representing an experiment.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classClass used to initialize a new experiment instance. -
Constructor Summary
ConstructorsConstructorDescriptionExperiment(Experiment.ExperimentInitializer initializer) Creates a new instance with the provided initializer -
Method Summary
-
Constructor Details
-
Method Details
-
getId
Returns the experiment id.- Specified by:
getIdin interfaceICustomIdHolder<Long>- Returns:
nullif there is no Id.
-
getPermId
Returns the experiment permanent id. -
getCode
Returns the experiment code. -
getIdentifier
Returns the experiment identifier.- Specified by:
getIdentifierin interfaceIIdentifierHolder
-
getExperimentTypeCode
Returns the experiment type code. -
getRegistrationDetails
-
getProperties
-
getMetaprojects
- Throws:
IllegalArgumentException
-
isStub
public boolean isStub() -
equals
-
hashCode
public int hashCode() -
toString
-