1 package org.lcsim.geometry.compact.converter.lcdd.util;
2
3 import org.jdom.Element;
4
5
6
7
8
9 public class Generator extends Element
10 {
11
12
13 public Generator()
14 {
15 super("generator");
16 }
17
18 public void setTitle(String title)
19 {
20 setAttribute("name",title);
21 }
22
23 public void setVersion(String version)
24 {
25 setAttribute("version",version);
26 }
27
28 public void setFile(String file)
29 {
30 setAttribute("file",file);
31 }
32
33 public void setChecksum(long checksum)
34 {
35 setAttribute("checksum",String.valueOf(checksum));
36 }
37 }