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 AccessTypeaccessprotected StringattributeAccessorprotected JaxbColumncolumnprotected JaxbGeneratedValuegeneratedValueprotected IntegerjdbcTypeCodeprotected Stringnameprotected JaxbSequenceGeneratorsequenceGeneratorprotected JaxbTableGeneratortableGeneratorprotected TemporalTypetemporalprotected JaxbColumnTypetypeprotected StringunsavedValueprotected JaxbUuidGeneratoruuidGenerator
-
Constructor Summary
Constructors Constructor Description JaxbId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccess()Gets the value of the access property.StringgetAttributeAccessor()Gets the value of the attributeAccessor property.JaxbColumngetColumn()Gets the value of the column property.JaxbGeneratedValuegetGeneratedValue()Gets the value of the generatedValue property.IntegergetJdbcTypeCode()Gets the value of the jdbcTypeCode property.StringgetName()Gets the value of the name property.JaxbSequenceGeneratorgetSequenceGenerator()Gets the value of the sequenceGenerator property.JaxbTableGeneratorgetTableGenerator()Gets the value of the tableGenerator property.TemporalTypegetTemporal()Gets the value of the temporal property.JaxbColumnTypegetType()Gets the value of the type property.StringgetUnsavedValue()Gets the value of the unsavedValue property.JaxbUuidGeneratorgetUuidGenerator()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.voidsetGeneratedValue(JaxbGeneratedValue value)Sets the value of the generatedValue property.voidsetJdbcTypeCode(Integer value)Sets the value of the jdbcTypeCode property.voidsetName(String value)Sets the value of the name property.voidsetSequenceGenerator(JaxbSequenceGenerator value)Sets the value of the sequenceGenerator property.voidsetTableGenerator(JaxbTableGenerator value)Sets 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.voidsetUuidGenerator(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:
getNamein interfacePersistentAttribute- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Specified by:
setNamein interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccessin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getAttributeAccessor
public String getAttributeAccessor()
Gets the value of the attributeAccessor property.- Specified by:
getAttributeAccessorin interfacePersistentAttribute- Returns:
- possible object is
String
-
setAttributeAccessor
public void setAttributeAccessor(String value)
Sets the value of the attributeAccessor property.- Specified by:
setAttributeAccessorin interfacePersistentAttribute- Parameters:
value- allowed object isString
-
getJdbcTypeCode
public Integer getJdbcTypeCode()
Gets the value of the jdbcTypeCode property.- Returns:
- possible object is
Integer
-
-