@@ -0,0 +1,810 @@
+import uuid%0A%0Afrom simphony.core.data_container import DataContainer%0A%0A%0Aclass Material(object):%0A    %22%22%22A class that represents a material.%0A%0A    Class describes a material and its data.%0A%0A    Attributes%0A    ----------%0A    description : str%0A        textual description of the material%0A    uid : uuid.UUID%0A        the id of the material.%0A    data : DataContainer%0A        data associated with this material%0A%0A    %22%22%22%0A    def __init__(self, uid=None, data=None, description=%22%22):%0A        self.data = data if data else DataContainer()%0A        self.uid = uid if uid else uuid.uuid4()%0A        self.description = description%0A%0A    @classmethod%0A    def from_material(cls, material):%0A        return cls(%0A            uid=material.uid,%0A            description=material.description,%0A            data=DataContainer(material.data))%0A

Add Material class