public class NamedSubgraph extends Object
@Target({}) @Retention(RUNTIME) public @interface NamedSubgraph { String name(); Class type() default void.class; NamedAttributeNode[] attributeNodes(); }
<p>Java class for named-subgraph complex type.
<p>The following schema fragment specifies the expected content contained within this class.
<pre> <complexType name="named-subgraph"> <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"/> </sequence> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="class" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>
| Modifier and Type | Field and Description |
|---|---|
protected String |
clazz |
protected String |
name |
protected List<NamedAttributeNode> |
namedAttributeNode |
| Constructor and Description |
|---|
NamedSubgraph() |
| Modifier and Type | Method and Description |
|---|---|
String |
getClazz()
Gets the value of the clazz property.
|
String |
getName()
Gets the value of the name property.
|
List<NamedAttributeNode> |
getNamedAttributeNode()
Gets the value of the namedAttributeNode property.
|
void |
setClazz(String value)
Sets the value of the clazz property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<NamedAttributeNode> namedAttributeNode
protected String name
protected String clazz
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 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 String getClazz()
Gets the value of the clazz property.
StringCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.