Coverage Report - yarfraw.generated.mrss.elements.MrssRestrictionType
 
Classes in this File Line Coverage Branch Coverage Complexity
MrssRestrictionType
70% 
N/A 
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:45 AM EDT 
 6  
 //
 7  
 
 8  
 
 9  
 package yarfraw.generated.mrss.elements;
 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.XmlType;
 15  
 import javax.xml.bind.annotation.XmlValue;
 16  
 
 17  
 
 18  
 /**
 19  
  * <p>Java class for mrssRestrictionType complex type.
 20  
  * 
 21  
  * <p>The following schema fragment specifies the expected content contained within this class.
 22  
  * 
 23  
  * <pre>
 24  
  * &lt;complexType name="mrssRestrictionType">
 25  
  *   &lt;simpleContent>
 26  
  *     &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
 27  
  *       &lt;attribute name="relationship" use="required">
 28  
  *         &lt;simpleType>
 29  
  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 30  
  *             &lt;enumeration value="allow"/>
 31  
  *             &lt;enumeration value="deny"/>
 32  
  *           &lt;/restriction>
 33  
  *         &lt;/simpleType>
 34  
  *       &lt;/attribute>
 35  
  *       &lt;attribute name="type">
 36  
  *         &lt;simpleType>
 37  
  *           &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
 38  
  *             &lt;enumeration value="country"/>
 39  
  *             &lt;enumeration value="uri"/>
 40  
  *           &lt;/restriction>
 41  
  *         &lt;/simpleType>
 42  
  *       &lt;/attribute>
 43  
  *     &lt;/extension>
 44  
  *   &lt;/simpleContent>
 45  
  * &lt;/complexType>
 46  
  * </pre>
 47  
  * 
 48  
  * 
 49  
  */
 50  
 @XmlAccessorType(XmlAccessType.FIELD)
 51  
 @XmlType(name = "mrssRestrictionType", propOrder = {
 52  
     "value"
 53  
 })
 54  12
 public class MrssRestrictionType {
 55  
 
 56  
     @XmlValue
 57  
     protected String value;
 58  
     @XmlAttribute(required = true)
 59  
     protected String relationship;
 60  
     @XmlAttribute
 61  
     protected String type;
 62  
 
 63  
     /**
 64  
      * Gets the value of the value property.
 65  
      * 
 66  
      * @return
 67  
      *     possible object is
 68  
      *     {@link String }
 69  
      *     
 70  
      */
 71  
     public String getValue() {
 72  0
         return value;
 73  
     }
 74  
 
 75  
     /**
 76  
      * Sets the value of the value property.
 77  
      * 
 78  
      * @param value
 79  
      *     allowed object is
 80  
      *     {@link String }
 81  
      *     
 82  
      */
 83  
     public void setValue(String value) {
 84  3
         this.value = value;
 85  3
     }
 86  
 
 87  
     /**
 88  
      * Gets the value of the relationship property.
 89  
      * 
 90  
      * @return
 91  
      *     possible object is
 92  
      *     {@link String }
 93  
      *     
 94  
      */
 95  
     public String getRelationship() {
 96  0
         return relationship;
 97  
     }
 98  
 
 99  
     /**
 100  
      * Sets the value of the relationship property.
 101  
      * 
 102  
      * @param value
 103  
      *     allowed object is
 104  
      *     {@link String }
 105  
      *     
 106  
      */
 107  
     public void setRelationship(String value) {
 108  3
         this.relationship = value;
 109  3
     }
 110  
 
 111  
     /**
 112  
      * Gets the value of the type property.
 113  
      * 
 114  
      * @return
 115  
      *     possible object is
 116  
      *     {@link String }
 117  
      *     
 118  
      */
 119  
     public String getType() {
 120  0
         return type;
 121  
     }
 122  
 
 123  
     /**
 124  
      * Sets the value of the type property.
 125  
      * 
 126  
      * @param value
 127  
      *     allowed object is
 128  
      *     {@link String }
 129  
      *     
 130  
      */
 131  
     public void setType(String value) {
 132  3
         this.type = value;
 133  3
     }
 134  
 
 135  
 }