Package org.graphdrawing.graphml
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
-
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.
-
Field Details
-
Constructor Details
-
DataType
public DataType()
-
-
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 isString
-
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 isLong
-
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
-