public class Graph extends Object implements IKeyDataContainer
Java class for graph.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="graph.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}keyData"/> <element ref="{http://graphml.graphdrawing.org/xmlns}node"/> <element ref="{http://graphml.graphdrawing.org/xmlns}edge"/> <element ref="{http://graphml.graphdrawing.org/xmlns}hyperedge"/> </choice> </sequence> <element ref="{http://graphml.graphdrawing.org/xmlns}locator"/> </choice> </sequence> <attGroup ref="{http://graphml.graphdrawing.org/xmlns}graph.extra.attrib"/> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> <attribute name="defaultEdgeType" use="required" type="{http://graphml.graphdrawing.org/xmlns}graph.defaultEdgeType.type" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected DefaultEdgeType |
defaultEdgeType |
protected String |
description |
protected EdgeIDType |
edgeIDType |
protected List<Edge> |
edges |
protected GraphParseOrder |
graphParseOrder |
protected List<Hyperedge> |
hyperedges |
protected String |
id |
protected List<KeyData> |
keyData |
protected Locator |
locator |
protected BigInteger |
maximumIncomingDegree |
protected BigInteger |
maximumOutgoingDegree |
protected NodeIDType |
nodeIDType |
protected List<Node> |
nodes |
protected BigInteger |
numberOfEdges |
protected BigInteger |
numberOfNodes |
Constructor and Description |
---|
Graph() |
Modifier and Type | Method and Description |
---|---|
DefaultEdgeType |
getDefaultEdgeType()
Gets the value of the defaultEdgeType property.
|
String |
getDescription()
Gets the value of the description property.
|
EdgeIDType |
getEdgeIDType()
Gets the value of the edgeIDType property.
|
List<Edge> |
getEdges()
Gets the value of the edges property.
|
GraphParseOrder |
getGraphParseOrder()
Gets the value of the graphParseOrder property.
|
List<Hyperedge> |
getHyperedges()
Gets the value of the hyperedges property.
|
String |
getId()
Gets the value of the id property.
|
List<KeyData> |
getKeyData()
Gets the value of the keyData property.
|
Locator |
getLocator()
Gets the value of the locator property.
|
BigInteger |
getMaximumIncomingDegree()
Gets the value of the maximumIncomingDegree property.
|
BigInteger |
getMaximumOutgoingDegree()
Gets the value of the maximumOutgoingDegree property.
|
NodeIDType |
getNodeIDType()
Gets the value of the nodeIDType property.
|
List<Node> |
getNodes()
Gets the value of the nodes property.
|
BigInteger |
getNumberOfEdges()
Gets the value of the numberOfEdges property.
|
BigInteger |
getNumberOfNodes()
Gets the value of the numberOfNodes property.
|
void |
setDefaultEdgeType(DefaultEdgeType value)
Sets the value of the defaultEdgeType property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setEdgeIDType(EdgeIDType value)
Sets the value of the edgeIDType property.
|
void |
setGraphParseOrder(GraphParseOrder value)
Sets the value of the graphParseOrder property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setLocator(Locator value)
Sets the value of the locator property.
|
void |
setMaximumIncomingDegree(BigInteger value)
Sets the value of the maximumIncomingDegree property.
|
void |
setMaximumOutgoingDegree(BigInteger value)
Sets the value of the maximumOutgoingDegree property.
|
void |
setNodeIDType(NodeIDType value)
Sets the value of the nodeIDType property.
|
void |
setNumberOfEdges(BigInteger value)
Sets the value of the numberOfEdges property.
|
void |
setNumberOfNodes(BigInteger value)
Sets the value of the numberOfNodes property.
|
protected String description
protected Locator locator
protected String id
protected DefaultEdgeType defaultEdgeType
protected NodeIDType nodeIDType
protected EdgeIDType edgeIDType
protected GraphParseOrder graphParseOrder
protected BigInteger numberOfNodes
protected BigInteger numberOfEdges
protected BigInteger maximumIncomingDegree
protected BigInteger maximumOutgoingDegree
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<Node> getNodes()
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 nodes property.
For example, to add a new item, do as follows:
getNodes().add(newItem);
Objects of the following type(s) are allowed in the list
Node
public List<Edge> getEdges()
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 edges property.
For example, to add a new item, do as follows:
getEdges().add(newItem);
Objects of the following type(s) are allowed in the list
Edge
public List<Hyperedge> getHyperedges()
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 hyperedges property.
For example, to add a new item, do as follows:
getHyperedges().add(newItem);
Objects of the following type(s) are allowed in the list
KeyData
Node
Edge
Hyperedge
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 DefaultEdgeType getDefaultEdgeType()
DefaultEdgeType
public void setDefaultEdgeType(DefaultEdgeType value)
value
- allowed object is
DefaultEdgeType
public NodeIDType getNodeIDType()
NodeIDType
public void setNodeIDType(NodeIDType value)
value
- allowed object is
NodeIDType
public EdgeIDType getEdgeIDType()
EdgeIDType
public void setEdgeIDType(EdgeIDType value)
value
- allowed object is
EdgeIDType
public GraphParseOrder getGraphParseOrder()
GraphParseOrder
public void setGraphParseOrder(GraphParseOrder value)
value
- allowed object is
GraphParseOrder
public BigInteger getNumberOfNodes()
BigInteger
public void setNumberOfNodes(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getNumberOfEdges()
BigInteger
public void setNumberOfEdges(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getMaximumIncomingDegree()
BigInteger
public void setMaximumIncomingDegree(BigInteger value)
value
- allowed object is
BigInteger
public BigInteger getMaximumOutgoingDegree()
BigInteger
public void setMaximumOutgoingDegree(BigInteger value)
value
- allowed object is
BigInteger