Package org.graphdrawing.graphml
Class HyperedgeType
java.lang.Object
org.graphdrawing.graphml.HyperedgeType
public class HyperedgeType
extends java.lang.Object
Complex type for the element.
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}desc" 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>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>
dataOrEndpoint
protected java.lang.String
desc
protected GraphType
graph
protected java.lang.String
id
-
Constructor Summary
Constructors Constructor Description HyperedgeType()
-
Method Summary
Modifier and Type Method Description java.util.List<java.lang.Object>
getDataOrEndpoint()
Gets the value of the dataOrEndpoint property.java.lang.String
getDesc()
Gets the value of the desc property.GraphType
getGraph()
Gets the value of the graph property.java.lang.String
getId()
Gets the value of the id property.void
setDesc(java.lang.String value)
Sets the value of the desc property.void
setGraph(GraphType value)
Sets the value of the graph property.void
setId(java.lang.String value)
Sets the value of the id property.
-
Field Details
-
desc
protected java.lang.String desc -
dataOrEndpoint
protected java.util.List<java.lang.Object> dataOrEndpoint -
graph
-
id
protected java.lang.String id
-
-
Constructor Details
-
HyperedgeType
public HyperedgeType()
-
-
Method Details
-
getDesc
public java.lang.String getDesc()Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(java.lang.String value)Sets the value of the desc property.- Parameters:
value
- allowed object isString
-
getDataOrEndpoint
public java.util.List<java.lang.Object> getDataOrEndpoint()Gets the value of the dataOrEndpoint 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 dataOrEndpoint property.For example, to add a new item, do as follows:
getDataOrEndpoint().add(newItem);
Objects of the following type(s) are allowed in the list
DataType
EndpointType
-
getGraph
Gets the value of the graph property.- Returns:
- possible object is
GraphType
-
setGraph
Sets the value of the graph property.- Parameters:
value
- allowed object isGraphType
-
getId
public java.lang.String getId()Gets the value of the id property.- Returns:
- possible object is
String
-
setId
public void setId(java.lang.String value)Sets the value of the id property.- Parameters:
value
- allowed object isString
-