ch.systemsx.cisd.openbis.generic.shared.api.v1.dto
Class DataSetType

java.lang.Object
  extended by ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.EntityType
      extended by ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.DataSetType
All Implemented Interfaces:
java.io.Serializable

@JsonObject(value="DataSetType")
public final class DataSetType
extends EntityType

Immutable value object representing a data set type.

See Also:
Serialized Form

Nested Class Summary
static class DataSetType.DataSetTypeInitializer
          Class used to initialize a new DataSetType instance.
 
Constructor Summary
DataSetType(DataSetType.DataSetTypeInitializer initializer)
          Creates a new instance with the provided initializer
 
Method Summary
 DataSetKind getDataSetKind()
          Returns the kind of data sets of this type.
 java.lang.String getMainDataSetPath()
          Returns main data set path if defined.
 java.lang.String getMainDataSetPattern()
          Returns main data set pattern if defined.
 boolean isDeletionDisallowed()
          Returns true 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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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()
Returns true if deletion for data sets of this type are disallowed.


getDataSetKind

public DataSetKind getDataSetKind()
Returns the kind of data sets of this type.


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 class java.lang.Object