Class JaxbNamedEntityGraphImpl

java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbNamedEntityGraphImpl
All Implemented Interfaces:
Serializable

public class JaxbNamedEntityGraphImpl extends Object implements Serializable
@Repeatable(NamedEntityGraphs.class) @Target({TYPE}) @Retention(RUNTIME) public @interface NamedEntityGraph { String name() default ""; NamedAttributeNode[] attributeNodes() default {}; boolean includeAllAttributes() default false; NamedSubgraph[] subgraphs() default {}; NamedSubGraph[] subclassSubgraphs() default {}; } <p>Java class for named-entity-graph complex type</p>. <p>The following schema fragment specifies the expected content contained within this class.</p> <pre>{@code <complexType name="named-entity-graph"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="named-attribute-node" type="{http://www.hibernate.org/xsd/orm/mapping}named-attribute-node" maxOccurs="unbounded" minOccurs="0"/> <element name="subgraph" type="{http://www.hibernate.org/xsd/orm/mapping}named-subgraph" maxOccurs="unbounded" minOccurs="0"/> <element name="subclass-subgraph" type="{http://www.hibernate.org/xsd/orm/mapping}named-subgraph" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="include-all-attributes" type="{http://www.w3.org/2001/XMLSchema}boolean" /> </restriction> </complexContent> </complexType> }</pre>
See Also:
  • Field Details

  • Constructor Details

    • JaxbNamedEntityGraphImpl

      public JaxbNamedEntityGraphImpl()
  • Method Details

    • getNamedAttributeNode

      public List<JaxbNamedAttributeNodeImpl> getNamedAttributeNode()
      Gets the value of the namedAttributeNode 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 Jakarta XML Binding object. This is why there is not a set method for the namedAttributeNode property.

      For example, to add a new item, do as follows:

      getNamedAttributeNode().add(newItem);
      

      Objects of the following type(s) are allowed in the list JaxbNamedAttributeNodeImpl

      Returns:
      The value of the namedAttributeNode property.
    • getSubgraph

      public List<JaxbNamedSubgraphImpl> getSubgraph()
      Gets the value of the subgraph 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 Jakarta XML Binding object. This is why there is not a set method for the subgraph property.

      For example, to add a new item, do as follows:

      getSubgraph().add(newItem);
      

      Objects of the following type(s) are allowed in the list JaxbNamedSubgraphImpl

      Returns:
      The value of the subgraph property.
    • getSubclassSubgraph

      public List<JaxbNamedSubgraphImpl> getSubclassSubgraph()
      Gets the value of the subclassSubgraph 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 Jakarta XML Binding object. This is why there is not a set method for the subclassSubgraph property.

      For example, to add a new item, do as follows:

      getSubclassSubgraph().add(newItem);
      

      Objects of the following type(s) are allowed in the list JaxbNamedSubgraphImpl

      Returns:
      The value of the subclassSubgraph property.
    • 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
    • isIncludeAllAttributes

      public Boolean isIncludeAllAttributes()
      Gets the value of the includeAllAttributes property.
      Returns:
      possible object is Boolean
    • setIncludeAllAttributes

      public void setIncludeAllAttributes(Boolean value)
      Sets the value of the includeAllAttributes property.
      Parameters:
      value - allowed object is Boolean