public class Edge
extends java.lang.Object
implements java.io.Serializable
Java class for Edge complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Edge"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="from" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="to" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}double" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected int |
from |
protected int |
to |
protected double |
value |
Constructor and Description |
---|
Edge() |
Modifier and Type | Method and Description |
---|---|
int |
getFrom()
Gets the value of the from property.
|
int |
getTo()
Gets the value of the to property.
|
double |
getValue()
Gets the value of the value property.
|
void |
setFrom(int value)
Sets the value of the from property.
|
void |
setTo(int value)
Sets the value of the to property.
|
void |
setValue(double value)
Sets the value of the value property.
|
public int getFrom()
public void setFrom(int value)
public int getTo()
public void setTo(int value)
public double getValue()
public void setValue(double value)