org.graphdrawing.graphml
Interface DataType

All Superinterfaces:
DataExtensionType, EObject, Notifier
All Known Implementing Classes:
DataTypeImpl

public interface DataType
extends DataExtensionType

A representation of the model object 'Data Type'. Complex type for the <data> element. data.type is mixed, that is, <data> may contain #PCDATA. Content type: extension of data-extension.type which is empty per default.

The following features are supported:

See Also:
GraphMLPackage.getDataType()
Rating red
Generated:
This code was automatically generated.
Model element:
extendedMetaData="name='data.type'
kind='mixed'"

Method Summary
 String getId()
          Returns the value of the 'Id' attribute.
 String getKey()
          Returns the value of the 'Key' attribute.
 long getTime()
          Returns the value of the 'Time' attribute.
 boolean isSetTime()
          Returns whether the value of the 'Time' attribute is set.
 void setId(String value)
          Sets the value of the 'Id' attribute.
 void setKey(String value)
          Sets the value of the 'Key' attribute.
 void setTime(long value)
          Sets the value of the 'Time' attribute.
 void unsetTime()
          Unsets the value of the 'Time' attribute.
 
Methods inherited from interface org.graphdrawing.graphml.DataExtensionType
getMixed
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Method Detail

getId

String getId()
Returns the value of the 'Id' attribute. identifies this <data>.

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), GraphMLPackage.getDataType_Id()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
extendedMetaData="kind='attribute'
name='id'"

setId

void setId(String value)
Sets the value of the 'Id' attribute.

Parameters:
value - the new value of the 'Id' attribute.
See Also:
getId()
Generated:
This code was automatically generated.

getKey

String getKey()
Returns the value of the 'Key' attribute. refers to the id attribute of a <key>.

Returns:
the value of the 'Key' attribute.
See Also:
setKey(String), GraphMLPackage.getDataType_Key()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
required=true
extendedMetaData="kind='attribute'
name='key'"

setKey

void setKey(String value)
Sets the value of the 'Key' attribute.

Parameters:
value - the new value of the 'Key' attribute.
See Also:
getKey()
Generated:
This code was automatically generated.

getTime

long getTime()
Returns the value of the 'Time' attribute. The default value is "0".

Returns:
the value of the 'Time' attribute.
See Also:
isSetTime(), unsetTime(), setTime(long), GraphMLPackage.getDataType_Time()
Generated:
This code was automatically generated.
Model element:
default=0
unsettable=true
dataType=org.eclipse.emf.ecore.xml.type.Long
extendedMetaData="kind='attribute'
name='time'"

setTime

void setTime(long value)
Sets the value of the 'Time' attribute.

Parameters:
value - the new value of the 'Time' attribute.
See Also:
isSetTime(), unsetTime(), getTime()
Generated:
This code was automatically generated.

unsetTime

void unsetTime()
Unsets the value of the 'Time' attribute.

See Also:
isSetTime(), getTime(), setTime(long)
Generated:
This code was automatically generated.

isSetTime

boolean isSetTime()
Returns whether the value of the 'Time' attribute is set.

Returns:
whether the value of the 'Time' attribute is set.
See Also:
unsetTime(), getTime(), setTime(long)
Generated:
This code was automatically generated.