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 int
compareTo(Material o)
boolean
equals(java.lang.Object obj)
DatabaseInstance
getDatabaseInstance()
EntityKind
getEntityKind()
Return the entity kind of this matching entity.EntityType
getEntityType()
Returns the entity type of this matching entity.java.lang.Long
getId()
Returns the technical ID of this instance.java.lang.String
getIdentifier()
MaterialType
getMaterialType()
java.util.Collection<Metaproject>
getMetaprojects()
java.util.Date
getModificationDate()
java.lang.String
getPermId()
java.util.List<IEntityProperty>
getProperties()
int
hashCode()
boolean
isStub()
void
setDatabaseInstance(DatabaseInstance databaseInstance)
void
setId(java.lang.Long id)
void
setMaterialType(MaterialType experimentType)
void
setMetaprojects(java.util.Collection<Metaproject> metaprojects)
void
setModificationDate(java.util.Date modificationDate)
void
setProperties(java.util.List<IEntityProperty> properties)
java.lang.String
toString()
-
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:
getProperties
in 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:IIdHolder
Returns the technical ID of this instance.
-
setId
public void setId(java.lang.Long id)
-
getModificationDate
public java.util.Date getModificationDate()
- Overrides:
getModificationDate
in classCodeWithRegistrationAndModificationDate<Material>
-
setModificationDate
public void setModificationDate(java.util.Date modificationDate)
- Overrides:
setModificationDate
in classCodeWithRegistrationAndModificationDate<Material>
-
getEntityType
public EntityType getEntityType()
Description copied from interface:IEntityInformationHolder
Returns the entity type of this matching entity.- Specified by:
getEntityType
in interfaceIEntityInformationHolder
-
getEntityKind
public EntityKind getEntityKind()
Description copied from interface:IEntityInformationHolder
Return the entity kind of this matching entity.- Specified by:
getEntityKind
in interfaceIEntityInformationHolder
-
getIdentifier
public java.lang.String getIdentifier()
- Specified by:
getIdentifier
in interfaceIIdentifierHolder
-
setMetaprojects
public void setMetaprojects(java.util.Collection<Metaproject> metaprojects)
-
getMetaprojects
public java.util.Collection<Metaproject> getMetaprojects()
- Specified by:
getMetaprojects
in interfaceITaggable
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
compareTo
public final int compareTo(Material o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<Material>
- Overrides:
compareTo
in classCodeWithRegistration<Material>
-
getPermId
public java.lang.String getPermId()
- Specified by:
getPermId
in interfaceIPermIdHolder
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-