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

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

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

duplicated from ch.systemsx.cisd.openbis.plugin.screening.shared.api.v1.dto.MaterialTypeIdentifier

See Also:
Serialized Form

Field Summary
static MaterialTypeIdentifier COMPOUND
          Material identifier for a compound.
static MaterialTypeIdentifier GENE
          Material identifier for a gene.
static MaterialTypeIdentifier OLIGO
          Material identifier for an siRNA-nucleotide
 
Constructor Summary
MaterialTypeIdentifier(java.lang.String materialTypeCode)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getMaterialTypeCode()
          Returns the code of this material type.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GENE

public static final MaterialTypeIdentifier GENE
Material identifier for a gene.


OLIGO

public static final MaterialTypeIdentifier OLIGO
Material identifier for an siRNA-nucleotide


COMPOUND

public static final MaterialTypeIdentifier COMPOUND
Material identifier for a compound.

Constructor Detail

MaterialTypeIdentifier

public MaterialTypeIdentifier(java.lang.String materialTypeCode)
Method Detail

getMaterialTypeCode

public java.lang.String getMaterialTypeCode()
Returns the code of this material type.


hashCode

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

equals

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

toString

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