Initial XML generating code for .orc format.
[debian/openrocket] / core / src / net / sf / openrocket / preset / xml / TubeCouplerDTO.java
1
2 package net.sf.openrocket.preset.xml;
3
4 import net.sf.openrocket.preset.ComponentPreset;
5
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlRootElement;
9
10 /**
11  * Tube coupler preset XML handler.
12  */
13 @XmlRootElement(name = "TubeCoupler")
14 @XmlAccessorType(XmlAccessType.FIELD)
15 public class TubeCouplerDTO extends BodyTubeDTO {
16
17     /**
18      * Default constructor.
19      */
20     public TubeCouplerDTO() {
21     }
22
23     /**
24      * Most-useful constructor that maps a TubeCoupler preset to a TubeCouplerDTO.
25      *
26      * @param thePreset  the preset
27      *
28      * @throws net.sf.openrocket.util.BugException thrown if the expected tube coupler keys are not in the preset
29      */
30     public TubeCouplerDTO(ComponentPreset thePreset) {
31         super(thePreset);
32     }
33 }