Class MaterialImmutable

java.lang.Object
ch.systemsx.cisd.etlserver.registrator.api.v2.impl.MaterialImmutable
All Implemented Interfaces:
ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable, ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent
Direct Known Subclasses:
Material

public class MaterialImmutable extends Object implements ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable
  • Constructor Details

    • MaterialImmutable

      public MaterialImmutable(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Material material)
    • MaterialImmutable

      public MaterialImmutable(ch.systemsx.cisd.openbis.generic.shared.basic.dto.Material material, boolean existingMaterial)
  • Method Details

    • getMaterialIdentifier

      public String getMaterialIdentifier()
      Specified by:
      getMaterialIdentifier in interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable
    • getCode

      public String getCode()
      Specified by:
      getCode in interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable
    • getMaterialType

      public String getMaterialType()
      Specified by:
      getMaterialType in interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable
    • getEntityId

      public ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.id.IObjectId getEntityId()
      Specified by:
      getEntityId in interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMetaprojectContent
    • isExistingMaterial

      public boolean isExistingMaterial()
      Specified by:
      isExistingMaterial in interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable
    • getMaterial

      public ch.systemsx.cisd.openbis.generic.shared.basic.dto.Material getMaterial()
    • checkExists

      protected void checkExists()
      Throw an exception if the sample does not exist
    • getPropertyValue

      public String getPropertyValue(String propertyCode)
      Specified by:
      getPropertyValue in interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IMaterialImmutable
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object