Class JaxbId

java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbId
All Implemented Interfaces:
Serializable, PersistentAttribute

public class JaxbId extends Object implements Serializable, PersistentAttribute
See `@jakarta.persistence.Id` See `@org.hibernate.annotations.AttributeAccessor` See `@org.hibernate.annotations.Type` See `@org.hibernate.annotations.JdbcTypeCode` See `@org.hibernate.annotations.UuidGenerator`

Java class for id complex type.

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


 <complexType name="id">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="column" type="{http://www.hibernate.org/xsd/orm/mapping}column" minOccurs="0"/>
         <element name="generated-value" type="{http://www.hibernate.org/xsd/orm/mapping}generated-value" minOccurs="0"/>
         <element name="temporal" type="{http://www.hibernate.org/xsd/orm/mapping}temporal" minOccurs="0"/>
         <element name="table-generator" type="{http://www.hibernate.org/xsd/orm/mapping}table-generator" minOccurs="0"/>
         <element name="sequence-generator" type="{http://www.hibernate.org/xsd/orm/mapping}sequence-generator" minOccurs="0"/>
         <element name="uuid-generator" type="{http://www.hibernate.org/xsd/orm/mapping}uuid-generator" minOccurs="0"/>
         <element name="unsaved-value" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://www.hibernate.org/xsd/orm/mapping}column-type" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
       <attribute name="attribute-accessor" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="jdbc-type-code" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

  • Constructor Details

    • JaxbId

      public JaxbId()
  • Method Details

    • getColumn

      public JaxbColumn getColumn()
      Gets the value of the column property.
      Returns:
      possible object is JaxbColumn
    • setColumn

      public void setColumn(JaxbColumn value)
      Sets the value of the column property.
      Parameters:
      value - allowed object is JaxbColumn
    • getGeneratedValue

      public JaxbGeneratedValue getGeneratedValue()
      Gets the value of the generatedValue property.
      Returns:
      possible object is JaxbGeneratedValue
    • setGeneratedValue

      public void setGeneratedValue(JaxbGeneratedValue value)
      Sets the value of the generatedValue property.
      Parameters:
      value - allowed object is JaxbGeneratedValue
    • getTemporal

      public TemporalType getTemporal()
      Gets the value of the temporal property.
      Returns:
      possible object is String
    • setTemporal

      public void setTemporal(TemporalType value)
      Sets the value of the temporal property.
      Parameters:
      value - allowed object is String
    • getTableGenerator

      public JaxbTableGenerator getTableGenerator()
      Gets the value of the tableGenerator property.
      Returns:
      possible object is JaxbTableGenerator
    • setTableGenerator

      public void setTableGenerator(JaxbTableGenerator value)
      Sets the value of the tableGenerator property.
      Parameters:
      value - allowed object is JaxbTableGenerator
    • getSequenceGenerator

      public JaxbSequenceGenerator getSequenceGenerator()
      Gets the value of the sequenceGenerator property.
      Returns:
      possible object is JaxbSequenceGenerator
    • setSequenceGenerator

      public void setSequenceGenerator(JaxbSequenceGenerator value)
      Sets the value of the sequenceGenerator property.
      Parameters:
      value - allowed object is JaxbSequenceGenerator
    • getUuidGenerator

      public JaxbUuidGenerator getUuidGenerator()
      Gets the value of the uuidGenerator property.
      Returns:
      possible object is JaxbUuidGenerator
    • setUuidGenerator

      public void setUuidGenerator(JaxbUuidGenerator value)
      Sets the value of the uuidGenerator property.
      Parameters:
      value - allowed object is JaxbUuidGenerator
    • getUnsavedValue

      public String getUnsavedValue()
      Gets the value of the unsavedValue property.
      Returns:
      possible object is String
    • setUnsavedValue

      public void setUnsavedValue(String value)
      Sets the value of the unsavedValue property.
      Parameters:
      value - allowed object is String
    • getType

      public JaxbColumnType getType()
      Gets the value of the type property.
      Returns:
      possible object is JaxbColumnType
    • setType

      public void setType(JaxbColumnType value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is JaxbColumnType
    • getName

      public String getName()
      Gets the value of the name property.
      Specified by:
      getName in interface PersistentAttribute
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Specified by:
      setName in interface PersistentAttribute
      Parameters:
      value - allowed object is String
    • getAccess

      public AccessType getAccess()
      Gets the value of the access property.
      Specified by:
      getAccess in interface PersistentAttribute
      Returns:
      possible object is String
    • setAccess

      public void setAccess(AccessType value)
      Sets the value of the access property.
      Specified by:
      setAccess in interface PersistentAttribute
      Parameters:
      value - allowed object is String
    • getAttributeAccessor

      public String getAttributeAccessor()
      Gets the value of the attributeAccessor property.
      Specified by:
      getAttributeAccessor in interface PersistentAttribute
      Returns:
      possible object is String
    • setAttributeAccessor

      public void setAttributeAccessor(String value)
      Sets the value of the attributeAccessor property.
      Specified by:
      setAttributeAccessor in interface PersistentAttribute
      Parameters:
      value - allowed object is String
    • getJdbcTypeCode

      public Integer getJdbcTypeCode()
      Gets the value of the jdbcTypeCode property.
      Returns:
      possible object is Integer
    • setJdbcTypeCode

      public void setJdbcTypeCode(Integer value)
      Sets the value of the jdbcTypeCode property.
      Parameters:
      value - allowed object is Integer