Class DataType

java.lang.Object
org.graphdrawing.graphml.DataExtensionType
org.graphdrawing.graphml.DataType

public class DataType
extends DataExtensionType
Complex type for the element. data.type is mixed, that is, may contain #PCDATA. Content type: extension of data-extension.type which is empty per default.

Java class for data.type complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="data.type">
   <complexContent>
     <extension base="{http://graphml.graphdrawing.org/xmlns}data-extension.type">
       <attGroup ref="{http://graphml.graphdrawing.org/xmlns}data.extra.attrib"/>
       <attribute name="key" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
       <attribute name="time" type="{http://www.w3.org/2001/XMLSchema}long" default="0" />
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
     </extension>
   </complexContent>
 </complexType>
 
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String id  
    protected java.lang.String key  
    protected java.lang.Long time  

    Fields inherited from class org.graphdrawing.graphml.DataExtensionType

    content
  • Constructor Summary

    Constructors 
    Constructor Description
    DataType()  
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getId()
    Gets the value of the id property.
    java.lang.String getKey()
    Gets the value of the key property.
    long getTime()
    Gets the value of the time property.
    void setId​(java.lang.String value)
    Sets the value of the id property.
    void setKey​(java.lang.String value)
    Sets the value of the key property.
    void setTime​(java.lang.Long value)
    Sets the value of the time property.

    Methods inherited from class org.graphdrawing.graphml.DataExtensionType

    getContent, setContent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • key

      protected java.lang.String key
    • time

      protected java.lang.Long time
    • id

      protected java.lang.String id
  • Constructor Details

  • Method Details

    • getKey

      public java.lang.String getKey()
      Gets the value of the key property.
      Returns:
      possible object is String
    • setKey

      public void setKey​(java.lang.String value)
      Sets the value of the key property.
      Parameters:
      value - allowed object is String
    • getTime

      public long getTime()
      Gets the value of the time property.
      Returns:
      possible object is Long
    • setTime

      public void setTime​(java.lang.Long value)
      Sets the value of the time property.
      Parameters:
      value - allowed object is Long
    • 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 is String