Package org.graphdrawing.graphml
Class EdgeType
- java.lang.Object
-
- org.graphdrawing.graphml.EdgeType
-
public class EdgeType extends Object
Complex type for theelement. 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>
-
-
Constructor Summary
Constructors Constructor Description EdgeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DataType>
getData()
Gets the value of the data property.String
getDesc()
Gets the value of the desc property.GraphType
getGraph()
Gets the value of the graph property.String
getId()
Gets the value of the id property.String
getSource()
Gets the value of the source property.String
getSourceport()
Gets the value of the sourceport property.String
getTarget()
Gets the value of the target property.String
getTargetport()
Gets the value of the targetport property.Boolean
isDirected()
Gets the value of the directed property.void
setDesc(String value)
Sets the value of the desc property.void
setDirected(Boolean value)
Sets the value of the directed property.void
setGraph(GraphType value)
Sets the value of the graph property.void
setId(String value)
Sets the value of the id property.void
setSource(String value)
Sets the value of the source property.void
setSourceport(String value)
Sets the value of the sourceport property.void
setTarget(String value)
Sets the value of the target property.void
setTargetport(String value)
Sets the value of the targetport property.
-
-
-
Method Detail
-
getDesc
public String getDesc()
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(String value)
Sets the value of the desc property.- Parameters:
value
- allowed object isString
-
getData
public List<DataType> 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
set
method 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
public GraphType getGraph()
Gets the value of the graph property.- Returns:
- possible object is
GraphType
-
setGraph
public void setGraph(GraphType value)
Sets the value of the graph property.- Parameters:
value
- allowed object isGraphType
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value
- allowed object isString
-
isDirected
public Boolean isDirected()
Gets the value of the directed property.- Returns:
- possible object is
Boolean
-
setDirected
public void setDirected(Boolean value)
Sets the value of the directed property.- Parameters:
value
- allowed object isBoolean
-
getSource
public String getSource()
Gets the value of the source property.- Returns:
- possible object is
String
-
setSource
public void setSource(String value)
Sets the value of the source property.- Parameters:
value
- allowed object isString
-
getTarget
public String getTarget()
Gets the value of the target property.- Returns:
- possible object is
String
-
setTarget
public void setTarget(String value)
Sets the value of the target property.- Parameters:
value
- allowed object isString
-
getSourceport
public String getSourceport()
Gets the value of the sourceport property.- Returns:
- possible object is
String
-
setSourceport
public void setSourceport(String value)
Sets the value of the sourceport property.- Parameters:
value
- allowed object isString
-
getTargetport
public String getTargetport()
Gets the value of the targetport property.- Returns:
- possible object is
String
-
-