Package org.graphdrawing.graphml
Class NodeType
java.lang.Object
org.graphdrawing.graphml.NodeType
Complex type for the element.
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}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}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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected GraphTypeprotected Stringprotected LocatorTypeprotected BigIntegerprotected BigInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the dataOrPort property.getDesc()Gets the value of the desc property.getGraph()Gets the value of the graph property.getId()Gets the value of the id property.Gets the value of the locator property.Gets the value of the parseIndegree property.Gets the value of the parseOutdegree property.voidSets the value of the desc property.voidSets the value of the graph property.voidSets the value of the id property.voidsetLocator(LocatorType value) Sets the value of the locator property.voidsetParseIndegree(BigInteger value) Sets the value of the parseIndegree property.voidsetParseOutdegree(BigInteger value) Sets the value of the parseOutdegree property.
-
Field Details
-
desc
-
dataOrPort
-
graph
-
locator
-
id
-
parseIndegree
-
parseOutdegree
-
-
Constructor Details
-
NodeType
public NodeType()
-
-
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
-
getDataOrPort
Gets the value of the dataOrPort 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 dataOrPort property.For example, to add a new item, do as follows:
getDataOrPort().add(newItem);
Objects of the following type(s) are allowed in the list
DataTypePortType -
getGraph
Gets the value of the graph property.- Returns:
- possible object is
GraphType
-
setGraph
Sets the value of the graph property.- Parameters:
value- allowed object isGraphType
-
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
-
getParseIndegree
Gets the value of the parseIndegree property.- Returns:
- possible object is
BigInteger
-
setParseIndegree
Sets the value of the parseIndegree property.- Parameters:
value- allowed object isBigInteger
-
getParseOutdegree
Gets the value of the parseOutdegree property.- Returns:
- possible object is
BigInteger
-
setParseOutdegree
Sets the value of the parseOutdegree property.- Parameters:
value- allowed object isBigInteger
-