public interface NamedSubgraph<T> extends Child<T>, OrmNamedSubgraphCommType<T,NamedSubgraph<T>,NamedAttributeNode<NamedSubgraph<T>>>
named-subgraph
xsd typeModifier and Type | Method and Description |
---|---|
NamedSubgraph<T> |
clazz(String clazz)
Sets the
class attribute |
NamedAttributeNode<NamedSubgraph<T>> |
createNamedAttributeNode()
Creates a new
named-attribute-node element |
List<NamedAttributeNode<NamedSubgraph<T>>> |
getAllNamedAttributeNode()
Returns all
named-attribute-node elements |
String |
getClazz()
Returns the
class attribute |
String |
getName()
Returns the
name attribute |
NamedAttributeNode<NamedSubgraph<T>> |
getOrCreateNamedAttributeNode()
If not already created, a new
named-attribute-node element will be created and returned. |
NamedSubgraph<T> |
name(String name)
Sets the
name attribute |
NamedSubgraph<T> |
removeAllNamedAttributeNode()
Removes all
named-attribute-node elements |
NamedSubgraph<T> |
removeClazzAttr()
Removes the
class attribute |
NamedSubgraph<T> |
removeName()
Removes the
name attribute |
NamedAttributeNode<NamedSubgraph<T>> getOrCreateNamedAttributeNode()
named-attribute-node
element will be created and returned.
Otherwise, the first existing named-attribute-node
element will be returned.named-attribute-node
NamedAttributeNode<NamedSubgraph<T>> createNamedAttributeNode()
named-attribute-node
elementNamedAttributeNode>
List<NamedAttributeNode<NamedSubgraph<T>>> getAllNamedAttributeNode()
named-attribute-node
elementsnamed-attribute-node
NamedSubgraph<T> removeAllNamedAttributeNode()
named-attribute-node
elementsNamedAttributeNode>
NamedSubgraph<T> name(String name)
name
attributename
- the value for the attribute name
NamedSubgraph
String getName()
name
attributename
NamedSubgraph<T> removeName()
name
attributeNamedSubgraph
NamedSubgraph<T> clazz(String clazz)
class
attributeclazz
- the value for the attribute class
NamedSubgraph
String getClazz()
class
attributeclass
NamedSubgraph<T> removeClazzAttr()
class
attributeNamedSubgraph
Copyright © 2020 JBoss by Red Hat. All rights reserved.