All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.hibernate.internal.jaxb.mapping.hbm.JaxbComponentElement Maven / Gradle / Ivy
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-520
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.05.22 at 01:35:13 PM EDT
//
package org.hibernate.internal.jaxb.mapping.hbm;
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.XmlType;
/**
* Java class for component-element complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="component-element">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="meta" type="{http://www.hibernate.org/xsd/hibernate-mapping}meta-element" maxOccurs="unbounded" minOccurs="0"/>
* <element name="tuplizer" type="{http://www.hibernate.org/xsd/hibernate-mapping}tuplizer-element" maxOccurs="unbounded" minOccurs="0"/>
* <element name="parent" type="{http://www.hibernate.org/xsd/hibernate-mapping}parent-element" minOccurs="0"/>
* <choice maxOccurs="unbounded" minOccurs="0">
* <element name="property" type="{http://www.hibernate.org/xsd/hibernate-mapping}property-element"/>
* <element name="many-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}many-to-one-element"/>
* <element name="one-to-one" type="{http://www.hibernate.org/xsd/hibernate-mapping}one-to-one-element"/>
* <element name="component" type="{http://www.hibernate.org/xsd/hibernate-mapping}component-element"/>
* <element name="dynamic-component" type="{http://www.hibernate.org/xsd/hibernate-mapping}dynamic-component-element"/>
* <element name="any" type="{http://www.hibernate.org/xsd/hibernate-mapping}any-element"/>
* <element name="map" type="{http://www.hibernate.org/xsd/hibernate-mapping}map-element"/>
* <element name="set" type="{http://www.hibernate.org/xsd/hibernate-mapping}set-element"/>
* <element name="list" type="{http://www.hibernate.org/xsd/hibernate-mapping}list-element"/>
* <element name="bag" type="{http://www.hibernate.org/xsd/hibernate-mapping}bag-element"/>
* <element name="array" type="{http://www.hibernate.org/xsd/hibernate-mapping}array-element"/>
* <element name="primitive-array" type="{http://www.hibernate.org/xsd/hibernate-mapping}primitive-array-element"/>
* </choice>
* </sequence>
* <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="insert" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="lazy" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="optimistic-lock" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* <attribute name="unique" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* <attribute name="update" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "component-element", propOrder = {
"meta",
"tuplizer",
"parent",
"propertyOrManyToOneOrOneToOne"
})
public class JaxbComponentElement {
protected List meta;
protected List tuplizer;
protected JaxbParentElement parent;
@XmlElements({
@XmlElement(name = "list", type = JaxbListElement.class),
@XmlElement(name = "map", type = JaxbMapElement.class),
@XmlElement(name = "many-to-one", type = JaxbManyToOneElement.class),
@XmlElement(name = "set", type = JaxbSetElement.class),
@XmlElement(name = "one-to-one", type = JaxbOneToOneElement.class),
@XmlElement(name = "bag", type = JaxbBagElement.class),
@XmlElement(name = "component", type = JaxbComponentElement.class),
@XmlElement(name = "property", type = JaxbPropertyElement.class),
@XmlElement(name = "dynamic-component", type = JaxbDynamicComponentElement.class),
@XmlElement(name = "primitive-array", type = JaxbPrimitiveArrayElement.class),
@XmlElement(name = "array", type = JaxbArrayElement.class),
@XmlElement(name = "any", type = JaxbAnyElement.class)
})
protected List propertyOrManyToOneOrOneToOne;
@XmlAttribute
protected String access;
@XmlAttribute(name = "class")
protected String clazz;
@XmlAttribute
protected Boolean insert;
@XmlAttribute
protected Boolean lazy;
@XmlAttribute(required = true)
protected String name;
@XmlAttribute
protected String node;
@XmlAttribute(name = "optimistic-lock")
protected Boolean optimisticLock;
@XmlAttribute
protected Boolean unique;
@XmlAttribute
protected Boolean update;
/**
* 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 JaxbMetaElement }
*
*
*/
public List getMeta() {
if (meta == null) {
meta = new ArrayList();
}
return this.meta;
}
/**
* Gets the value of the tuplizer 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 tuplizer property.
*
*
* For example, to add a new item, do as follows:
*
* getTuplizer().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbTuplizerElement }
*
*
*/
public List getTuplizer() {
if (tuplizer == null) {
tuplizer = new ArrayList();
}
return this.tuplizer;
}
/**
* Gets the value of the parent property.
*
* @return
* possible object is
* {@link JaxbParentElement }
*
*/
public JaxbParentElement getParent() {
return parent;
}
/**
* Sets the value of the parent property.
*
* @param value
* allowed object is
* {@link JaxbParentElement }
*
*/
public void setParent(JaxbParentElement value) {
this.parent = value;
}
/**
* Gets the value of the propertyOrManyToOneOrOneToOne 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 propertyOrManyToOneOrOneToOne property.
*
*
* For example, to add a new item, do as follows:
*
* getPropertyOrManyToOneOrOneToOne().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JaxbListElement }
* {@link JaxbMapElement }
* {@link JaxbManyToOneElement }
* {@link JaxbSetElement }
* {@link JaxbOneToOneElement }
* {@link JaxbBagElement }
* {@link JaxbComponentElement }
* {@link JaxbPropertyElement }
* {@link JaxbDynamicComponentElement }
* {@link JaxbPrimitiveArrayElement }
* {@link JaxbArrayElement }
* {@link JaxbAnyElement }
*
*
*/
public List getPropertyOrManyToOneOrOneToOne() {
if (propertyOrManyToOneOrOneToOne == null) {
propertyOrManyToOneOrOneToOne = new ArrayList();
}
return this.propertyOrManyToOneOrOneToOne;
}
/**
* Gets the value of the access property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAccess() {
return access;
}
/**
* Sets the value of the access property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAccess(String value) {
this.access = value;
}
/**
* 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 insert property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isInsert() {
if (insert == null) {
return true;
} else {
return insert;
}
}
/**
* Sets the value of the insert property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInsert(Boolean value) {
this.insert = value;
}
/**
* Gets the value of the lazy property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isLazy() {
if (lazy == null) {
return false;
} else {
return lazy;
}
}
/**
* Sets the value of the lazy property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setLazy(Boolean value) {
this.lazy = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = 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 optimisticLock property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isOptimisticLock() {
if (optimisticLock == null) {
return true;
} else {
return optimisticLock;
}
}
/**
* Sets the value of the optimisticLock property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOptimisticLock(Boolean value) {
this.optimisticLock = value;
}
/**
* Gets the value of the unique property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isUnique() {
if (unique == null) {
return false;
} else {
return unique;
}
}
/**
* Sets the value of the unique property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUnique(Boolean value) {
this.unique = value;
}
/**
* Gets the value of the update property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isUpdate() {
if (update == null) {
return true;
} else {
return update;
}
}
/**
* Sets the value of the update property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setUpdate(Boolean value) {
this.update = value;
}
}