Class ExpObject

java.lang.Object
org.labkey.remoteapi.ResponseObject
org.labkey.remoteapi.assay.ExpObject
Direct Known Subclasses:
Batch, Data, Material, Run

public abstract class ExpObject extends ResponseObject
Base class for experiment objects, including Run, Data, Batch, etc
  • Constructor Details

    • ExpObject

      protected ExpObject()
    • ExpObject

      protected ExpObject(org.json.JSONObject json)
  • Method Details

    • toJSONObject

      public org.json.JSONObject toJSONObject()
    • getId

      public Integer getId()
      Returns:
      the auto-generated rowId for this object
    • setId

      public void setId(int id)
      Parameters:
      id - the auto-generated rowId for this object
    • getName

      public String getName()
      Returns:
      the name assigned to this object
    • setName

      public void setName(String name)
      Parameters:
      name - the name assigned to this object
    • getProperties

      public Map<String,Object> getProperties()
      Returns:
      the customizable properties attached to this object (Run Properties, Batch Properties, etc)
    • setProperties

      public void setProperties(Map<String,Object> properties)
      Parameters:
      properties - the customizable properties attached to this object (Run Properties, Batch Properties, etc)