Class JaxbAttributesContainerImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbAttributesContainerImpl
All Implemented Interfaces:
Serializable, JaxbAttributesContainer, JaxbBaseAttributesContainer

public class JaxbAttributesContainerImpl extends Object implements Serializable, JaxbAttributesContainer
This element contains the entity field or property mappings. It may be sparsely populated to include only a subset of the fields or properties. If metadata-complete for the entity is true then the remainder of the attributes will be defaulted according to the default rules.

Java class for attributes complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="attributes">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <choice>
           <element name="id" type="{http://www.hibernate.org/xsd/orm/mapping}id" maxOccurs="unbounded" minOccurs="0"/>
           <element name="embedded-id" type="{http://www.hibernate.org/xsd/orm/mapping}embedded-id" minOccurs="0"/>
         </choice>
         <element name="natural-id" type="{http://www.hibernate.org/xsd/orm/mapping}natural-id" minOccurs="0"/>
         <element name="basic" type="{http://www.hibernate.org/xsd/orm/mapping}basic" maxOccurs="unbounded" minOccurs="0"/>
         <element name="version" type="{http://www.hibernate.org/xsd/orm/mapping}version" minOccurs="0"/>
         <element name="many-to-one" type="{http://www.hibernate.org/xsd/orm/mapping}many-to-one" maxOccurs="unbounded" minOccurs="0"/>
         <element name="one-to-many" type="{http://www.hibernate.org/xsd/orm/mapping}one-to-many" maxOccurs="unbounded" minOccurs="0"/>
         <element name="one-to-one" type="{http://www.hibernate.org/xsd/orm/mapping}one-to-one" maxOccurs="unbounded" minOccurs="0"/>
         <element name="many-to-many" type="{http://www.hibernate.org/xsd/orm/mapping}many-to-many" maxOccurs="unbounded" minOccurs="0"/>
         <element name="element-collection" type="{http://www.hibernate.org/xsd/orm/mapping}element-collection" maxOccurs="unbounded" minOccurs="0"/>
         <element name="embedded" type="{http://www.hibernate.org/xsd/orm/mapping}embedded" maxOccurs="unbounded" minOccurs="0"/>
         <element name="transient" type="{http://www.hibernate.org/xsd/orm/mapping}transient" maxOccurs="unbounded" minOccurs="0"/>
         <element name="any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-any-mapping" maxOccurs="unbounded" minOccurs="0"/>
         <element name="many-to-any" type="{http://www.hibernate.org/xsd/orm/mapping}hbm-many-to-any" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbAttributesContainerImpl

      public JaxbAttributesContainerImpl()
  • Method Details

    • getDescription

      public String getDescription()
      Gets the value of the description property.
      Returns:
      possible object is String
    • setDescription

      public void setDescription(String value)
      Sets the value of the description property.
      Parameters:
      value - allowed object is String
    • getIdAttributes

      public List<JaxbIdImpl> getIdAttributes()
      Gets the value of the idAttributes 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 idAttributes property.

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

       getIdAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbIdImpl

      Returns:
      The value of the idAttributes property.
    • getEmbeddedIdAttribute

      public JaxbEmbeddedIdImpl getEmbeddedIdAttribute()
      Gets the value of the embeddedIdAttribute property.
      Returns:
      possible object is JaxbEmbeddedIdImpl
    • setEmbeddedIdAttribute

      public void setEmbeddedIdAttribute(JaxbEmbeddedIdImpl value)
      Sets the value of the embeddedIdAttribute property.
      Parameters:
      value - allowed object is JaxbEmbeddedIdImpl
    • getNaturalId

      public JaxbNaturalIdImpl getNaturalId()
      Gets the value of the naturalId property.
      Returns:
      possible object is JaxbNaturalIdImpl
    • setNaturalId

      public void setNaturalId(JaxbNaturalIdImpl value)
      Sets the value of the naturalId property.
      Parameters:
      value - allowed object is JaxbNaturalIdImpl
    • getBasicAttributes

      public List<JaxbBasicImpl> getBasicAttributes()
      Gets the value of the basicAttributes 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 basicAttributes property.

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

       getBasicAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbBasicImpl

      Specified by:
      getBasicAttributes in interface JaxbBaseAttributesContainer
      Returns:
      The value of the basicAttributes property.
    • getVersion

      public JaxbVersionImpl getVersion()
      Gets the value of the version property.
      Returns:
      possible object is JaxbVersionImpl
    • setVersion

      public void setVersion(JaxbVersionImpl value)
      Sets the value of the version property.
      Parameters:
      value - allowed object is JaxbVersionImpl
    • getManyToOneAttributes

      public List<JaxbManyToOneImpl> getManyToOneAttributes()
      Gets the value of the manyToOneAttributes 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 manyToOneAttributes property.

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

       getManyToOneAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbManyToOneImpl

      Specified by:
      getManyToOneAttributes in interface JaxbBaseAttributesContainer
      Returns:
      The value of the manyToOneAttributes property.
    • getOneToManyAttributes

      public List<JaxbOneToManyImpl> getOneToManyAttributes()
      Gets the value of the oneToManyAttributes 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 oneToManyAttributes property.

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

       getOneToManyAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbOneToManyImpl

      Specified by:
      getOneToManyAttributes in interface JaxbAttributesContainer
      Returns:
      The value of the oneToManyAttributes property.
    • getOneToOneAttributes

      public List<JaxbOneToOneImpl> getOneToOneAttributes()
      Gets the value of the oneToOneAttributes 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 oneToOneAttributes property.

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

       getOneToOneAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbOneToOneImpl

      Specified by:
      getOneToOneAttributes in interface JaxbAttributesContainer
      Returns:
      The value of the oneToOneAttributes property.
    • getManyToManyAttributes

      public List<JaxbManyToManyImpl> getManyToManyAttributes()
      Gets the value of the manyToManyAttributes 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 manyToManyAttributes property.

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

       getManyToManyAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbManyToManyImpl

      Specified by:
      getManyToManyAttributes in interface JaxbAttributesContainer
      Returns:
      The value of the manyToManyAttributes property.
    • getElementCollectionAttributes

      public List<JaxbElementCollectionImpl> getElementCollectionAttributes()
      Gets the value of the elementCollectionAttributes 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 elementCollectionAttributes property.

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

       getElementCollectionAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbElementCollectionImpl

      Specified by:
      getElementCollectionAttributes in interface JaxbAttributesContainer
      Returns:
      The value of the elementCollectionAttributes property.
    • getEmbeddedAttributes

      public List<JaxbEmbeddedImpl> getEmbeddedAttributes()
      Gets the value of the embeddedAttributes 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 embeddedAttributes property.

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

       getEmbeddedAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbEmbeddedImpl

      Specified by:
      getEmbeddedAttributes in interface JaxbBaseAttributesContainer
      Returns:
      The value of the embeddedAttributes property.
    • getTransients

      public List<JaxbTransientImpl> getTransients()
      Gets the value of the transients 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 transients property.

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

       getTransients().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbTransientImpl

      Specified by:
      getTransients in interface JaxbAttributesContainer
      Returns:
      The value of the transients property.
    • getAnyMappingAttributes

      public List<JaxbAnyMappingImpl> getAnyMappingAttributes()
      Gets the value of the anyMappingAttributes 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 anyMappingAttributes property.

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

       getAnyMappingAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbAnyMappingImpl

      Specified by:
      getAnyMappingAttributes in interface JaxbBaseAttributesContainer
      Returns:
      The value of the anyMappingAttributes property.
    • getPluralAnyMappingAttributes

      public List<JaxbPluralAnyMappingImpl> getPluralAnyMappingAttributes()
      Gets the value of the pluralAnyMappingAttributes 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 pluralAnyMappingAttributes property.

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

       getPluralAnyMappingAttributes().add(newItem);
       

      Objects of the following type(s) are allowed in the list JaxbPluralAnyMappingImpl

      Specified by:
      getPluralAnyMappingAttributes in interface JaxbAttributesContainer
      Returns:
      The value of the pluralAnyMappingAttributes property.