Package org.hibernate.boot.jaxb.mapping
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected String
attributeAccessor
protected JaxbColumn
column
protected JaxbGeneratedValue
generatedValue
protected Integer
jdbcTypeCode
protected String
name
protected JaxbSequenceGenerator
sequenceGenerator
protected JaxbTableGenerator
tableGenerator
protected TemporalType
temporal
protected JaxbColumnType
type
protected String
unsavedValue
protected JaxbUuidGenerator
uuidGenerator
-
Constructor Summary
Constructors Constructor Description JaxbId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessType
getAccess()
Gets the value of the access property.String
getAttributeAccessor()
Gets the value of the attributeAccessor property.JaxbColumn
getColumn()
Gets the value of the column property.JaxbGeneratedValue
getGeneratedValue()
Gets the value of the generatedValue property.Integer
getJdbcTypeCode()
Gets the value of the jdbcTypeCode property.String
getName()
Gets the value of the name property.JaxbSequenceGenerator
getSequenceGenerator()
Gets the value of the sequenceGenerator property.JaxbTableGenerator
getTableGenerator()
Gets the value of the tableGenerator property.TemporalType
getTemporal()
Gets the value of the temporal property.JaxbColumnType
getType()
Gets the value of the type property.String
getUnsavedValue()
Gets the value of the unsavedValue property.JaxbUuidGenerator
getUuidGenerator()
Gets the value of the uuidGenerator property.void
setAccess(AccessType value)
Sets the value of the access property.void
setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.void
setColumn(JaxbColumn value)
Sets the value of the column property.void
setGeneratedValue(JaxbGeneratedValue value)
Sets the value of the generatedValue property.void
setJdbcTypeCode(Integer value)
Sets the value of the jdbcTypeCode property.void
setName(String value)
Sets the value of the name property.void
setSequenceGenerator(JaxbSequenceGenerator value)
Sets the value of the sequenceGenerator property.void
setTableGenerator(JaxbTableGenerator value)
Sets the value of the tableGenerator property.void
setTemporal(TemporalType value)
Sets the value of the temporal property.void
setType(JaxbColumnType value)
Sets the value of the type property.void
setUnsavedValue(String value)
Sets the value of the unsavedValue property.void
setUuidGenerator(JaxbUuidGenerator value)
Sets the value of the uuidGenerator property.
-
-
-
Field Detail
-
column
protected JaxbColumn column
-
generatedValue
protected JaxbGeneratedValue generatedValue
-
temporal
protected TemporalType temporal
-
tableGenerator
protected JaxbTableGenerator tableGenerator
-
sequenceGenerator
protected JaxbSequenceGenerator sequenceGenerator
-
uuidGenerator
protected JaxbUuidGenerator uuidGenerator
-
unsavedValue
protected String unsavedValue
-
type
protected JaxbColumnType type
-
name
protected String name
-
access
protected AccessType access
-
attributeAccessor
protected String attributeAccessor
-
jdbcTypeCode
protected Integer jdbcTypeCode
-
-
Method Detail
-
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 isJaxbColumn
-
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 isJaxbGeneratedValue
-
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 isString
-
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 isJaxbTableGenerator
-
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 isJaxbSequenceGenerator
-
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 isJaxbUuidGenerator
-
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 isString
-
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 isJaxbColumnType
-
getName
public String getName()
Gets the value of the name property.- Specified by:
getName
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Specified by:
setName
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccess
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessor
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAttributeAccessor
public void setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessor
in interfacePersistentAttribute
- Parameters:
value
- allowed object isString
-
getJdbcTypeCode
public Integer getJdbcTypeCode()
Gets the value of the jdbcTypeCode property.- Returns:
- possible object is
Integer
-
-