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

public Class JaxbNamedSubgraph

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@XmlAccessorType:FIELD
@XmlType
name:named-subgraph
namespace:http://www.hibernate.org/xsd/orm/mapping
propOrder:namedAttributeNode
Imports
java.io.Serializable, java.util.ArrayList, .List, jakarta.xml.bind.annotation.XmlAccessType, .XmlAccessorType, .XmlAttribute, .XmlElement, .XmlType

@Target({}) @Retention(RUNTIME) public @interface NamedSubgraph { String name(); Class type() default void.class; NamedAttributeNode[] attributeNodes(); }

Java class for named-subgraph complex type.

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

<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>

Field Summary

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

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

possible object is String
getClazz
()

Gets the value of the clazz property.

public String

Returns:

possible object is String
getName
()

Gets the value of the name property.

public List<JaxbNamedAttributeNode>

Returns:

The value of the namedAttributeNode property.
getNamedAttributeNode
()

Gets the value of the namedAttributeNode property.

public void
setClazz(String
allowed object is String
value
)

Sets the value of the clazz 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

clazzback to summary
protected String clazz
Annotations
@XmlAttribute
name:class
nameback to summary
protected String name
Annotations
@XmlAttribute
name:name
required:true
namedAttributeNodeback to summary
protected List<JaxbNamedAttributeNode> namedAttributeNode
Annotations
@XmlElement
name:named-attribute-node
namespace:http://www.hibernate.org/xsd/orm/mapping

Constructor Detail

JaxbNamedSubgraphback to summary
public JaxbNamedSubgraph()

Method Detail

getClazzback to summary
public String getClazz()

Gets the value of the clazz property.

Returns:String

possible object is String

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 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 JaxbNamedAttributeNode

Returns:List<JaxbNamedAttributeNode>

The value of the namedAttributeNode property.

setClazzback to summary
public void setClazz(String value)

Sets the value of the clazz property.

Parameters
value:String

allowed object is String

setNameback to summary
public void setName(String value)

Sets the value of the name property.

Parameters
value:String

allowed object is String