Class JaxbHbmCompositeAttributeType

  • All Implemented Interfaces:
    java.io.Serializable, ToolingHintContainer

    public class JaxbHbmCompositeAttributeType
    extends JaxbHbmToolingHintContainer
    implements java.io.Serializable, ToolingHintContainer
    A component is a user-defined class, persisted along with its containing entity to the table of the entity class. JavaBeans style properties of the component are mapped to columns of the table of the containing entity. A null component reference is mapped to null values in all columns and vice versa. Components do not support shared reference semantics.

    Java class for CompositeAttributeType complex type.

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

     <complexType name="CompositeAttributeType">
       <complexContent>
         <extension base="{http://www.hibernate.org/xsd/orm/hbm}ToolingHintContainer">
           <sequence>
             <element name="tuplizer" type="{http://www.hibernate.org/xsd/orm/hbm}tuplizer-type" maxOccurs="unbounded" minOccurs="0"/>
             <element name="parent" type="{http://www.hibernate.org/xsd/orm/hbm}parent-type" minOccurs="0"/>
             <choice maxOccurs="unbounded" minOccurs="0">
               <group ref="{http://www.hibernate.org/xsd/orm/hbm}SingularAttributeGroup"/>
             </choice>
           </sequence>
           <attribute name="access" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="class" type="{http://www.hibernate.org/xsd/orm/hbm}ClassNameType" />
           <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" />
         </extension>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getAccess()
      Gets the value of the access property.
      java.util.List<java.io.Serializable> getAttributes()
      Gets the value of the attributes property.
      java.lang.String getClazz()
      Gets the value of the clazz property.
      java.lang.String getName()
      Gets the value of the name property.
      java.lang.String getNode()
      Gets the value of the node property.
      JaxbHbmParentType getParent()
      Gets the value of the parent property.
      java.util.List<JaxbHbmTuplizerType> 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​(java.lang.String value)
      Sets the value of the access property.
      void setClazz​(java.lang.String value)
      Sets the value of the clazz property.
      void setInsert​(java.lang.Boolean value)
      Sets the value of the insert property.
      void setLazy​(java.lang.Boolean value)
      Sets the value of the lazy property.
      void setName​(java.lang.String value)
      Sets the value of the name property.
      void setNode​(java.lang.String value)
      Sets the value of the node property.
      void setOptimisticLock​(java.lang.Boolean value)
      Sets the value of the optimisticLock property.
      void setParent​(JaxbHbmParentType value)
      Sets the value of the parent property.
      void setUnique​(java.lang.Boolean value)
      Sets the value of the unique property.
      void setUpdate​(java.lang.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

      • attributes

        protected java.util.List<java.io.Serializable> attributes
      • access

        protected java.lang.String access
      • clazz

        protected java.lang.String clazz
      • insert

        protected java.lang.Boolean insert
      • lazy

        protected java.lang.Boolean lazy
      • name

        protected java.lang.String name
      • node

        protected java.lang.String node
      • optimisticLock

        protected java.lang.Boolean optimisticLock
      • unique

        protected java.lang.Boolean unique
      • update

        protected java.lang.Boolean update
    • Constructor Detail

      • JaxbHbmCompositeAttributeType

        public JaxbHbmCompositeAttributeType()
    • Method Detail

      • getTuplizer

        public java.util.List<JaxbHbmTuplizerType> 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 JaxbHbmTuplizerType

      • getAccess

        public java.lang.String getAccess()
        Gets the value of the access property.
        Returns:
        possible object is String
      • setAccess

        public void setAccess​(java.lang.String value)
        Sets the value of the access property.
        Parameters:
        value - allowed object is String
      • getClazz

        public java.lang.String getClazz()
        Gets the value of the clazz property.
        Returns:
        possible object is String
      • setClazz

        public void setClazz​(java.lang.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​(java.lang.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​(java.lang.Boolean value)
        Sets the value of the lazy property.
        Parameters:
        value - allowed object is Boolean
      • getName

        public java.lang.String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
      • getNode

        public java.lang.String getNode()
        Gets the value of the node property.
        Returns:
        possible object is String
      • setNode

        public void setNode​(java.lang.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​(java.lang.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​(java.lang.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​(java.lang.Boolean value)
        Sets the value of the update property.
        Parameters:
        value - allowed object is Boolean