|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType
ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.SampleType
@JsonObject(value="SampleType") public class SampleType
Immutable value object representing a sample type.
Nested Class Summary | |
---|---|
static class |
SampleType.SampleTypeInitializer
Class used to initialize a new SampleType instance. |
Constructor Summary | |
---|---|
SampleType(SampleType.SampleTypeInitializer initializer)
Creates a new instance with the provided initializer |
Method Summary | |
---|---|
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()
|
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType |
---|
equals, getCode, getDescription, getPropertyTypeGroups, getValidationPluginInfo, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SampleType(SampleType.SampleTypeInitializer initializer)
java.lang.IllegalArgumentException
- if some of the required information is not provided.Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |