Class JaxbEmbeddable
- java.lang.Object
-
- org.hibernate.boot.jaxb.mapping.spi.JaxbEmbeddable
-
- All Implemented Interfaces:
Serializable
,ManagedType
public class JaxbEmbeddable extends Object implements Serializable, ManagedType
Defines the settings and mappings for embeddable objects. Is allowed to be sparsely populated and used in conjunction with the annotations. Alternatively, the metadata-complete attribute can be used to indicate that no annotations are to be processed in the class. If this is the case then the defaulting rules will be recursively applied.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AccessType
access
protected JaxbEmbeddableAttributes
attributes
protected String
clazz
protected String
description
protected Boolean
metadataComplete
-
Constructor Summary
Constructors Constructor Description JaxbEmbeddable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.Boolean
isMetadataComplete()
Gets the value of the metadataComplete property.void
setAccess(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
setMetadataComplete(Boolean value)
Sets the value of the metadataComplete property.
-
-
-
Field Detail
-
description
protected String description
-
attributes
protected JaxbEmbeddableAttributes attributes
-
clazz
protected String clazz
-
access
protected 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
-
getAccess
public AccessType getAccess()
Gets the value of the access property.- Specified by:
getAccess
in interfaceManagedType
- Returns:
- possible object is
String
-
setAccess
public void setAccess(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
-
-