public class NamedEntityGraph extends Object
@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>The following schema fragment specifies the expected content contained within this class.
<pre> <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> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
includeAllAttributes |
protected String |
name |
protected List<NamedAttributeNode> |
namedAttributeNode |
protected List<NamedSubgraph> |
subclassSubgraph |
protected List<NamedSubgraph> |
subgraph |
| Constructor and Description |
|---|
NamedEntityGraph() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
List<NamedAttributeNode> |
getNamedAttributeNode()
Gets the value of the namedAttributeNode property.
|
List<NamedSubgraph> |
getSubclassSubgraph()
Gets the value of the subclassSubgraph property.
|
List<NamedSubgraph> |
getSubgraph()
Gets the value of the subgraph property.
|
Boolean |
isIncludeAllAttributes()
Gets the value of the includeAllAttributes property.
|
void |
setIncludeAllAttributes(Boolean value)
Sets the value of the includeAllAttributes property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<NamedAttributeNode> namedAttributeNode
protected List<NamedSubgraph> subgraph
protected List<NamedSubgraph> subclassSubgraph
protected String name
protected Boolean includeAllAttributes
public List<NamedAttributeNode> getNamedAttributeNode()
Gets the value of the namedAttributeNode property.
<p> 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 <CODE>set</CODE> method for the namedAttributeNode property.
<p> For example, to add a new item, do as follows: <pre> getNamedAttributeNode().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
NamedAttributeNode
public List<NamedSubgraph> getSubgraph()
Gets the value of the subgraph property.
<p> 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 <CODE>set</CODE> method for the subgraph property.
<p> For example, to add a new item, do as follows: <pre> getSubgraph().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
NamedSubgraph
public List<NamedSubgraph> getSubclassSubgraph()
Gets the value of the subclassSubgraph property.
<p> 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 <CODE>set</CODE> method for the subclassSubgraph property.
<p> For example, to add a new item, do as follows: <pre> getSubclassSubgraph().add(newItem); </pre>
<p>
Objects of the following type(s) are allowed in the list
NamedSubgraph
public String getName()
Gets the value of the name property.
Stringpublic void setName(String value)
Sets the value of the name property.
value - allowed object is
Stringpublic Boolean isIncludeAllAttributes()
Gets the value of the includeAllAttributes property.
BooleanCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.