< prev index next >

## src/com/sun/javatest/cof/COFSWEntity.java

Print this page

      69  *         &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      70  *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      71  *       &lt;/sequence>
      72  *       &lt;attribute name="id" use="required" type="{http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema}IDWithColon" />
      73  *     &lt;/restriction>
      74  *   &lt;/complexContent>
      75  * &lt;/complexType>
      76  * </pre>
      77  *
      78  *
      79  */
      80 /*@XmlAccessorType(XmlAccessType.FIELD)
      81 @XmlType(name = "SWEntity", propOrder = {
      82     "name",
      83     "type",
      84     "version",
      85     "description"
      86 })*/
      87 public class COFSWEntity extends COFItem{
      88
      89 static LinkedHashMap xmlAttributes;
      90 static LinkedHashMap xmlElements;
      91 static String xmlTagName;
      92 static {
      93                 xmlTagName = "swentity";
      94                 xmlElements = new LinkedHashMap();
      95                 xmlElements.put("name","name");
      96                 xmlElements.put("type","type");
      97                 xmlElements.put("version","version");
      98                 xmlElements.put("description","description");
      99                 xmlAttributes = new LinkedHashMap();
     100                 xmlAttributes.put("id","id");
     101         }
     102 //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
     103     protected String description;
     104
     105     //    @XmlAttribute(required = true)
     106     protected String id="swentity:0";
     107
     108     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
     109     protected String name;
     110
     111     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
     112     protected String type;
     113
     114     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
     115     protected String version;
     116
     117     /**
     118      * Gets the value of the description property.
     119      *
     121      *     possible object is
     122      *     {@link String }
     123      *
     124      */
     125     public String getDescription() {
     126         return description;
     127     }
     128
     129     /**
     130      * Gets the value of the id property.
     131      *
     132      * @return
     133      *     possible object is
     134      *     {@link String }
     135      *
     136      */
     137     public String getId() {
     138         return id;
     139     }
     140
     141     LinkedHashMap getItemAttributes() {
     142                 return xmlAttributes;
     143         }
     144
     145     LinkedHashMap getItemElements() {
     146                 return xmlElements;
     147         }
     148
     149     String getItemTagName() {
     150                 return xmlTagName;
     151         }
     152
     153     /**
     154      * Gets the value of the name property.
     155      *
     156      * @return
     157      *     possible object is
     158      *     {@link String }
     159      *
     160      */
     161     public String getName() {
     162         return name;
     163     }
     164
     165     /**
      69  *         &lt;element name="version" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      70  *         &lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
      71  *       &lt;/sequence>
      72  *       &lt;attribute name="id" use="required" type="{http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema}IDWithColon" />
      73  *     &lt;/restriction>
      74  *   &lt;/complexContent>
      75  * &lt;/complexType>
      76  * </pre>
      77  *
      78  *
      79  */
      80 /*@XmlAccessorType(XmlAccessType.FIELD)
      81 @XmlType(name = "SWEntity", propOrder = {
      82     "name",
      83     "type",
      84     "version",
      85     "description"
      86 })*/
      87 public class COFSWEntity extends COFItem{
      88
      89 static LinkedHashMap<String, String> xmlAttributes;
      90 static LinkedHashMap<String, String> xmlElements;
      91 static String xmlTagName;
      92 static {
      93                 xmlTagName = "swentity";
      94                 xmlElements = new LinkedHashMap<>();
      95                 xmlElements.put("name","name");
      96                 xmlElements.put("type","type");
      97                 xmlElements.put("version","version");
      98                 xmlElements.put("description","description");
      99                 xmlAttributes = new LinkedHashMap<>();
     100                 xmlAttributes.put("id","id");
     101         }
     102 //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
     103     protected String description;
     104
     105     //    @XmlAttribute(required = true)
     106     protected String id="swentity:0";
     107
     108     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
     109     protected String name;
     110
     111     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema", required = true)
     112     protected String type;
     113
     114     //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
     115     protected String version;
     116
     117     /**
     118      * Gets the value of the description property.
     119      *
     121      *     possible object is
     122      *     {@link String }
     123      *
     124      */
     125     public String getDescription() {
     126         return description;
     127     }
     128
     129     /**
     130      * Gets the value of the id property.
     131      *
     132      * @return
     133      *     possible object is
     134      *     {@link String }
     135      *
     136      */
     137     public String getId() {
     138         return id;
     139     }
     140
     141     LinkedHashMap<String, String> getItemAttributes() {
     142                 return xmlAttributes;
     143         }
     144
     145     LinkedHashMap<String, String> getItemElements() {
     146                 return xmlElements;
     147         }
     148
     149     String getItemTagName() {
     150                 return xmlTagName;
     151         }
     152
     153     /**
     154      * Gets the value of the name property.
     155      *
     156      * @return
     157      *     possible object is
     158      *     {@link String }
     159      *
     160      */
     161     public String getName() {
     162         return name;
     163     }
     164
     165     /**

< prev index next >