Coverage Report - org.xmlhammer.model.jaxp.Activatable
 
Classes in this File Line Coverage Branch Coverage Complexity
Activatable
100% 
100% 
0
 
 1  
 //
 2  
 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-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: 2007.09.26 at 09:37:45 PM IST 
 6  
 //
 7  
 
 8  
 
 9  
 package org.xmlhammer.model.jaxp;
 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  
 
 16  
 
 17  
 /**
 18  
  * <p>Java class for activatable complex type.
 19  
  * 
 20  
  * <p>The following schema fragment specifies the expected content contained within this class.
 21  
  * 
 22  
  * <pre>
 23  
  * &lt;complexType name="activatable">
 24  
  *   &lt;complexContent>
 25  
  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 26  
  *       &lt;attribute name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
 27  
  *     &lt;/restriction>
 28  
  *   &lt;/complexContent>
 29  
  * &lt;/complexType>
 30  
  * </pre>
 31  
  * 
 32  
  * 
 33  
  */
 34  
 @XmlAccessorType(XmlAccessType.FIELD)
 35  
 @XmlType(name = "activatable")
 36  34144
 public class Activatable {
 37  
 
 38  
     @XmlAttribute
 39  
     protected Boolean active;
 40  
 
 41  
     /**
 42  
      * Gets the value of the active property.
 43  
      * 
 44  
      * @return
 45  
      *     possible object is
 46  
      *     {@link Boolean }
 47  
      *     
 48  
      */
 49  
     public boolean isActive() {
 50  13494
         if (active == null) {
 51  12988
             return true;
 52  
         } else {
 53  506
             return active;
 54  
         }
 55  
     }
 56  
 
 57  
     /**
 58  
      * Sets the value of the active property.
 59  
      * 
 60  
      * @param value
 61  
      *     allowed object is
 62  
      *     {@link Boolean }
 63  
      *     
 64  
      */
 65  
     public void setActive(Boolean value) {
 66  858
         this.active = value;
 67  858
     }
 68  
 
 69  
 }