Class Embedded


  • public class Embedded
    extends Object
    Target({METHOD, FIELD}) @Retention(RUNTIME) public @interface Embedded {}

    Java class for embedded complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="embedded">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="attribute-override" type="{http://java.sun.com/xml/ns/persistence/orm}attribute-override" maxOccurs="unbounded" minOccurs="0"/>
             <element name="association-override" type="{http://java.sun.com/xml/ns/persistence/orm}association-override" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="access" type="{http://java.sun.com/xml/ns/persistence/orm}access-type" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Embedded

        public Embedded()
    • Method Detail

      • getAttributeOverride

        public List<AttributeOverride> getAttributeOverride()
        Gets the value of the attributeOverride property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the attributeOverride property. For example, to add a new item, do as follows:
            getAttributeOverride().add(newItem);
         
        Objects of the following type(s) are allowed in the list AttributeOverride
      • getAssociationOverride

        public List<AssociationOverride> getAssociationOverride()
        Gets the value of the associationOverride property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the associationOverride property. For example, to add a new item, do as follows:
            getAssociationOverride().add(newItem);
         
        Objects of the following type(s) are allowed in the list AssociationOverride
      • getName

        public String getName()
        Gets the value of the name property.
        Returns:
        possible object is String
      • setName

        public void setName​(String value)
        Sets the value of the name 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