Package org.graphdrawing.graphml
Class GraphType
java.lang.Object
org.graphdrawing.graphml.GraphType
public class GraphType
extends java.lang.Object
Complex type for the element.
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}desc" minOccurs="0"/> <choice> <sequence> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://graphml.graphdrawing.org/xmlns}data"/> <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="edgedefault" use="required" type="{http://graphml.graphdrawing.org/xmlns}graph.edgedefault.type" /> </restriction> </complexContent> </complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>
dataOrNodeOrEdge
protected java.lang.String
desc
protected GraphEdgedefaultType
edgedefault
protected java.lang.String
id
protected LocatorType
locator
protected GraphEdgeidsType
parseEdgeids
protected java.math.BigInteger
parseEdges
protected java.math.BigInteger
parseMaxindegree
protected java.math.BigInteger
parseMaxoutdegree
protected GraphNodeidsType
parseNodeids
protected java.math.BigInteger
parseNodes
protected GraphOrderType
parseOrder
-
Constructor Summary
Constructors Constructor Description GraphType()
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.Object>
getDataOrNodeOrEdge()
Gets the value of the dataOrNodeOrEdge property.java.lang.String
getDesc()
Gets the value of the desc property.GraphEdgedefaultType
getEdgedefault()
Gets the value of the edgedefault property.java.lang.String
getId()
Gets the value of the id property.LocatorType
getLocator()
Gets the value of the locator property.GraphEdgeidsType
getParseEdgeids()
Gets the value of the parseEdgeids property.java.math.BigInteger
getParseEdges()
Gets the value of the parseEdges property.java.math.BigInteger
getParseMaxindegree()
Gets the value of the parseMaxindegree property.java.math.BigInteger
getParseMaxoutdegree()
Gets the value of the parseMaxoutdegree property.GraphNodeidsType
getParseNodeids()
Gets the value of the parseNodeids property.java.math.BigInteger
getParseNodes()
Gets the value of the parseNodes property.GraphOrderType
getParseOrder()
Gets the value of the parseOrder property.void
setDesc(java.lang.String value)
Sets the value of the desc property.void
setEdgedefault(GraphEdgedefaultType value)
Sets the value of the edgedefault property.void
setId(java.lang.String value)
Sets the value of the id property.void
setLocator(LocatorType value)
Sets the value of the locator property.void
setParseEdgeids(GraphEdgeidsType value)
Sets the value of the parseEdgeids property.void
setParseEdges(java.math.BigInteger value)
Sets the value of the parseEdges property.void
setParseMaxindegree(java.math.BigInteger value)
Sets the value of the parseMaxindegree property.void
setParseMaxoutdegree(java.math.BigInteger value)
Sets the value of the parseMaxoutdegree property.void
setParseNodeids(GraphNodeidsType value)
Sets the value of the parseNodeids property.void
setParseNodes(java.math.BigInteger value)
Sets the value of the parseNodes property.void
setParseOrder(GraphOrderType value)
Sets the value of the parseOrder property.
-
Field Details
-
desc
protected java.lang.String desc -
dataOrNodeOrEdge
protected java.util.List<java.lang.Object> dataOrNodeOrEdge -
locator
-
id
protected java.lang.String id -
edgedefault
-
parseNodeids
-
parseEdgeids
-
parseOrder
-
parseNodes
protected java.math.BigInteger parseNodes -
parseEdges
protected java.math.BigInteger parseEdges -
parseMaxindegree
protected java.math.BigInteger parseMaxindegree -
parseMaxoutdegree
protected java.math.BigInteger parseMaxoutdegree
-
-
Constructor Details
-
GraphType
public GraphType()
-
-
Method Details
-
getDesc
public java.lang.String getDesc()Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(java.lang.String value)Sets the value of the desc property.- Parameters:
value
- allowed object isString
-
getDataOrNodeOrEdge
public java.util.List<java.lang.Object> getDataOrNodeOrEdge()Gets the value of the dataOrNodeOrEdge 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 dataOrNodeOrEdge property.For example, to add a new item, do as follows:
getDataOrNodeOrEdge().add(newItem);
Objects of the following type(s) are allowed in the list
DataType
NodeType
EdgeType
HyperedgeType
-
getLocator
Gets the value of the locator property.- Returns:
- possible object is
LocatorType
-
setLocator
Sets the value of the locator property.- Parameters:
value
- allowed object isLocatorType
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value
- allowed object isString
-
getEdgedefault
Gets the value of the edgedefault property.- Returns:
- possible object is
GraphEdgedefaultType
-
setEdgedefault
Sets the value of the edgedefault property.- Parameters:
value
- allowed object isGraphEdgedefaultType
-
getParseNodeids
Gets the value of the parseNodeids property.- Returns:
- possible object is
GraphNodeidsType
-
setParseNodeids
Sets the value of the parseNodeids property.- Parameters:
value
- allowed object isGraphNodeidsType
-
getParseEdgeids
Gets the value of the parseEdgeids property.- Returns:
- possible object is
GraphEdgeidsType
-
setParseEdgeids
Sets the value of the parseEdgeids property.- Parameters:
value
- allowed object isGraphEdgeidsType
-
getParseOrder
Gets the value of the parseOrder property.- Returns:
- possible object is
GraphOrderType
-
setParseOrder
Sets the value of the parseOrder property.- Parameters:
value
- allowed object isGraphOrderType
-
getParseNodes
public java.math.BigInteger getParseNodes()Gets the value of the parseNodes property.- Returns:
- possible object is
BigInteger
-
setParseNodes
public void setParseNodes(java.math.BigInteger value)Sets the value of the parseNodes property.- Parameters:
value
- allowed object isBigInteger
-
getParseEdges
public java.math.BigInteger getParseEdges()Gets the value of the parseEdges property.- Returns:
- possible object is
BigInteger
-
setParseEdges
public void setParseEdges(java.math.BigInteger value)Sets the value of the parseEdges property.- Parameters:
value
- allowed object isBigInteger
-
getParseMaxindegree
public java.math.BigInteger getParseMaxindegree()Gets the value of the parseMaxindegree property.- Returns:
- possible object is
BigInteger
-
setParseMaxindegree
public void setParseMaxindegree(java.math.BigInteger value)Sets the value of the parseMaxindegree property.- Parameters:
value
- allowed object isBigInteger
-
getParseMaxoutdegree
public java.math.BigInteger getParseMaxoutdegree()Gets the value of the parseMaxoutdegree property.- Returns:
- possible object is
BigInteger
-
setParseMaxoutdegree
public void setParseMaxoutdegree(java.math.BigInteger value)Sets the value of the parseMaxoutdegree property.- Parameters:
value
- allowed object isBigInteger
-