Class Material
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.MaterialIdentifier
-
- ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.Material
-
- All Implemented Interfaces:
IIdHolder
,java.io.Serializable
@JsonObject("MaterialGeneric") public class Material extends MaterialIdentifier implements IIdHolder
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Material.MaterialInitializer
-
Constructor Summary
Constructors Constructor Description Material(Material.MaterialInitializer initializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Long
getId()
Returns the technical ID of this instance.java.util.Map<java.lang.String,Material>
getMaterialProperties()
java.util.List<Metaproject>
getMetaprojects()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
EntityRegistrationDetails
getRegistrationDetails()
-
Methods inherited from class ch.systemsx.cisd.openbis.generic.shared.api.v1.dto.MaterialIdentifier
equals, getAugmentedCode, getMaterialCode, getMaterialTypeIdentifier, hashCode, toString
-
-
-
-
Constructor Detail
-
Material
public Material(Material.MaterialInitializer initializer)
-
-
Method Detail
-
getId
public java.lang.Long getId()
Description copied from interface:IIdHolder
Returns the technical ID of this instance.
-
getProperties
public java.util.Map<java.lang.String,java.lang.String> getProperties()
- Returns:
- the material properties
-
getMaterialProperties
public java.util.Map<java.lang.String,Material> getMaterialProperties()
-
getRegistrationDetails
public EntityRegistrationDetails getRegistrationDetails()
-
getMetaprojects
public java.util.List<Metaproject> getMetaprojects() throws java.lang.IllegalArgumentException
- Throws:
java.lang.IllegalArgumentException
-
-