public class EdgeType extends Object
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>
Modifier and Type | Field and Description |
---|---|
protected List<DataType> |
data |
protected String |
desc |
protected Boolean |
directed |
protected GraphType |
graph |
protected String |
id |
protected String |
source |
protected String |
sourceport |
protected String |
target |
protected String |
targetport |
Constructor and Description |
---|
EdgeType() |
Modifier and Type | Method and 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.
|
protected String desc
protected GraphType graph
protected String id
protected Boolean directed
protected String source
protected String target
protected String sourceport
protected String targetport
public String getDesc()
String
public void setDesc(String value)
value
- allowed object is
String
public List<DataType> getData()
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
public GraphType getGraph()
GraphType
public void setGraph(GraphType value)
value
- allowed object is
GraphType
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
Copyright © 2020. All rights reserved.