| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||||||
| Properties |
|
| 0.0;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 java.util.ArrayList; |
|
| 12 | import java.util.List; |
|
| 13 | import javax.xml.bind.annotation.XmlAccessType; |
|
| 14 | import javax.xml.bind.annotation.XmlAccessorType; |
|
| 15 | import javax.xml.bind.annotation.XmlElement; |
|
| 16 | import javax.xml.bind.annotation.XmlRootElement; |
|
| 17 | import javax.xml.bind.annotation.XmlType; |
|
| 18 | ||
| 19 | ||
| 20 | /** |
|
| 21 | * <p>Java class for properties element declaration. |
|
| 22 | * |
|
| 23 | * <p>The following schema fragment specifies the expected content contained within this class. |
|
| 24 | * |
|
| 25 | * <pre> |
|
| 26 | * <element name="properties"> |
|
| 27 | * <complexType> |
|
| 28 | * <complexContent> |
|
| 29 | * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> |
|
| 30 | * <sequence maxOccurs="unbounded" minOccurs="0"> |
|
| 31 | * <element ref="{http://www.xmlhammer.org/2007/jaxp}property"/> |
|
| 32 | * </sequence> |
|
| 33 | * </restriction> |
|
| 34 | * </complexContent> |
|
| 35 | * </complexType> |
|
| 36 | * </element> |
|
| 37 | * </pre> |
|
| 38 | * |
|
| 39 | * |
|
| 40 | */ |
|
| 41 | @XmlAccessorType(XmlAccessType.FIELD) |
|
| 42 | @XmlType(name = "", propOrder = { |
|
| 43 | "property" |
|
| 44 | }) |
|
| 45 | @XmlRootElement(name = "properties") |
|
| 46 | 1892 | public class Properties { |
| 47 | ||
| 48 | @XmlElement(namespace = "http://www.xmlhammer.org/2007/jaxp", required = true) |
|
| 49 | protected List<Property> property; |
|
| 50 | ||
| 51 | /** |
|
| 52 | * Gets the value of the property property. |
|
| 53 | * |
|
| 54 | * <p> |
|
| 55 | * This accessor method returns a reference to the live list, |
|
| 56 | * not a snapshot. Therefore any modification you make to the |
|
| 57 | * returned list will be present inside the JAXB object. |
|
| 58 | * This is why there is not a <CODE>set</CODE> method for the property property. |
|
| 59 | * |
|
| 60 | * <p> |
|
| 61 | * For example, to add a new item, do as follows: |
|
| 62 | * <pre> |
|
| 63 | * getProperty().add(newItem); |
|
| 64 | * </pre> |
|
| 65 | * |
|
| 66 | * |
|
| 67 | * <p> |
|
| 68 | * Objects of the following type(s) are allowed in the list |
|
| 69 | * {@link Property } |
|
| 70 | * |
|
| 71 | * |
|
| 72 | */ |
|
| 73 | public List<Property> getProperty() { |
|
| 74 | 1034 | if (property == null) { |
| 75 | 692 | property = new ArrayList<Property>(); |
| 76 | } |
|
| 77 | 1034 | return this.property; |
| 78 | } |
|
| 79 | ||
| 80 | } |