java.lang.Object
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SampleType
All Implemented Interfaces:
Serializable

@JsonObject("SampleType") public class SampleType extends EntityType
Immutable value object representing a sample type.
See Also:
  • Constructor Details

  • Method Details

    • isListable

      public boolean isListable()
      Returns true if this is a sample type of listable samples.
    • isShowContainer

      public boolean isShowContainer()
      Returns true if for samples of this type the container field is shown in edit/registration form.
    • isShowParents

      public boolean isShowParents()
      Returns true if for sample of this type the parents field is shown in edit/registration form.
    • isUniqueSubcodes

      public boolean isUniqueSubcodes()
      Returns true if the sub code of samples of this type has to be unique.
    • isAutomaticCodeGeneration

      public boolean isAutomaticCodeGeneration()
      Returns true if the sample code is created automatically.
    • isShowParentMetaData

      public boolean isShowParentMetaData()
      Returns true if meta data of parents of samples of this type should be shown.
    • getCodePrefix

      public String getCodePrefix()
      Returns code prefix used to create sample code automatically.
    • toString

      public String toString()
      Overrides:
      toString in class Object