Package org.graphdrawing.graphml
Class GraphType
java.lang.Object
org.graphdrawing.graphml.GraphType
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected GraphEdgedefaultTypeprotected Stringprotected LocatorTypeprotected GraphEdgeidsTypeprotected BigIntegerprotected BigIntegerprotected BigIntegerprotected GraphNodeidsTypeprotected BigIntegerprotected GraphOrderType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the dataOrNodeOrEdge property.getDesc()Gets the value of the desc property.Gets the value of the edgedefault property.getId()Gets the value of the id property.Gets the value of the locator property.Gets the value of the parseEdgeids property.Gets the value of the parseEdges property.Gets the value of the parseMaxindegree property.Gets the value of the parseMaxoutdegree property.Gets the value of the parseNodeids property.Gets the value of the parseNodes property.Gets the value of the parseOrder property.voidSets the value of the desc property.voidSets the value of the edgedefault property.voidSets 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(BigInteger value) Sets the value of the parseEdges property.voidsetParseMaxindegree(BigInteger value) Sets the value of the parseMaxindegree property.voidsetParseMaxoutdegree(BigInteger value) Sets the value of the parseMaxoutdegree property.voidsetParseNodeids(GraphNodeidsType value) Sets the value of the parseNodeids property.voidsetParseNodes(BigInteger value) Sets the value of the parseNodes property.voidsetParseOrder(GraphOrderType value) Sets the value of the parseOrder property.
-
Field Details
-
desc
-
dataOrNodeOrEdge
-
locator
-
id
-
edgedefault
-
parseNodeids
-
parseEdgeids
-
parseOrder
-
parseNodes
-
parseEdges
-
parseMaxindegree
-
parseMaxoutdegree
-
-
Constructor Details
-
GraphType
public GraphType()
-
-
Method Details
-
getDesc
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
Sets the value of the desc property.- Parameters:
value- allowed object isString
-
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
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
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
Gets the value of the parseNodes property.- Returns:
- possible object is
BigInteger
-
setParseNodes
Sets the value of the parseNodes property.- Parameters:
value- allowed object isBigInteger
-
getParseEdges
Gets the value of the parseEdges property.- Returns:
- possible object is
BigInteger
-
setParseEdges
Sets the value of the parseEdges property.- Parameters:
value- allowed object isBigInteger
-
getParseMaxindegree
Gets the value of the parseMaxindegree property.- Returns:
- possible object is
BigInteger
-
setParseMaxindegree
Sets the value of the parseMaxindegree property.- Parameters:
value- allowed object isBigInteger
-
getParseMaxoutdegree
Gets the value of the parseMaxoutdegree property.- Returns:
- possible object is
BigInteger
-
setParseMaxoutdegree
Sets the value of the parseMaxoutdegree property.- Parameters:
value- allowed object isBigInteger
-