public class Node extends Object implements IKeyDataContainer
Java class for node.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="node.type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://graphml.graphdrawing.org/xmlns}description" minOccurs="0"/> <choice> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://graphml.graphdrawing.org/xmlns}data"/> <element ref="{http://graphml.graphdrawing.org/xmlns}port"/> </choice> <element ref="{http://graphml.graphdrawing.org/xmlns}graph" minOccurs="0"/> </sequence> <element ref="{http://graphml.graphdrawing.org/xmlns}locator"/> </choice> </sequence> <attGroup ref="{http://graphml.graphdrawing.org/xmlns}node.extra.attrib"/> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected Graph |
graph |
protected String |
id |
protected BigInteger |
incomingDegree |
protected List<KeyData> |
keyData |
protected Locator |
locator |
protected BigInteger |
outgoingDegree |
protected List<Port> |
ports |
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the value of the description property.
|
Graph |
getGraph()
Gets the value of the graph property.
|
String |
getId()
Gets the value of the id property.
|
BigInteger |
getIncomingDegree()
Gets the value of the incomingDegree property.
|
List<KeyData> |
getKeyData()
Gets the value of the keyData property.
|
Locator |
getLocator()
Gets the value of the locator property.
|
BigInteger |
getOutgoingDegree()
Gets the value of the outgoingDegree property.
|
List<Port> |
getPorts()
Gets the value of the ports property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setGraph(Graph value)
Sets the value of the graph property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setIncomingDegree(BigInteger value)
Sets the value of the incomingDegree property.
|
void |
setLocator(Locator value)
Sets the value of the locator property.
|
void |
setOutgoingDegree(BigInteger value)
Sets the value of the outgoingDegree property.
|
protected String description
protected Graph graph
protected Locator locator
protected String id
protected BigInteger incomingDegree
protected BigInteger outgoingDegree
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<KeyData> getKeyData()
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 keyData property.
For example, to add a new item, do as follows:
getKeyData().add(newItem);
Objects of the following type(s) are allowed in the list
KeyData
getKeyData
in interface IKeyDataContainer
public List<Port> getPorts()
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 ports property.
For example, to add a new item, do as follows:
getPorts().add(newItem);
Objects of the following type(s) are allowed in the list
Port
public Graph getGraph()
Graph
public void setGraph(Graph value)
value
- allowed object is
Graph
public Locator getLocator()
Locator
public void setLocator(Locator value)
value
- allowed object is
Locator
public void setId(String value)
value
- allowed object is
String
public BigInteger getIncomingDegree()
BigInteger
public void setIncomingDegree(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getOutgoingDegree()
BigInteger
public void setOutgoingDegree(BigInteger value)
value
- allowed object is
BigInteger