< prev index next >

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

Print this page

      64  *             &lt;enumeration value="fail"/>
      65  *             &lt;enumeration value="ambiguous"/>
      66  *             &lt;enumeration value="error"/>
      67  *             &lt;enumeration value="vm_fail"/>
      68  *             &lt;enumeration value="did_not_run"/>
      69  *           &lt;/restriction>
      70  *         &lt;/simpleType>
      71  *       &lt;/attribute>
      72  *     &lt;/restriction>
      73  *   &lt;/complexContent>
      74  * &lt;/complexType>
      75  * </pre>
      76  */
      77 /*@XmlAccessorType(XmlAccessType.FIELD)
      78 @XmlType(name = "Status", propOrder = {
      79     "expected",
      80     "actual"
      81 })*/
      82 public class COFStatus extends COFItem{
      83
      84 static LinkedHashMap xmlAttributes;
      85 static LinkedHashMap xmlElements;
      86 static String xmlTagName;
      87
      88     static {
      89                 xmlElements = new LinkedHashMap();
      90                 xmlAttributes = new LinkedHashMap();
      91                 xmlElements.put("expected","expected");
      92                 xmlElements.put("actual","actual");
      93                 xmlAttributes.put("value","value");
      94                 xmlTagName = "status";
      95         }
      96
      97         //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
      98     protected String actual;
      99
     100         //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
     101     protected String expected;
     102
     103         //    @XmlAttribute(required = true)
     104     protected String value;
     105
     106         /**
     107      * Gets the value of the actual property.
     108      *
     109      * @return
     110      *     possible object is
     111      *     {@link String }
     112      *
     113      */
     114     public String getActual() {
     115         return actual;
     116     }
     117
     118         /**
     119      * Gets the value of the expected property.
     120      *
     121      * @return
     122      *     possible object is
     123      *     {@link String }
     124      *
     125      */
     126     public String getExpected() {
     127         return expected;
     128     }
     129     LinkedHashMap getItemAttributes() {
     130                 return xmlAttributes;
     131         }
     132
     133         LinkedHashMap getItemElements() {
     134                 return xmlElements;
     135         }
     136
     137     String getItemTagName() {
     138                 return xmlTagName;
     139         }
     140
     141     /**
     142      * Gets the value of the value property.
     143      *
     144      * @return
     145      *     possible object is
     146      *     {@link String }
     147      *
     148      */
     149     public String getValue() {
     150         return value;
     151     }
     152
     153     /**
      64  *             &lt;enumeration value="fail"/>
      65  *             &lt;enumeration value="ambiguous"/>
      66  *             &lt;enumeration value="error"/>
      67  *             &lt;enumeration value="vm_fail"/>
      68  *             &lt;enumeration value="did_not_run"/>
      69  *           &lt;/restriction>
      70  *         &lt;/simpleType>
      71  *       &lt;/attribute>
      72  *     &lt;/restriction>
      73  *   &lt;/complexContent>
      74  * &lt;/complexType>
      75  * </pre>
      76  */
      77 /*@XmlAccessorType(XmlAccessType.FIELD)
      78 @XmlType(name = "Status", propOrder = {
      79     "expected",
      80     "actual"
      81 })*/
      82 public class COFStatus extends COFItem{
      83
      84 static LinkedHashMap<String, String> xmlAttributes;
      85 static LinkedHashMap<String, String> xmlElements;
      86 static String xmlTagName;
      87
      88     static {
      89                 xmlElements = new LinkedHashMap<>();
      90                 xmlAttributes = new LinkedHashMap<>();
      91                 xmlElements.put("expected","expected");
      92                 xmlElements.put("actual","actual");
      93                 xmlAttributes.put("value","value");
      94                 xmlTagName = "status";
      95         }
      96
      97         //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
      98     protected String actual;
      99
     100         //    @XmlElement(namespace = "http://qare.sfbay.sun.com/projects/COF/2003/2_0_2/Schema")
     101     protected String expected;
     102
     103         //    @XmlAttribute(required = true)
     104     protected String value;
     105
     106         /**
     107      * Gets the value of the actual property.
     108      *
     109      * @return
     110      *     possible object is
     111      *     {@link String }
     112      *
     113      */
     114     public String getActual() {
     115         return actual;
     116     }
     117
     118         /**
     119      * Gets the value of the expected property.
     120      *
     121      * @return
     122      *     possible object is
     123      *     {@link String }
     124      *
     125      */
     126     public String getExpected() {
     127         return expected;
     128     }
     129     LinkedHashMap<String, String> getItemAttributes() {
     130                 return xmlAttributes;
     131         }
     132
     133         LinkedHashMap<String, String> getItemElements() {
     134                 return xmlElements;
     135         }
     136
     137     String getItemTagName() {
     138                 return xmlTagName;
     139         }
     140
     141     /**
     142      * Gets the value of the value property.
     143      *
     144      * @return
     145      *     possible object is
     146      *     {@link String }
     147      *
     148      */
     149     public String getValue() {
     150         return value;
     151     }
     152
     153     /**

< prev index next >