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 AccessTypeaccessprotected JaxbEmbeddableAttributesattributesprotected Stringclazzprotected Stringdescriptionprotected Stringinstantiatorprotected BooleanmetadataComplete
-
Constructor Summary
Constructors Constructor Description JaxbEmbeddable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessTypegetAccess()Gets the value of the access property.JaxbEmbeddableAttributesgetAttributes()Gets the value of the attributes property.StringgetClazz()Gets the value of the clazz property.StringgetDescription()Gets the value of the description property.StringgetInstantiator()Gets the value of the instantiator property.BooleanisMetadataComplete()Gets the value of the metadataComplete property.voidsetAccess(AccessType value)Sets the value of the access property.voidsetAttributes(JaxbEmbeddableAttributes value)Sets the value of the attributes property.voidsetClazz(String value)Sets 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 Detail
-
description
protected String description
-
attributes
protected JaxbEmbeddableAttributes attributes
-
clazz
protected String clazz
-
instantiator
protected String instantiator
-
access
protected AccessType access
-
metadataComplete
protected Boolean metadataComplete
-
-
Method Detail
-
getDescription
public String getDescription()
Gets the value of the description property.- Specified by:
getDescriptionin interfaceManagedType- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Specified by:
setDescriptionin interfaceManagedType- Parameters:
value- allowed object isString
-
getAttributes
public JaxbEmbeddableAttributes getAttributes()
Gets the value of the attributes property.- Specified by:
getAttributesin 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:
getClazzin interfaceManagedType- Returns:
- possible object is
String
-
setClazz
public void setClazz(String value)
Sets the value of the clazz property.- Specified by:
setClazzin 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 AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccessin interfaceManagedType- Returns:
- possible object is
String
-
setAccess
public void setAccess(AccessType value)
Sets the value of the access property.- Specified by:
setAccessin interfaceManagedType- Parameters:
value- allowed object isString
-
isMetadataComplete
public Boolean isMetadataComplete()
Gets the value of the metadataComplete property.- Specified by:
isMetadataCompletein interfaceManagedType- Returns:
- possible object is
Boolean
-
setMetadataComplete
public void setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.- Specified by:
setMetadataCompletein interfaceManagedType- Parameters:
value- allowed object isBoolean
-
-