org.plasma.sdo.access.provider.jdo.Inheritance Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.10.17 at 11:26:33 AM EDT
//
package org.plasma.sdo.access.provider.jdo;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}join" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}discriminator" minOccurs="0"/>
* <element ref="{http://java.sun.com/xml/ns/jdo/jdo}extension" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attGroup ref="{http://java.sun.com/xml/ns/jdo/jdo}attlist.inheritance"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"join",
"discriminator",
"extensions"
})
@XmlRootElement(name = "inheritance")
public class Inheritance {
protected Join join;
protected Discriminator discriminator;
@XmlElement(name = "extension")
protected List extensions;
@XmlAttribute(name = "strategy")
@XmlSchemaType(name = "anySimpleType")
protected String strategy;
/**
* Gets the value of the join property.
*
* @return
* possible object is
* {@link Join }
*
*/
public Join getJoin() {
return join;
}
/**
* Sets the value of the join property.
*
* @param value
* allowed object is
* {@link Join }
*
*/
public void setJoin(Join value) {
this.join = value;
}
/**
* Gets the value of the discriminator property.
*
* @return
* possible object is
* {@link Discriminator }
*
*/
public Discriminator getDiscriminator() {
return discriminator;
}
/**
* Sets the value of the discriminator property.
*
* @param value
* allowed object is
* {@link Discriminator }
*
*/
public void setDiscriminator(Discriminator value) {
this.discriminator = value;
}
/**
* Gets the value of the extensions 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 extensions property.
*
*
* For example, to add a new item, do as follows:
*
* getExtensions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension }
*
*
*/
public List getExtensions() {
if (extensions == null) {
extensions = new ArrayList();
}
return this.extensions;
}
/**
* Gets the value of the strategy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getStrategy() {
return strategy;
}
/**
* Sets the value of the strategy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStrategy(String value) {
this.strategy = value;
}
}