Class Embeddable


  • public class Embeddable
    extends Object
    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>
     
    • Constructor Detail

      • Embeddable

        public Embeddable()
    • Method Detail

      • getDescription

        public String getDescription()
        Gets the value of the description property.
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
      • getAccess

        public AccessType getAccess()
        Gets the value of the access property.
        Returns:
        possible object is AccessType
      • setAccess

        public void setAccess​(AccessType value)
        Sets the value of the access property.
        Parameters:
        value - allowed object is AccessType
      • getClazz

        public String getClazz()
        Gets the value of the clazz property.
        Returns:
        possible object is String
      • setClazz

        public void setClazz​(String value)
        Sets the value of the clazz property.
        Parameters:
        value - allowed object is String
      • isMetadataComplete

        public Boolean isMetadataComplete()
        Gets the value of the metadataComplete property.
        Returns:
        possible object is Boolean
      • setMetadataComplete

        public void setMetadataComplete​(Boolean value)
        Sets the value of the metadataComplete property.
        Parameters:
        value - allowed object is Boolean