@JsonObject(value="Experiment")
public final class Experiment
extends java.lang.Object
implements java.io.Serializable, ch.systemsx.cisd.openbis.generic.shared.basic.IIdentifierHolder, ch.systemsx.cisd.openbis.generic.shared.basic.IIdHolder
Modifier and Type | Class and Description |
---|---|
static class |
Experiment.ExperimentInitializer
Class used to initialize a new experiment instance.
|
Constructor and Description |
---|
Experiment(Experiment.ExperimentInitializer initializer)
Creates a new instance with the provided initializer
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCode()
Returns the experiment code.
|
java.lang.String |
getExperimentTypeCode()
Returns the experiment type code.
|
java.lang.Long |
getId()
Returns the experiment id.
|
java.lang.String |
getIdentifier()
Returns the experiment identifier.
|
java.util.List<ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject> |
getMetaprojects() |
java.lang.String |
getPermId()
Returns the experiment permanent id.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties() |
EntityRegistrationDetails |
getRegistrationDetails() |
int |
hashCode() |
boolean |
isStub() |
java.lang.String |
toString() |
public Experiment(Experiment.ExperimentInitializer initializer)
java.lang.IllegalArgumentException
- if some of the required information is not provided.public java.lang.Long getId()
getId
in interface ch.systemsx.cisd.openbis.generic.shared.basic.IIdHolder
null
if there is no Id.public java.lang.String getPermId()
public java.lang.String getCode()
public java.lang.String getIdentifier()
getIdentifier
in interface ch.systemsx.cisd.openbis.generic.shared.basic.IIdentifierHolder
public java.lang.String getExperimentTypeCode()
public EntityRegistrationDetails getRegistrationDetails()
public java.util.Map<java.lang.String,java.lang.String> getProperties()
public java.util.List<ch.systemsx.cisd.openbis.generic.shared.basic.dto.Metaproject> getMetaprojects() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
public boolean isStub()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object