org.hibernate.internal.jaxb.mapping.hbm
Class JaxbComponentElement

java.lang.Object
  extended by org.hibernate.internal.jaxb.mapping.hbm.JaxbComponentElement

public class JaxbComponentElement
extends Object

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>
 


Field Summary
protected  String access
           
protected  String clazz
           
protected  Boolean insert
           
protected  Boolean lazy
           
protected  List<JaxbMetaElement> meta
           
protected  String name
           
protected  String node
           
protected  Boolean optimisticLock
           
protected  JaxbParentElement parent
           
protected  List<Object> propertyOrManyToOneOrOneToOne
           
protected  List<JaxbTuplizerElement> tuplizer
           
protected  Boolean unique
           
protected  Boolean update
           
 
Constructor Summary
JaxbComponentElement()
           
 
Method Summary
 String getAccess()
          Gets the value of the access property.
 String getClazz()
          Gets the value of the clazz property.
 List<JaxbMetaElement> getMeta()
          Gets the value of the meta property.
 String getName()
          Gets the value of the name property.
 String getNode()
          Gets the value of the node property.
 JaxbParentElement getParent()
          Gets the value of the parent property.
 List<Object> getPropertyOrManyToOneOrOneToOne()
          Gets the value of the propertyOrManyToOneOrOneToOne property.
 List<JaxbTuplizerElement> getTuplizer()
          Gets the value of the tuplizer property.
 boolean isInsert()
          Gets the value of the insert property.
 boolean isLazy()
          Gets the value of the lazy property.
 boolean isOptimisticLock()
          Gets the value of the optimisticLock property.
 boolean isUnique()
          Gets the value of the unique property.
 boolean isUpdate()
          Gets the value of the update property.
 void setAccess(String value)
          Sets the value of the access property.
 void setClazz(String value)
          Sets the value of the clazz property.
 void setInsert(Boolean value)
          Sets the value of the insert property.
 void setLazy(Boolean value)
          Sets the value of the lazy property.
 void setName(String value)
          Sets the value of the name property.
 void setNode(String value)
          Sets the value of the node property.
 void setOptimisticLock(Boolean value)
          Sets the value of the optimisticLock property.
 void setParent(JaxbParentElement value)
          Sets the value of the parent property.
 void setUnique(Boolean value)
          Sets the value of the unique property.
 void setUpdate(Boolean value)
          Sets the value of the update property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

meta

protected List<JaxbMetaElement> meta

tuplizer

protected List<JaxbTuplizerElement> tuplizer

parent

protected JaxbParentElement parent

propertyOrManyToOneOrOneToOne

protected List<Object> propertyOrManyToOneOrOneToOne

access

protected String access

clazz

protected String clazz

insert

protected Boolean insert

lazy

protected Boolean lazy

name

protected String name

node

protected String node

optimisticLock

protected Boolean optimisticLock

unique

protected Boolean unique

update

protected Boolean update
Constructor Detail

JaxbComponentElement

public JaxbComponentElement()
Method Detail

getMeta

public List<JaxbMetaElement> getMeta()
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 JaxbMetaElement


getTuplizer

public List<JaxbTuplizerElement> getTuplizer()
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 JaxbTuplizerElement


getParent

public JaxbParentElement getParent()
Gets the value of the parent property.

Returns:
possible object is JaxbParentElement

setParent

public void setParent(JaxbParentElement value)
Sets the value of the parent property.

Parameters:
value - allowed object is JaxbParentElement

getPropertyOrManyToOneOrOneToOne

public List<Object> getPropertyOrManyToOneOrOneToOne()
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 JaxbMapElement JaxbListElement JaxbPropertyElement JaxbBagElement JaxbPrimitiveArrayElement JaxbArrayElement JaxbSetElement JaxbComponentElement JaxbAnyElement JaxbDynamicComponentElement JaxbManyToOneElement JaxbOneToOneElement


getAccess

public String getAccess()
Gets the value of the access property.

Returns:
possible object is String

setAccess

public void setAccess(String value)
Sets the value of the access property.

Parameters:
value - allowed object is String

getClazz

public String getClazz()
Gets the value of the clazz property.

Returns:
possible object is String

setClazz

public void setClazz(String value)
Sets the value of the clazz property.

Parameters:
value - allowed object is String

isInsert

public boolean isInsert()
Gets the value of the insert property.

Returns:
possible object is Boolean

setInsert

public void setInsert(Boolean value)
Sets the value of the insert property.

Parameters:
value - allowed object is Boolean

isLazy

public boolean isLazy()
Gets the value of the lazy property.

Returns:
possible object is Boolean

setLazy

public void setLazy(Boolean value)
Sets the value of the lazy property.

Parameters:
value - allowed object is Boolean

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getNode

public String getNode()
Gets the value of the node property.

Returns:
possible object is String

setNode

public void setNode(String value)
Sets the value of the node property.

Parameters:
value - allowed object is String

isOptimisticLock

public boolean isOptimisticLock()
Gets the value of the optimisticLock property.

Returns:
possible object is Boolean

setOptimisticLock

public void setOptimisticLock(Boolean value)
Sets the value of the optimisticLock property.

Parameters:
value - allowed object is Boolean

isUnique

public boolean isUnique()
Gets the value of the unique property.

Returns:
possible object is Boolean

setUnique

public void setUnique(Boolean value)
Sets the value of the unique property.

Parameters:
value - allowed object is Boolean

isUpdate

public boolean isUpdate()
Gets the value of the update property.

Returns:
possible object is Boolean

setUpdate

public void setUpdate(Boolean value)
Sets the value of the update property.

Parameters:
value - allowed object is Boolean


Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.