Class SampleType
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
Immutable value object representing a sample type.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classClass used to initialize a newSampleTypeinstance. -
Constructor Summary
ConstructorsConstructorDescriptionSampleType(SampleType.SampleTypeInitializer initializer) Creates a new instance with the provided initializer -
Method Summary
Modifier and TypeMethodDescriptionReturns code prefix used to create sample code automatically.booleanReturnstrueif the sample code is created automatically.booleanReturnstrueif this is a sample type of listable samples.booleanReturnstrueif for samples of this type the container field is shown in edit/registration form.booleanReturnstrueif meta data of parents of samples of this type should be shown.booleanReturnstrueif for sample of this type the parents field is shown in edit/registration form.booleanReturnstrueif the sub code of samples of this type has to be unique.toString()Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType
equals, getCode, getDescription, getPropertyTypeGroups, getValidationPluginInfo, hashCode
-
Constructor Details
-
Method Details
-
isListable
public boolean isListable()Returnstrueif this is a sample type of listable samples. -
isShowContainer
public boolean isShowContainer()Returnstrueif for samples of this type the container field is shown in edit/registration form. -
isShowParents
public boolean isShowParents()Returnstrueif for sample of this type the parents field is shown in edit/registration form. -
isUniqueSubcodes
public boolean isUniqueSubcodes()Returnstrueif the sub code of samples of this type has to be unique. -
isAutomaticCodeGeneration
public boolean isAutomaticCodeGeneration()Returnstrueif the sample code is created automatically. -
isShowParentMetaData
public boolean isShowParentMetaData()Returnstrueif meta data of parents of samples of this type should be shown. -
getCodePrefix
Returns code prefix used to create sample code automatically. -
toString
-