Java class for GraphType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="GraphType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="node" type="{http://www.anwiba.net/tools/simple/graphml}NodeType" maxOccurs="unbounded" minOccurs="0"/>
<element name="edge" type="{http://www.anwiba.net/tools/simple/graphml}EdgeType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="edgedefault" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEdge()Gets the value of the edge property.Gets the value of the edgedefault property.getId()Gets the value of the id property.getNode()Gets the value of the node property.voidsetEdgedefault(String value) Sets the value of the edgedefault property.voidSets the value of the id property.
-
Field Details
-
node
-
edge
-
id
-
edgedefault
-
-
Constructor Details
-
Graph
public Graph()
-
-
Method Details
-
getNode
Gets the value of the node 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 node property.For example, to add a new item, do as follows:
getNode().add(newItem);Objects of the following type(s) are allowed in the list
Node- Returns:
- The value of the node property.
-
getEdge
Gets the value of the edge 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 edge property.For example, to add a new item, do as follows:
getEdge().add(newItem);Objects of the following type(s) are allowed in the list
Edge- Returns:
- The value of the edge property.
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
getEdgedefault
Gets the value of the edgedefault property.- Returns:
- possible object is
String
-
setEdgedefault
Sets the value of the edgedefault property.- Parameters:
value- allowed object isString
-