Coverage Report - net.opengis.gml.StringOrRefType
 
Classes in this File Line Coverage Branch Coverage Complexity
StringOrRefType
0% 
0% 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
 3  
 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
 4  
 // Any modifications to this file will be lost upon recompilation of the source schema. 
 5  
 // Generated on: 2008.06.11 at 12:15:46 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package net.opengis.gml;
 10  
 
 11  
 import javax.xml.bind.annotation.XmlAccessType;
 12  
 import javax.xml.bind.annotation.XmlAccessorType;
 13  
 import javax.xml.bind.annotation.XmlAttribute;
 14  
 import javax.xml.bind.annotation.XmlSchemaType;
 15  
 import javax.xml.bind.annotation.XmlType;
 16  
 import javax.xml.bind.annotation.XmlValue;
 17  
 
 18  
 
 19  
 /**
 20  
  * 
 21  
  * This type is available wherever there is a need for a "text" type property. It is of string type, so the text can be included inline, but the value can also be referenced remotely via xlinks from the AssociationAttributeGroup. If the remote reference is present, then the value obtained by traversing the link should be used, and the string content of the element can be used for an annotation.  
 22  
  * 
 23  
  * <p>Java class for StringOrRefType complex type.
 24  
  * 
 25  
  * <p>The following schema fragment specifies the expected content contained within this class.
 26  
  * 
 27  
  * <pre>
 28  
  * &lt;complexType name="StringOrRefType">
 29  
  *   &lt;simpleContent>
 30  
  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 31  
  *       &lt;attGroup ref="{http://www.opengis.net/gml}AssociationAttributeGroup"/>
 32  
  *     &lt;/extension>
 33  
  *   &lt;/simpleContent>
 34  
  * &lt;/complexType>
 35  
  * </pre>
 36  
  * 
 37  
  * 
 38  
  */
 39  
 @XmlAccessorType(XmlAccessType.FIELD)
 40  
 @XmlType(name = "StringOrRefType", propOrder = {
 41  
     "value"
 42  
 })
 43  0
 public class StringOrRefType {
 44  
 
 45  
     @XmlValue
 46  
     protected String value;
 47  
     @XmlAttribute(namespace = "http://www.opengis.net/gml")
 48  
     @XmlSchemaType(name = "anyURI")
 49  
     protected String remoteSchema;
 50  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 51  
     protected String type;
 52  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 53  
     @XmlSchemaType(name = "anyURI")
 54  
     protected String href;
 55  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 56  
     @XmlSchemaType(name = "anyURI")
 57  
     protected String role;
 58  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 59  
     @XmlSchemaType(name = "anyURI")
 60  
     protected String arcrole;
 61  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 62  
     protected String title;
 63  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 64  
     protected String show;
 65  
     @XmlAttribute(namespace = "http://www.w3.org/1999/xlink")
 66  
     protected String actuate;
 67  
 
 68  
     /**
 69  
      * Gets the value of the value property.
 70  
      * 
 71  
      * @return
 72  
      *     possible object is
 73  
      *     {@link String }
 74  
      *     
 75  
      */
 76  
     public String getValue() {
 77  0
         return value;
 78  
     }
 79  
 
 80  
     /**
 81  
      * Sets the value of the value property.
 82  
      * 
 83  
      * @param value
 84  
      *     allowed object is
 85  
      *     {@link String }
 86  
      *     
 87  
      */
 88  
     public void setValue(String value) {
 89  0
         this.value = value;
 90  0
     }
 91  
 
 92  
     /**
 93  
      * Gets the value of the remoteSchema property.
 94  
      * 
 95  
      * @return
 96  
      *     possible object is
 97  
      *     {@link String }
 98  
      *     
 99  
      */
 100  
     public String getRemoteSchema() {
 101  0
         return remoteSchema;
 102  
     }
 103  
 
 104  
     /**
 105  
      * Sets the value of the remoteSchema property.
 106  
      * 
 107  
      * @param value
 108  
      *     allowed object is
 109  
      *     {@link String }
 110  
      *     
 111  
      */
 112  
     public void setRemoteSchema(String value) {
 113  0
         this.remoteSchema = value;
 114  0
     }
 115  
 
 116  
     /**
 117  
      * Gets the value of the type property.
 118  
      * 
 119  
      * @return
 120  
      *     possible object is
 121  
      *     {@link String }
 122  
      *     
 123  
      */
 124  
     public String getType() {
 125  0
         if (type == null) {
 126  0
             return "simple";
 127  
         } else {
 128  0
             return type;
 129  
         }
 130  
     }
 131  
 
 132  
     /**
 133  
      * Sets the value of the type property.
 134  
      * 
 135  
      * @param value
 136  
      *     allowed object is
 137  
      *     {@link String }
 138  
      *     
 139  
      */
 140  
     public void setType(String value) {
 141  0
         this.type = value;
 142  0
     }
 143  
 
 144  
     /**
 145  
      * Gets the value of the href property.
 146  
      * 
 147  
      * @return
 148  
      *     possible object is
 149  
      *     {@link String }
 150  
      *     
 151  
      */
 152  
     public String getHref() {
 153  0
         return href;
 154  
     }
 155  
 
 156  
     /**
 157  
      * Sets the value of the href property.
 158  
      * 
 159  
      * @param value
 160  
      *     allowed object is
 161  
      *     {@link String }
 162  
      *     
 163  
      */
 164  
     public void setHref(String value) {
 165  0
         this.href = value;
 166  0
     }
 167  
 
 168  
     /**
 169  
      * Gets the value of the role property.
 170  
      * 
 171  
      * @return
 172  
      *     possible object is
 173  
      *     {@link String }
 174  
      *     
 175  
      */
 176  
     public String getRole() {
 177  0
         return role;
 178  
     }
 179  
 
 180  
     /**
 181  
      * Sets the value of the role property.
 182  
      * 
 183  
      * @param value
 184  
      *     allowed object is
 185  
      *     {@link String }
 186  
      *     
 187  
      */
 188  
     public void setRole(String value) {
 189  0
         this.role = value;
 190  0
     }
 191  
 
 192  
     /**
 193  
      * Gets the value of the arcrole property.
 194  
      * 
 195  
      * @return
 196  
      *     possible object is
 197  
      *     {@link String }
 198  
      *     
 199  
      */
 200  
     public String getArcrole() {
 201  0
         return arcrole;
 202  
     }
 203  
 
 204  
     /**
 205  
      * Sets the value of the arcrole property.
 206  
      * 
 207  
      * @param value
 208  
      *     allowed object is
 209  
      *     {@link String }
 210  
      *     
 211  
      */
 212  
     public void setArcrole(String value) {
 213  0
         this.arcrole = value;
 214  0
     }
 215  
 
 216  
     /**
 217  
      * Gets the value of the title property.
 218  
      * 
 219  
      * @return
 220  
      *     possible object is
 221  
      *     {@link String }
 222  
      *     
 223  
      */
 224  
     public String getTitle() {
 225  0
         return title;
 226  
     }
 227  
 
 228  
     /**
 229  
      * Sets the value of the title property.
 230  
      * 
 231  
      * @param value
 232  
      *     allowed object is
 233  
      *     {@link String }
 234  
      *     
 235  
      */
 236  
     public void setTitle(String value) {
 237  0
         this.title = value;
 238  0
     }
 239  
 
 240  
     /**
 241  
      * Gets the value of the show property.
 242  
      * 
 243  
      * @return
 244  
      *     possible object is
 245  
      *     {@link String }
 246  
      *     
 247  
      */
 248  
     public String getShow() {
 249  0
         return show;
 250  
     }
 251  
 
 252  
     /**
 253  
      * Sets the value of the show property.
 254  
      * 
 255  
      * @param value
 256  
      *     allowed object is
 257  
      *     {@link String }
 258  
      *     
 259  
      */
 260  
     public void setShow(String value) {
 261  0
         this.show = value;
 262  0
     }
 263  
 
 264  
     /**
 265  
      * Gets the value of the actuate property.
 266  
      * 
 267  
      * @return
 268  
      *     possible object is
 269  
      *     {@link String }
 270  
      *     
 271  
      */
 272  
     public String getActuate() {
 273  0
         return actuate;
 274  
     }
 275  
 
 276  
     /**
 277  
      * Sets the value of the actuate property.
 278  
      * 
 279  
      * @param value
 280  
      *     allowed object is
 281  
      *     {@link String }
 282  
      *     
 283  
      */
 284  
     public void setActuate(String value) {
 285  0
         this.actuate = value;
 286  0
     }
 287  
 
 288  
 }