Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping

public Class JaxbId

extends Object
implements Serializable, PersistentAttribute
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.jaxb.mapping.PersistentAttribute, java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:id
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:column, generatedValue, temporal, tableGenerator, sequenceGenerator, uuidGenerator, unsavedValue, type
Imports
java.io.Serializable, jakarta.persistence.AccessType, .TemporalType, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlSchemaType, .XmlType, jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter

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>

Field Summary

Modifier and TypeField and Description
protected AccessType
protected String
protected JaxbColumn
protected JaxbGeneratedValue
protected Integer
protected String
protected JaxbSequenceGenerator
protected JaxbTableGenerator
protected TemporalType
protected JaxbColumnType
protected String
protected JaxbUuidGenerator

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AccessType

Returns:

possible object is String
getAccess
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAccess.

Gets the value of the access property.
public String

Returns:

possible object is String
getAttributeAccessor
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.
public JaxbColumn

Returns:

possible object is JaxbColumn
getColumn
()

Gets the value of the column property.

public JaxbGeneratedValue

Returns:

possible object is JaxbGeneratedValue
getGeneratedValue
()

Gets the value of the generatedValue property.

public Integer

Returns:

possible object is Integer
getJdbcTypeCode
()

Gets the value of the jdbcTypeCode property.

public String

Returns:

possible object is String
getName
()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getName.

Gets the value of the name property.
public JaxbSequenceGenerator

Returns:

possible object is JaxbSequenceGenerator
getSequenceGenerator
()

Gets the value of the sequenceGenerator property.

public JaxbTableGenerator

Returns:

possible object is JaxbTableGenerator
getTableGenerator
()

Gets the value of the tableGenerator property.

public TemporalType

Returns:

possible object is String
getTemporal
()

Gets the value of the temporal property.

public JaxbColumnType

Returns:

possible object is JaxbColumnType
getType
()

Gets the value of the type property.

public String

Returns:

possible object is String
getUnsavedValue
()

Gets the value of the unsavedValue property.

public JaxbUuidGenerator

Returns:

possible object is JaxbUuidGenerator
getUuidGenerator
()

Gets the value of the uuidGenerator property.

