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`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="unsaved-value" type="{http://www.w3.org/2001/XMLSchema}string" 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" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.persistence.AccessType
access
protected String
attributeAccessor
protected JaxbColumn
column
protected JaxbGeneratedValue
generatedValue
protected String
name
protected JaxbSequenceGenerator
sequenceGenerator
protected JaxbTableGenerator
tableGenerator
protected jakarta.persistence.TemporalType
temporal
protected String
unsavedValue
-
Constructor Summary
Constructors Constructor Description JaxbId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.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.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.jakarta.persistence.TemporalType
getTemporal()
Gets the value of the temporal property.String
getUnsavedValue()
Gets the value of the unsavedValue property.void
setAccess(jakarta.persistence.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
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(jakarta.persistence.TemporalType value)
Sets the value of the temporal property.void
setUnsavedValue(String value)
Sets the value of the unsavedValue property.
-
-
-
Field Detail
-
column
protected JaxbColumn column
-
generatedValue
protected JaxbGeneratedValue generatedValue
-
temporal
protected jakarta.persistence.TemporalType temporal
-
tableGenerator
protected JaxbTableGenerator tableGenerator
-
sequenceGenerator
protected JaxbSequenceGenerator sequenceGenerator
-
unsavedValue
protected String unsavedValue
-
name
protected String name
-
access
protected jakarta.persistence.AccessType access
-
attributeAccessor
protected String attributeAccessor
-
-
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 jakarta.persistence.TemporalType getTemporal()
Gets the value of the temporal property.- Returns:
- possible object is
String
-
setTemporal
public void setTemporal(jakarta.persistence.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
-
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
-
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 jakarta.persistence.AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfacePersistentAttribute
- Returns:
- possible object is
String
-
setAccess
public void setAccess(jakarta.persistence.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
-
-