All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jvnet.hyperjaxb3.hibernate.mapping.CompositeElement Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.2-b01-fcs 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2007.01.30 at 01:23:09 PM CET 
//


package org.jvnet.hyperjaxb3.hibernate.mapping;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElements;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "meta",
    "parent",
    "propertyOrManyToOneOrAnyOrNestedCompositeElement"
})
@XmlRootElement(name = "composite-element")
public class CompositeElement {

    @XmlAttribute(name = "class", required = true)
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String clazz;
    @XmlAttribute
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String node;
    protected List meta;
    protected Parent parent;
    @XmlElements({
        @XmlElement(name = "property", type = Property.class),
        @XmlElement(name = "many-to-one", type = ManyToOne.class),
        @XmlElement(name = "any", type = Any.class),
        @XmlElement(name = "nested-composite-element", type = NestedCompositeElement.class)
    })
    protected List propertyOrManyToOneOrAnyOrNestedCompositeElement;

    /**
     * Gets the value of the clazz property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getClazz() {
        return clazz;
    }

    /**
     * Sets the value of the clazz property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setClazz(String value) {
        this.clazz = value;
    }

    /**
     * Gets the value of the node property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNode() {
        return node;
    }

    /**
     * Sets the value of the node property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setNode(String value) {
        this.node = value;
    }

    /**
     * Gets the value of the meta property.
     * 
     * 

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the meta property. * *

* For example, to add a new item, do as follows: *

     *    getMeta().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Meta } * * */ public List getMeta() { if (meta == null) { meta = new ArrayList(); } return this.meta; } /** * Gets the value of the parent property. * * @return * possible object is * {@link Parent } * */ public Parent getParent() { return parent; } /** * Sets the value of the parent property. * * @param value * allowed object is * {@link Parent } * */ public void setParent(Parent value) { this.parent = value; } /** * Gets the value of the propertyOrManyToOneOrAnyOrNestedCompositeElement property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the propertyOrManyToOneOrAnyOrNestedCompositeElement property. * *

* For example, to add a new item, do as follows: *

     *    getPropertyOrManyToOneOrAnyOrNestedCompositeElement().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Property } * {@link ManyToOne } * {@link Any } * {@link NestedCompositeElement } * * */ public List getPropertyOrManyToOneOrAnyOrNestedCompositeElement() { if (propertyOrManyToOneOrAnyOrNestedCompositeElement == null) { propertyOrManyToOneOrAnyOrNestedCompositeElement = new ArrayList(); } return this.propertyOrManyToOneOrAnyOrNestedCompositeElement; } }