@Target(value={})
@Retention(value=RUNTIME)
public @interface NamedSubgraph
NamedSubgraph
is a member element of a
NamedEntityGraph
. The NamedSubgraph
is
only referenced from within a NamedEntityGraph and can not be
referenced independently. It is referenced by its name
from a NamedAttributeNode
element of the
NamedEntityGraph
.NamedEntityGraph
,
NamedAttributeNode
Modifier and Type | Required Element and Description |
---|---|
NamedAttributeNode[] |
attributeNodes
(Required) The list of the attributes of the class that must
be included.
|
java.lang.String |
name
(Required) The name of the subgraph as referenced from a
NamedAttributeNode element.
|
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class |
type
(Optional) The type represented by this subgraph.
|
public abstract java.lang.String name
public abstract NamedAttributeNode[] attributeNodes
public abstract java.lang.Class type