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>dataOrNodeOrEdgeprotected java.lang.Stringdescprotected GraphEdgedefaultTypeedgedefaultprotected java.lang.Stringidprotected LocatorTypelocatorprotected GraphEdgeidsTypeparseEdgeidsprotected java.math.BigIntegerparseEdgesprotected java.math.BigIntegerparseMaxindegreeprotected java.math.BigIntegerparseMaxoutdegreeprotected GraphNodeidsTypeparseNodeidsprotected java.math.BigIntegerparseNodesprotected GraphOrderTypeparseOrder -
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.StringgetDesc()Gets the value of the desc property.GraphEdgedefaultTypegetEdgedefault()Gets the value of the edgedefault property.java.lang.StringgetId()Gets the value of the id property.LocatorTypegetLocator()Gets the value of the locator property.GraphEdgeidsTypegetParseEdgeids()Gets the value of the parseEdgeids property.java.math.BigIntegergetParseEdges()Gets the value of the parseEdges property.java.math.BigIntegergetParseMaxindegree()Gets the value of the parseMaxindegree property.java.math.BigIntegergetParseMaxoutdegree()Gets the value of the parseMaxoutdegree property.GraphNodeidsTypegetParseNodeids()Gets the value of the parseNodeids property.java.math.BigIntegergetParseNodes()Gets the value of the parseNodes property.GraphOrderTypegetParseOrder()Gets the value of the parseOrder property.voidsetDesc(java.lang.String value)Sets the value of the desc property.voidsetEdgedefault(GraphEdgedefaultType value)Sets the value of the edgedefault property.voidsetId(java.lang.String value)Sets the value of the id property.voidsetLocator(LocatorType value)Sets the value of the locator property.voidsetParseEdgeids(GraphEdgeidsType value)Sets the value of the parseEdgeids property.voidsetParseEdges(java.math.BigInteger value)Sets the value of the parseEdges property.voidsetParseMaxindegree(java.math.BigInteger value)Sets the value of the parseMaxindegree property.voidsetParseMaxoutdegree(java.math.BigInteger value)Sets the value of the parseMaxoutdegree property.voidsetParseNodeids(GraphNodeidsType value)Sets the value of the parseNodeids property.voidsetParseNodes(java.math.BigInteger value)Sets the value of the parseNodes property.voidsetParseOrder(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
setmethod 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
DataTypeNodeTypeEdgeTypeHyperedgeType -
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
-