Package org.hibernate.boot.jaxb.mapping
Class JaxbId
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbId
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected Stringprotected JaxbColumnprotected JaxbGeneratedValueprotected Integerprotected Stringprotected JaxbSequenceGeneratorprotected JaxbTableGeneratorprotected TemporalTypeprotected JaxbColumnTypeprotected Stringprotected JaxbUuidGenerator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributeAccessor property.Gets the value of the column property.Gets the value of the generatedValue property.Gets the value of the jdbcTypeCode property.getName()Gets the value of the name property.Gets the value of the sequenceGenerator property.Gets the value of the tableGenerator property.Gets the value of the temporal property.getType()Gets the value of the type property.Gets the value of the unsavedValue property.Gets the value of the uuidGenerator property.voidsetAccess(AccessType value) Sets the value of the access property.voidsetAttributeAccessor(String value) Sets the value of the attributeAccessor property.voidsetColumn(JaxbColumn value) Sets the value of the column property.voidSets the value of the generatedValue property.voidsetJdbcTypeCode(Integer value) Sets the value of the jdbcTypeCode property.voidSets the value of the name property.voidSets the value of the sequenceGenerator property.voidSets the value of the tableGenerator property.voidsetTemporal(TemporalType value) Sets the value of the temporal property.voidsetType(JaxbColumnType value) Sets the value of the type property.voidsetUnsavedValue(String value) Sets the value of the unsavedValue property.voidSets the value of the uuidGenerator property.
-
Field Details
-
column
-
generatedValue
-
temporal
-
tableGenerator
-
sequenceGenerator
-
uuidGenerator
-
unsavedValue
-
type
-
name
-
access
-
attributeAccessor
-
jdbcTypeCode
-
-
Constructor Details
-
JaxbId
public JaxbId()
-
-
Method Details
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
JaxbColumn
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isJaxbColumn
-
getGeneratedValue
Gets the value of the generatedValue property.- Returns:
- possible object is
JaxbGeneratedValue
-
setGeneratedValue
Sets the value of the generatedValue property.- Parameters:
value- allowed object isJaxbGeneratedValue
-
getTemporal
Gets the value of the temporal property.- Returns:
- possible object is
String
-
setTemporal
Sets the value of the temporal property.- Parameters:
value- allowed object isString
-
getTableGenerator
Gets the value of the tableGenerator property.- Returns:
- possible object is
JaxbTableGenerator
-
setTableGenerator
Sets the value of the tableGenerator property.- Parameters:
value- allowed object isJaxbTableGenerator
-
getSequenceGenerator
Gets the value of the sequenceGenerator property.- Returns:
- possible object is
JaxbSequenceGenerator
-
setSequenceGenerator
Sets the value of the sequenceGenerator property.- Parameters:
value- allowed object isJaxbSequenceGenerator
-
getUuidGenerator
Gets the value of the uuidGenerator property.- Returns:
- possible object is
JaxbUuidGenerator
-
setUuidGenerator
Sets the value of the uuidGenerator property.- Parameters:
value- allowed object isJaxbUuidGenerator
-
getUnsavedValue
Gets the value of the unsavedValue property.- Returns:
- possible object is
String
-
setUnsavedValue
Sets the value of the unsavedValue property.- Parameters:
value- allowed object isString
-
getType
Gets the value of the type property.- Returns:
- possible object is
JaxbColumnType
-
setType
Sets the value of the type property.- Parameters:
value- allowed object isJaxbColumnType
-
getName
Gets the value of the name property.- Specified by:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getJdbcTypeCode
Gets the value of the jdbcTypeCode property.- Returns:
- possible object is
Integer
-
setJdbcTypeCode
Sets the value of the jdbcTypeCode property.- Parameters:
value- allowed object isInteger
-