Class MaterialBuilder
- java.lang.Object
-
- ch.systemsx.cisd.openbis.generic.shared.basic.dto.builders.MaterialBuilder
-
public class MaterialBuilder extends java.lang.Object
Builder of aMaterial
instance.
-
-
Constructor Summary
Constructors Constructor Description MaterialBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MaterialBuilder
code(java.lang.String code)
Material
getMaterial()
MaterialBuilder
id(java.lang.Long id)
PropertyBuilder
property(java.lang.String key)
MaterialBuilder
property(java.lang.String key, java.lang.String value)
MaterialBuilder
type(java.lang.String type)
-
-
-
Method Detail
-
getMaterial
public final Material getMaterial()
-
id
public MaterialBuilder id(java.lang.Long id)
-
code
public MaterialBuilder code(java.lang.String code)
-
type
public MaterialBuilder type(java.lang.String type)
-
property
public PropertyBuilder property(java.lang.String key)
-
property
public MaterialBuilder property(java.lang.String key, java.lang.String value)
-
-