Package org.hibernate.boot.jaxb.mapping
Class JaxbEmbeddable
java.lang.Object
org.hibernate.boot.jaxb.mapping.JaxbEmbeddable
- All Implemented Interfaces:
Serializable,ManagedType
See `@jakarta.persistence.Embeddable`
Java class for embeddable complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="embeddable">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="attributes" type="{http://www.hibernate.org/xsd/orm/mapping}embeddable-attributes" minOccurs="0"/>
</sequence>
<attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="instantiator" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="access" type="{http://www.hibernate.org/xsd/orm/mapping}access-type" />
<attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccessTypeprotected JaxbEmbeddableAttributesprotected Stringprotected Stringprotected Stringprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the access property.Gets the value of the attributes property.getClazz()Gets the value of the clazz property.Gets the value of the description property.Gets the value of the instantiator property.Gets the value of the metadataComplete property.voidsetAccess(AccessType value) Sets the value of the access property.voidSets the value of the attributes property.voidSets the value of the clazz property.voidsetDescription(String value) Sets the value of the description property.voidsetInstantiator(String value) Sets the value of the instantiator property.voidsetMetadataComplete(Boolean value) Sets the value of the metadataComplete property.
-
Field Details
-
description
-
attributes
-
clazz
-
instantiator
-
access
-
metadataComplete
-
-
Constructor Details
-
JaxbEmbeddable
public JaxbEmbeddable()
-
-
Method Details
-
getDescription
Gets the value of the description property.- Specified by:
getDescriptionin interfaceManagedType- Returns:
- possible object is
String
-
setDescription
Sets the value of the description property.- Specified by:
setDescriptionin interfaceManagedType- Parameters:
value- allowed object isString
-
getAttributes
Gets the value of the attributes property.- Specified by:
getAttributesin interfaceManagedType- Returns:
- possible object is
JaxbEmbeddableAttributes
-
setAttributes
Sets the value of the attributes property.- Parameters:
value- allowed object isJaxbEmbeddableAttributes
-
getClazz
Gets the value of the clazz property.- Specified by:
getClazzin interfaceManagedType- Returns:
- possible object is
String
-
setClazz
Sets the value of the clazz property.- Specified by:
setClazzin interfaceManagedType- Parameters:
value- allowed object isString
-
getInstantiator
Gets the value of the instantiator property.- Returns:
- possible object is
String
-
setInstantiator
Sets the value of the instantiator property.- Parameters:
value- allowed object isString
-
getAccess
Gets the value of the access property.- Specified by:
getAccessin interfaceManagedType- Returns:
- possible object is
String
-
setAccess
Sets the value of the access property.- Specified by:
setAccessin interfaceManagedType- Parameters:
value- allowed object isString
-
isMetadataComplete
Gets the value of the metadataComplete property.- Specified by:
isMetadataCompletein interfaceManagedType- Returns:
- possible object is
Boolean
-
setMetadataComplete
Sets the value of the metadataComplete property.- Specified by:
setMetadataCompletein interfaceManagedType- Parameters:
value- allowed object isBoolean
-