Class DataSetType
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSetType
-
- All Implemented Interfaces:
java.io.Serializable
@JsonObject("DataSetType") public final class DataSetType extends EntityType
Immutable value object representing a data set type.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DataSetType.DataSetTypeInitializer
Class used to initialize a newDataSetType
instance.
-
Constructor Summary
Constructors Constructor Description DataSetType(DataSetType.DataSetTypeInitializer initializer)
Creates a new instance with the provided initializer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMainDataSetPath()
Returns main data set path if defined.java.lang.String
getMainDataSetPattern()
Returns main data set pattern if defined.boolean
isDeletionDisallowed()
Returnstrue
if deletion for data sets of this type are disallowed.java.lang.String
toString()
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType
equals, getCode, getDescription, getPropertyTypeGroups, getValidationPluginInfo, hashCode
-
-
-
-
Constructor Detail
-
DataSetType
public DataSetType(DataSetType.DataSetTypeInitializer initializer)
Creates a new instance with the provided initializer- Throws:
java.lang.IllegalArgumentException
- if some of the required information is not provided.
-
-
Method Detail
-
isDeletionDisallowed
public boolean isDeletionDisallowed()
Returnstrue
if deletion for data sets of this type are disallowed.
-
getMainDataSetPattern
public java.lang.String getMainDataSetPattern()
Returns main data set pattern if defined.
-
getMainDataSetPath
public java.lang.String getMainDataSetPath()
Returns main data set path if defined.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-