public void
setAccess(AccessType
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAccess.

Sets the value of the access property.
public void
setAttributeAccessor(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

Sets the value of the attributeAccessor property.
public void
setColumn(JaxbColumn
allowed object is JaxbColumn
value
)

Sets the value of the column property.

public void
setGeneratedValue(JaxbGeneratedValue
allowed object is JaxbGeneratedValue
value
)

Sets the value of the generatedValue property.

public void
setJdbcTypeCode(Integer
allowed object is Integer
value
)

Sets the value of the jdbcTypeCode property.

public void
setName(String
allowed object is String
value
)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.
public void
setSequenceGenerator(JaxbSequenceGenerator
allowed object is JaxbSequenceGenerator
value
)

Sets the value of the sequenceGenerator property.

public void
setTableGenerator(JaxbTableGenerator
allowed object is JaxbTableGenerator
value
)

Sets the value of the tableGenerator property.

public void
setTemporal(TemporalType
allowed object is String
value
)

Sets the value of the temporal property.

public void
setType(JaxbColumnType
allowed object is JaxbColumnType
value
)

Sets the value of the type property.

public void
setUnsavedValue(String
allowed object is String
value
)

Sets the value of the unsavedValue property.

public void
setUuidGenerator(JaxbUuidGenerator
allowed object is JaxbUuidGenerator
value
)

Sets the value of the uuidGenerator property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

accessback to summary
protected AccessType access
Annotations
@XmlAttribute
name:access
@XmlJavaTypeAdapter:Adapter1
attributeAccessorback to summary
protected String attributeAccessor
Annotations
@XmlAttribute
name:attribute-accessor
columnback to summary
protected JaxbColumn column
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
generatedValueback to summary
protected JaxbGeneratedValue generatedValue
Annotations
@XmlElement
name:generated-value
namespace:http://www.hibernate.org/xsd/orm/mapping
jdbcTypeCodeback to summary
protected Integer jdbcTypeCode
Annotations
@XmlAttribute
name:jdbc-type-code
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
sequenceGeneratorback to summary
protected JaxbSequenceGenerator sequenceGenerator
Annotations
@XmlElement
name:sequence-generator
namespace:http://www.hibernate.org/xsd/orm/mapping
tableGeneratorback to summary
protected JaxbTableGenerator tableGenerator
Annotations
@XmlElement
name:table-generator
namespace:http://www.hibernate.org/xsd/orm/mapping
temporalback to summary
protected TemporalType temporal
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
type:String
@XmlJavaTypeAdapter:Adapter14
@XmlSchemaType
name:token
typeback to summary
protected JaxbColumnType type
Annotations
@XmlElement
namespace:http://www.hibernate.org/xsd/orm/mapping
unsavedValueback to summary
protected String unsavedValue
Annotations
@XmlElement
name:unsaved-value
namespace:http://www.hibernate.org/xsd/orm/mapping
uuidGeneratorback to summary
protected JaxbUuidGenerator uuidGenerator
Annotations
@XmlElement
name:uuid-generator
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbIdback to summary
public JaxbId()

Method Detail

getAccessback to summary
public AccessType getAccess()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAccess.

Gets the value of the access property.

Returns:AccessType

possible object is String

getAttributeAccessorback to summary
public String getAttributeAccessor()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getAttributeAccessor.

Gets the value of the attributeAccessor property.

Returns:String

possible object is String

getColumnback to summary
public JaxbColumn getColumn()

Gets the value of the column property.

Returns:JaxbColumn

possible object is JaxbColumn

getGeneratedValueback to summary
public JaxbGeneratedValue getGeneratedValue()

Gets the value of the generatedValue property.

Returns:JaxbGeneratedValue

possible object is JaxbGeneratedValue

getJdbcTypeCodeback to summary
public Integer getJdbcTypeCode()

Gets the value of the jdbcTypeCode property.

Returns:Integer

possible object is Integer

getNameback to summary
public String getName()

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.getName.

Gets the value of the name property.

Returns:String

possible object is String

getSequenceGeneratorback to summary
public JaxbSequenceGenerator getSequenceGenerator()

Gets the value of the sequenceGenerator property.

Returns:JaxbSequenceGenerator

possible object is JaxbSequenceGenerator

getTableGeneratorback to summary
public JaxbTableGenerator getTableGenerator()

Gets the value of the tableGenerator property.

Returns:JaxbTableGenerator

possible object is JaxbTableGenerator

getTemporalback to summary
public TemporalType getTemporal()

Gets the value of the temporal property.

Returns:TemporalType

possible object is String

getTypeback to summary
public JaxbColumnType getType()

Gets the value of the type property.

Returns:JaxbColumnType

possible object is JaxbColumnType

getUnsavedValueback to summary
public String getUnsavedValue()

Gets the value of the unsavedValue property.

Returns:String

possible object is String

getUuidGeneratorback to summary
public JaxbUuidGenerator getUuidGenerator()

Gets the value of the uuidGenerator property.

Returns:JaxbUuidGenerator

possible object is JaxbUuidGenerator

setAccessback to summary
public void setAccess(AccessType value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAccess.

Sets the value of the access property.

Parameters
value:AccessType

allowed object is String

setAttributeAccessorback to summary
public void setAttributeAccessor(String value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setAttributeAccessor.

Sets the value of the attributeAccessor property.

Parameters
value:String

allowed object is String

setColumnback to summary
public void setColumn(JaxbColumn value)

Sets the value of the column property.

Parameters
value:JaxbColumn

allowed object is JaxbColumn

setGeneratedValueback to summary
public void setGeneratedValue(JaxbGeneratedValue value)

Sets the value of the generatedValue property.

Parameters
value:JaxbGeneratedValue

allowed object is JaxbGeneratedValue

setJdbcTypeCodeback to summary
public void setJdbcTypeCode(Integer value)

Sets the value of the jdbcTypeCode property.

Parameters
value:Integer

allowed object is Integer

setNameback to summary
public void setName(String value)

Implements org.hibernate.boot.jaxb.mapping.PersistentAttribute.setName.

Sets the value of the name property.

Parameters
value:String

allowed object is String

setSequenceGeneratorback to summary
public void setSequenceGenerator(JaxbSequenceGenerator value)

Sets the value of the sequenceGenerator property.

Parameters
value:JaxbSequenceGenerator

allowed object is JaxbSequenceGenerator

setTableGeneratorback to summary
public void setTableGenerator(JaxbTableGenerator value)

Sets the value of the tableGenerator property.

Parameters
value:JaxbTableGenerator

allowed object is JaxbTableGenerator

setTemporalback to summary
public void setTemporal(TemporalType value)

Sets the value of the temporal property.

Parameters
value:TemporalType

allowed object is String

setTypeback to summary
public void setType(JaxbColumnType value)

Sets the value of the type property.

Parameters
value:JaxbColumnType

allowed object is JaxbColumnType

setUnsavedValueback to summary
public void setUnsavedValue(String value)

Sets the value of the unsavedValue property.

Parameters
value:String

allowed object is String

setUuidGeneratorback to summary
public void setUuidGenerator(JaxbUuidGenerator value)

Sets the value of the uuidGenerator property.

Parameters
value:JaxbUuidGenerator

allowed object is JaxbUuidGenerator