Package org.graphdrawing.graphml
Class EdgeType
java.lang.Object
org.graphdrawing.graphml.EdgeType
Complex type for the element.
Java class for edge.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="edge.type">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://graphml.graphdrawing.org/xmlns}desc" minOccurs="0"/>
<element ref="{http://graphml.graphdrawing.org/xmlns}data" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://graphml.graphdrawing.org/xmlns}graph" minOccurs="0"/>
</sequence>
<attGroup ref="{http://graphml.graphdrawing.org/xmlns}edge.extra.attrib"/>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="directed" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="target" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="sourceport" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
<attribute name="targetport" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetData()Gets the value of the data 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 source property.Gets the value of the sourceport property.Gets the value of the target property.Gets the value of the targetport property.Gets the value of the directed property.voidSets the value of the desc property.voidsetDirected(Boolean value) Sets the value of the directed property.voidSets the value of the graph property.voidSets the value of the id property.voidSets the value of the source property.voidsetSourceport(String value) Sets the value of the sourceport property.voidSets the value of the target property.voidsetTargetport(String value) Sets the value of the targetport property.
-
Field Details
-
desc
-
data
-
graph
-
id
-
directed
-
source
-
target
-
sourceport
-
targetport
-
-
Constructor Details
-
EdgeType
public EdgeType()
-
-
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
-
getData
Gets the value of the data 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 data property.For example, to add a new item, do as follows:
getData().add(newItem);
Objects of the following type(s) are allowed in the list
DataType -
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
-
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
-
isDirected
Gets the value of the directed property.- Returns:
- possible object is
Boolean
-
setDirected
Sets the value of the directed property.- Parameters:
value- allowed object isBoolean
-
getSource
Gets the value of the source property.- Returns:
- possible object is
String
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isString
-
getTarget
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
Sets the value of the target property.- Parameters:
value- allowed object isString
-
getSourceport
Gets the value of the sourceport property.- Returns:
- possible object is
String
-
setSourceport
Sets the value of the sourceport property.- Parameters:
value- allowed object isString
-
getTargetport
Gets the value of the targetport property.- Returns:
- possible object is
String
-
setTargetport
Sets the value of the targetport property.- Parameters:
value- allowed object isString
-