View Javadoc
1   /**
2    * This Source Code Form is subject to the terms of the Mozilla Public
3    * License, v. 2.0. If a copy of the MPL was not distributed with this
4    * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5    *
6    * If it is not possible or desirable to put the notice in a particular
7    * file, then You may include the notice in a location (such as a LICENSE
8    * file in a relevant directory) where a recipient would be likely to look
9    * for such a notice.
10  
11   * 
12   */
13   
14  /*  ---------------------------------------------------------------------------
15   *  U.S. Government, Department of the Army
16   *  Army Materiel Command
17   *  Research Development Engineering Command
18   *  Communications Electronics Research Development and Engineering Center
19   *  ---------------------------------------------------------------------------
20   */
21  
22  package org.oasis_open.docs.wsdm.mows_2;
23  
24  import javax.xml.bind.annotation.XmlAccessType;
25  import javax.xml.bind.annotation.XmlAccessorType;
26  import javax.xml.bind.annotation.XmlAttribute;
27  import javax.xml.bind.annotation.XmlSchemaType;
28  import javax.xml.bind.annotation.XmlType;
29  import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
30  import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
31  import javax.xml.namespace.QName;
32  
33  
34  /**
35   * <p>Java class for OperationDurationMetric complex type.
36   * 
37   * <p>The following schema fragment specifies the expected content contained within this class.
38   * 
39   * <pre>
40   * &lt;complexType name="OperationDurationMetric">
41   *   &lt;simpleContent>
42   *     &lt;extension base="&lt;http://docs.oasis-open.org/wsdm/mows-2.xsd>DurationMetric">
43   *       &lt;attGroup ref="{http://docs.oasis-open.org/wsdm/mows-2.xsd}OperationNameGroup"/>
44   *     &lt;/extension>
45   *   &lt;/simpleContent>
46   * &lt;/complexType>
47   * </pre>
48   * 
49   * 
50   */
51  @XmlAccessorType(XmlAccessType.FIELD)
52  @XmlType(name = "OperationDurationMetric")
53  public class OperationDurationMetric
54      extends DurationMetric
55  {
56  
57      @XmlAttribute(required = true)
58      @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
59      @XmlSchemaType(name = "NCName")
60      protected String operationName;
61      @XmlAttribute
62      protected QName portType;
63  
64      /**
65       * Gets the value of the operationName property.
66       * 
67       * @return
68       *     possible object is
69       *     {@link String }
70       *     
71       */
72      public String getOperationName() {
73          return operationName;
74      }
75  
76      /**
77       * Sets the value of the operationName property.
78       * 
79       * @param value
80       *     allowed object is
81       *     {@link String }
82       *     
83       */
84      public void setOperationName(String value) {
85          this.operationName = value;
86      }
87  
88      /**
89       * Gets the value of the portType property.
90       * 
91       * @return
92       *     possible object is
93       *     {@link QName }
94       *     
95       */
96      public QName getPortType() {
97          return portType;
98      }
99  
100     /**
101      * Sets the value of the portType property.
102      * 
103      * @param value
104      *     allowed object is
105      *     {@link QName }
106      *     
107      */
108     public void setPortType(QName value) {
109         this.portType = value;
110     }
111 
112 }