Package org.graphdrawing.graphml
Class HyperedgeType
- java.lang.Object
-
- org.graphdrawing.graphml.HyperedgeType
-
public class HyperedgeType extends Object
Complex type for theelement. 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>
-
-
Constructor Summary
Constructors Constructor Description HyperedgeType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>
getDataOrEndpoint()
Gets the value of the dataOrEndpoint 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.void
setDesc(String value)
Sets the value of the desc property.void
setGraph(GraphType value)
Sets the value of the graph property.void
setId(String value)
Sets the value of the id property.
-
-
-
Method Detail
-
getDesc
public String getDesc()
Gets the value of the desc property.- Returns:
- possible object is
String
-
setDesc
public void setDesc(String value)
Sets the value of the desc property.- Parameters:
value
- allowed object isString
-
getDataOrEndpoint
public List<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
public GraphType getGraph()
Gets the value of the graph property.- Returns:
- possible object is
GraphType
-
setGraph
public void setGraph(GraphType value)
Sets the value of the graph property.- Parameters:
value
- allowed object isGraphType
-
-