Class HyperedgeType

java.lang.Object
org.graphdrawing.graphml.HyperedgeType

public class HyperedgeType extends 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 Details

  • Constructor Details

    • HyperedgeType

      public HyperedgeType()
  • Method Details

    • 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 is String
    • 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 is GraphType
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String