|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.jpamodelgen.xml.jaxb.Embeddable
public class Embeddable
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. @Target({TYPE}) @Retention(RUNTIME) public @interface 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://java.sun.com/xml/ns/persistence/orm}embeddable-attributes" minOccurs="0"/>
</sequence>
<attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
<attribute name="class" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="metadata-complete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected AccessType |
access
|
protected EmbeddableAttributes |
attributes
|
protected java.lang.String |
clazz
|
protected java.lang.String |
description
|
protected java.lang.Boolean |
metadataComplete
|
| Constructor Summary | |
|---|---|
Embeddable()
|
|
| Method Summary | |
|---|---|
AccessType |
getAccess()
Gets the value of the access property. |
EmbeddableAttributes |
getAttributes()
Gets the value of the attributes property. |
java.lang.String |
getClazz()
Gets the value of the clazz property. |
java.lang.String |
getDescription()
Gets the value of the description property. |
java.lang.Boolean |
isMetadataComplete()
Gets the value of the metadataComplete property. |
void |
setAccess(AccessType value)
Sets the value of the access property. |
void |
setAttributes(EmbeddableAttributes value)
Sets the value of the attributes property. |
void |
setClazz(java.lang.String value)
Sets the value of the clazz property. |
void |
setDescription(java.lang.String value)
Sets the value of the description property. |
void |
setMetadataComplete(java.lang.Boolean value)
Sets the value of the metadataComplete property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String description
protected EmbeddableAttributes attributes
protected AccessType access
protected java.lang.String clazz
protected java.lang.Boolean metadataComplete
| Constructor Detail |
|---|
public Embeddable()
| Method Detail |
|---|
public java.lang.String getDescription()
Stringpublic void setDescription(java.lang.String value)
value - allowed object is
Stringpublic EmbeddableAttributes getAttributes()
EmbeddableAttributespublic void setAttributes(EmbeddableAttributes value)
value - allowed object is
EmbeddableAttributespublic AccessType getAccess()
AccessTypepublic void setAccess(AccessType value)
value - allowed object is
AccessTypepublic java.lang.String getClazz()
Stringpublic void setClazz(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Boolean isMetadataComplete()
Booleanpublic void setMetadataComplete(java.lang.Boolean value)
value - allowed object is
Boolean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||