public class Edge extends Object implements IKeyDataContainer
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}description" minOccurs="0"/> <element ref="{http://graphml.graphdrawing.org/xmlns}keyData" 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="isDirected" 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>
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected Graph |
graph |
protected String |
id |
protected Boolean |
isDirected |
protected List<KeyData> |
keyData |
protected String |
source |
protected String |
sourceport |
protected String |
target |
protected String |
targetport |
Constructor and Description |
---|
Edge() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the value of the description property.
|
Graph |
getGraph()
Gets the value of the graph property.
|
String |
getId()
Gets the value of the id property.
|
List<KeyData> |
getKeyData()
Gets the value of the keyData 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 isDirected property.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setDirected(Boolean value)
Sets the value of the isDirected property.
|
void |
setGraph(Graph 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.
|
protected String description
protected Graph graph
protected String id
protected Boolean isDirected
protected String source
protected String target
protected String sourceport
protected String targetport
public String getDescription()
String
public void setDescription(String value)
value
- allowed object is
String
public List<KeyData> getKeyData()
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 keyData 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
KeyData
getKeyData
in interface IKeyDataContainer
public Graph getGraph()
Graph
public void setGraph(Graph value)
value
- allowed object is
Graph
public void setId(String value)
value
- allowed object is
String
public Boolean isDirected()
Boolean
public void setDirected(Boolean value)
value
- allowed object is
Boolean
public String getSource()
String
public void setSource(String value)
value
- allowed object is
String
public String getTarget()
String
public void setTarget(String value)
value
- allowed object is
String
public String getSourceport()
String
public void setSourceport(String value)
value
- allowed object is
String
public String getTargetport()
String