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.DataSetType
All Implemented Interfaces:
java.io.Serializable

@JsonObject(value="DataSetType")
public final class DataSetType
extends java.lang.Object
implements java.io.Serializable

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 data set instance.
 
Constructor Summary
DataSetType(DataSetType.DataSetTypeInitializer initializer)
          Creates a new instance with the provided initializer
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
          Returns the data set code.
 java.util.List<PropertyTypeGroup> getPropertyTypeGroups()
          Return the grouped property types for this data set type.
 int hashCode()
           
 java.lang.String toString()
           
 
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

getCode

public java.lang.String getCode()
Returns the data set code.


getPropertyTypeGroups

public java.util.List<PropertyTypeGroup> getPropertyTypeGroups()
Return the grouped property types for this data set type. (Groups are referred to as sections elsewhere).


equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object