Top Description Fields Constructors Methods
org.hibernate.boot.jaxb.mapping.spi

public Class JaxbNamedEntityGraph

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:named-entity-graph
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
propOrder:namedAttributeNode, subgraph, subclassSubgraph
Imports
java.io.Serializable, java.util.ArrayList, .List, javax.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

@Target({TYPE}) @Retention(RUNTIME) public @interface NamedEntityGraph { String name() default ""; NamedAttributeNode[] attributeNodes() default {}; boolean includeAllAttributes() default false; NamedSubgraph[] subgraphs() default {}; NamedSubGraph[] subclassSubgraphs() default {}; }

Java class for named-entity-graph complex type.

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

<complexType name="named-entity-graph">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="named-attribute-node" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}named-attribute-node" maxOccurs="unbounded" minOccurs="0"/>
        <element name="subgraph" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}named-subgraph" maxOccurs="unbounded" minOccurs="0"/>
        <element name="subclass-subgraph" type="{http://xmlns.jcp.org/xml/ns/persistence/orm}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>

Field Summary

Modifier and TypeField and Description
protected Boolean
protected String
protected List<JaxbNamedAttributeNode>
protected List<JaxbNamedSubgraph>
protected List<JaxbNamedSubgraph>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public List<JaxbNamedAttributeNode>
getNamedAttributeNode()

Gets the value of the namedAttributeNode property.

public List<JaxbNamedSubgraph>
getSubclassSubgraph()

Gets the value of the subclassSubgraph property.

public List<JaxbNamedSubgraph>
getSubgraph()

Gets the value of the subgraph property.

public Boolean

Returns:

possible object is Boolean
isIncludeAllAttributes
()

Gets the value of the includeAllAttributes property.

public void
setIncludeAllAttributes(Boolean
allowed object is Boolean
value
)

Sets the value of the includeAllAttributes property.

public void
setName(String
allowed object is String
value
)

Sets the value of the name property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

includeAllAttributesback to summary
protected Boolean includeAllAttributes
Annotations
@XmlAttribute
name:include-all-attributes
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
namedAttributeNodeback to summary
protected List<JaxbNamedAttributeNode> namedAttributeNode
Annotations
@XmlElement
name:named-attribute-node
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
subclassSubgraphback to summary
protected List<JaxbNamedSubgraph> subclassSubgraph
Annotations
@XmlElement
name:subclass-subgraph
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm
subgraphback to summary
protected List<JaxbNamedSubgraph> subgraph
Annotations
@XmlElement
namespace:http://xmlns.jcp.org/xml/ns/persistence/orm

Constructor Detail

JaxbNamedEntityGraphback to summary
public JaxbNamedEntityGraph()

Method Detail

getNameback to summary
public String getName()

Gets the value of the name property.

Returns:String

possible object is String

getNamedAttributeNodeback to summary
public List<JaxbNamedAttributeNode> 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 JAXB 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 JaxbNamedAttributeNode

getSubclassSubgraphback to summary
public List<JaxbNamedSubgraph> 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 JAXB 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 JaxbNamedSubgraph

getSubgraphback to summary
public List<JaxbNamedSubgraph> 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 JAXB 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 JaxbNamedSubgraph

isIncludeAllAttributesback to summary
public Boolean isIncludeAllAttributes()

Gets the value of the includeAllAttributes property.

Returns:Boolean

possible object is Boolean

setIncludeAllAttributesback to summary
public void setIncludeAllAttributes(Boolean value)

Sets the value of the includeAllAttributes property.

Parameters
value:Boolean

allowed object is Boolean

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String