- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlNamedSubgraph
-
public class XmlNamedSubgraph extends Object
Java class for xml-named-subgraph complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="xml-named-subgraph"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="xml-named-attribute-node" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-named-attribute-node"/> </sequence> <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
protected String
type
protected List<XmlNamedAttributeNode>
xmlNamedAttributeNode
-
Constructor Summary
Constructors Constructor Description XmlNamedSubgraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Gets the value of the name property.String
getType()
Gets the value of the type property.List<XmlNamedAttributeNode>
getXmlNamedAttributeNode()
Gets the value of the xmlNamedAttributeNode property.void
setName(String value)
Sets the value of the name property.void
setType(String value)
Sets the value of the type property.
-
-
-
Field Detail
-
xmlNamedAttributeNode
protected List<XmlNamedAttributeNode> xmlNamedAttributeNode
-
name
protected String name
-
type
protected String type
-
-
Method Detail
-
getXmlNamedAttributeNode
public List<XmlNamedAttributeNode> getXmlNamedAttributeNode()
Gets the value of the xmlNamedAttributeNode 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 JAXB object. This is why there is not a
set
method for the xmlNamedAttributeNode property.For example, to add a new item, do as follows:
getXmlNamedAttributeNode().add(newItem);
Objects of the following type(s) are allowed in the list
XmlNamedAttributeNode
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value
- allowed object isString
-
getType
public String getType()
Gets the value of the type property.- Returns:
- possible object is
String
-
-