public class Hyperedge extends Object implements IKeyDataContainer
Java class for hyperedge.type complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="hyperedge.type"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://graphml.graphdrawing.org/xmlns}description" minOccurs="0"/> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{http://graphml.graphdrawing.org/xmlns}data"/> <element ref="{http://graphml.graphdrawing.org/xmlns}endpoint"/> </choice> <element ref="{http://graphml.graphdrawing.org/xmlns}graph" minOccurs="0"/> </sequence> <attGroup ref="{http://graphml.graphdrawing.org/xmlns}hyperedge.extra.attrib"/> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected String |
description |
protected List<Endpoint> |
endpoints |
protected Graph |
graph |
protected String |
id |
protected List<KeyData> |
keyData |
Constructor and Description |
---|
Hyperedge() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the value of the description property.
|
List<Endpoint> |
getEndpoints()
Gets the value of the endpoints 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.
|
void |
setDescription(String value)
Sets the value of the description property.
|
void |
setGraph(Graph value)
Sets the value of the graph property.
|
void |
setId(String value)
Sets the value of the id property.
|
protected String description
protected Graph graph
protected String id
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:
getKeyData().add(newItem);
Objects of the following type(s) are allowed in the list
KeyData
getKeyData
in interface IKeyDataContainer
public List<Endpoint> getEndpoints()
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 endpoints property.
For example, to add a new item, do as follows:
getEndpoints().add(newItem);
Objects of the following type(s) are allowed in the list
Endpoint
public Graph getGraph()
Graph
public void setGraph(Graph value)
value
- allowed object is
Graph