Class Material
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration<T>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistrationAndModificationDate<Material>
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.Material
-
- All Implemented Interfaces:
IEntityPropertiesHolder,ICodeHolder,IEntityInformationHolder,IEntityInformationHolderWithIdentifier,IEntityInformationHolderWithPermId,IEntityInformationHolderWithProperties,IIdAndCodeHolder,IIdentifierHolder,IIdHolder,IIsStub,IPermIdHolder,IRegistratorAndModifierHolder,IRegistratorHolder,ITaggable,java.io.Serializable,java.lang.Comparable<Material>
public class Material extends CodeWithRegistrationAndModificationDate<Material> implements IEntityInformationHolderWithProperties, ITaggable, IIsStub
The GWT equivalent to MaterialPE.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Material()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(Material o)booleanequals(java.lang.Object obj)DatabaseInstancegetDatabaseInstance()EntityKindgetEntityKind()Return the entity kind of this matching entity.EntityTypegetEntityType()Returns the entity type of this matching entity.java.lang.LonggetId()Returns the technical ID of this instance.java.lang.StringgetIdentifier()MaterialTypegetMaterialType()java.util.Collection<Metaproject>getMetaprojects()java.util.DategetModificationDate()java.lang.StringgetPermId()java.util.List<IEntityProperty>getProperties()inthashCode()booleanisStub()voidsetDatabaseInstance(DatabaseInstance databaseInstance)voidsetId(java.lang.Long id)voidsetMaterialType(MaterialType experimentType)voidsetMetaprojects(java.util.Collection<Metaproject> metaprojects)voidsetModificationDate(java.util.Date modificationDate)voidsetProperties(java.util.List<IEntityProperty> properties)java.lang.StringtoString()-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistrationAndModificationDate
getModifier, getVersion, setModifier, setVersion
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeWithRegistration
getCode, setCode
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.basic.dto.AbstractRegistrationHolder
getRegistrationDate, getRegistrator, setRegistrationDate, setRegistrator
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.ICodeHolder
getCode
-
Methods inherited from interface ch.systemsx.cisd.openbis.generic.shared.basic.IRegistratorHolder
getRegistrator
-
-
-
-
Method Detail
-
getMaterialType
public MaterialType getMaterialType()
-
setMaterialType
public void setMaterialType(MaterialType experimentType)
-
getProperties
public java.util.List<IEntityProperty> getProperties()
- Specified by:
getPropertiesin interfaceIEntityPropertiesHolder
-
setProperties
public void setProperties(java.util.List<IEntityProperty> properties)
-
getDatabaseInstance
public DatabaseInstance getDatabaseInstance()
-
setDatabaseInstance
public void setDatabaseInstance(DatabaseInstance databaseInstance)
-
getId
public java.lang.Long getId()
Description copied from interface:IIdHolderReturns the technical ID of this instance.
-
setId
public void setId(java.lang.Long id)
-
getModificationDate
public java.util.Date getModificationDate()
- Overrides:
getModificationDatein classCodeWithRegistrationAndModificationDate<Material>
-
setModificationDate
public void setModificationDate(java.util.Date modificationDate)
- Overrides:
setModificationDatein classCodeWithRegistrationAndModificationDate<Material>
-
getEntityType
public EntityType getEntityType()
Description copied from interface:IEntityInformationHolderReturns the entity type of this matching entity.- Specified by:
getEntityTypein interfaceIEntityInformationHolder
-
getEntityKind
public EntityKind getEntityKind()
Description copied from interface:IEntityInformationHolderReturn the entity kind of this matching entity.- Specified by:
getEntityKindin interfaceIEntityInformationHolder
-
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifierin interfaceIIdentifierHolder
-
setMetaprojects
public void setMetaprojects(java.util.Collection<Metaproject> metaprojects)
-
getMetaprojects
public java.util.Collection<Metaproject> getMetaprojects()
- Specified by:
getMetaprojectsin interfaceITaggable
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
compareTo
public final int compareTo(Material o)
- Specified by:
compareToin interfacejava.lang.Comparable<Material>- Overrides:
compareToin classCodeWithRegistration<Material>
-
getPermId
public java.lang.String getPermId()
- Specified by:
getPermIdin interfaceIPermIdHolder
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-