Class JaxbNamedSubgraphImpl
java.lang.Object
org.hibernate.boot.jaxb.mapping.spi.JaxbNamedSubgraphImpl
- All Implemented Interfaces:
Serializable
@Target({}) @Retention(RUNTIME)
public @interface NamedSubgraph {
String name();
Class<?> type() default void.class;
NamedAttributeNode[] attributeNodes();
}
<p>Java class for named-subgraph complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="named-subgraph">
<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"/>
</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>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<JaxbNamedAttributeNodeImpl> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
namedAttributeNode
-
name
-
clazz
-
-
Constructor Details
-
JaxbNamedSubgraphImpl
public JaxbNamedSubgraphImpl()
-
-
Method Details
-
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
setmethod 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.
-
getName
-
setName
-
getClazz
-
setClazz
-