@JsonObject(value="SampleType") public class SampleType extends EntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
SampleType.SampleTypeInitializer
Class used to initialize a new
SampleType instance. |
| Constructor and Description |
|---|
SampleType(SampleType.SampleTypeInitializer initializer)
Creates a new instance with the provided initializer
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCodePrefix()
Returns code prefix used to create sample code automatically.
|
boolean |
isAutomaticCodeGeneration()
Returns
true if the sample code is created automatically. |
boolean |
isListable()
Returns
true if this is a sample type of listable samples. |
boolean |
isShowContainer()
Returns
true if for samples of this type the container field is shown in
edit/registration form. |
boolean |
isShowParentMetaData()
Returns
true if meta data of parents of samples of this type should be shown. |
boolean |
isShowParents()
Returns
true if for sample of this type the parents field is shown in
edit/registration form. |
boolean |
isUniqueSubcodes()
Returns
true if the sub code of samples of this type has to be unique. |
java.lang.String |
toString() |
equals, getCode, getDescription, getPropertyTypeGroups, getValidationPluginInfo, hashCodepublic SampleType(SampleType.SampleTypeInitializer initializer)
java.lang.IllegalArgumentException - if some of the required information is not provided.public boolean isListable()
true if this is a sample type of listable samples.public boolean isShowContainer()
true if for samples of this type the container field is shown in
edit/registration form.public boolean isShowParents()
true if for sample of this type the parents field is shown in
edit/registration form.public boolean isUniqueSubcodes()
true if the sub code of samples of this type has to be unique.public boolean isAutomaticCodeGeneration()
true if the sample code is created automatically.public boolean isShowParentMetaData()
true if meta data of parents of samples of this type should be shown.public java.lang.String getCodePrefix()
public java.lang.String toString()
toString in class java.lang.Object