Package org.hibernate.boot.jaxb.mapping
Class JaxbEmbeddable
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.JaxbEmbeddable
-
- All Implemented Interfaces:
Serializable
,ManagedType
public class JaxbEmbeddable extends Object implements 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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected jakarta.persistence.AccessType
access
protected JaxbEmbeddableAttributes
attributes
protected String
clazz
protected String
description
protected String
instantiator
protected Boolean
metadataComplete
-
Constructor Summary
Constructors Constructor Description JaxbEmbeddable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.persistence.AccessType
getAccess()
Gets the value of the access property.JaxbEmbeddableAttributes
getAttributes()
Gets the value of the attributes property.String
getClazz()
Gets the value of the clazz property.String
getDescription()
Gets the value of the description property.String
getInstantiator()
Gets the value of the instantiator property.Boolean
isMetadataComplete()
Gets the value of the metadataComplete property.void
setAccess(jakarta.persistence.AccessType value)
Sets the value of the access property.void
setAttributes(JaxbEmbeddableAttributes value)
Sets the value of the attributes property.void
setClazz(String value)
Sets the value of the clazz property.void
setDescription(String value)
Sets the value of the description property.void
setInstantiator(String value)
Sets the value of the instantiator property.void
setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.
-
-
-
Field Detail
-
description
protected String description
-
attributes
protected JaxbEmbeddableAttributes attributes
-
clazz
protected String clazz
-
instantiator
protected String instantiator
-
access
protected jakarta.persistence.AccessType access
-
metadataComplete
protected Boolean metadataComplete
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Specified by:
getDescription
in interfaceManagedType
- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Specified by:
setDescription
in interfaceManagedType
- Parameters:
value
- allowed object isString
-
getAttributes
public JaxbEmbeddableAttributes getAttributes()
Gets the value of the attributes property.- Specified by:
getAttributes
in interfaceManagedType
- Returns:
- possible object is
JaxbEmbeddableAttributes
-
setAttributes
public void setAttributes(JaxbEmbeddableAttributes value)
Sets the value of the attributes property.- Parameters:
value
- allowed object isJaxbEmbeddableAttributes
-
getClazz
public String getClazz()
Gets the value of the clazz property.- Specified by:
getClazz
in interfaceManagedType
- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- Specified by:
setClazz
in interfaceManagedType
- Parameters:
value
- allowed object isString
-
getInstantiator
public String getInstantiator()
Gets the value of the instantiator property.- Returns:
- possible object is
String
-
setInstantiator
public void setInstantiator(String value)
Sets the value of the instantiator property.- Parameters:
value
- allowed object isString
-
getAccess
public jakarta.persistence.AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfaceManagedType
- Returns:
- possible object is
String
-
setAccess
public void setAccess(jakarta.persistence.AccessType value)
Sets the value of the access property.- Specified by:
setAccess
in interfaceManagedType
- Parameters:
value
- allowed object isString
-
isMetadataComplete
public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.- Specified by:
isMetadataComplete
in interfaceManagedType
- Returns:
- possible object is
Boolean
-
setMetadataComplete
public void setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.- Specified by:
setMetadataComplete
in interfaceManagedType
- Parameters:
value
- allowed object isBoolean
-
-