org.graphdrawing.graphml
Interface KeyType

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
KeyTypeImpl

public interface KeyType
extends EObject

A representation of the model object 'Key Type'. Complex type for the <key> element.

The following features are supported:

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

Method Summary
 String getAttrName()
          Returns the value of the 'Attr Name' attribute.
 KeyTypeType getAttrType()
          Returns the value of the 'Attr Type' attribute.
 DefaultType getDefault()
          Returns the value of the 'Default' containment reference.
 String getDesc()
          Returns the value of the 'Desc' attribute.
 KeyForType getFor()
          Returns the value of the 'For' attribute.
 String getId()
          Returns the value of the 'Id' attribute.
 boolean isDynamic()
          Returns the value of the 'Dynamic' attribute.
 boolean isSetAttrType()
          Returns whether the value of the 'Attr Type' attribute is set.
 boolean isSetDynamic()
          Returns whether the value of the 'Dynamic' attribute is set.
 boolean isSetFor()
          Returns whether the value of the 'For' attribute is set.
 void setAttrName(String value)
          Sets the value of the 'Attr Name' attribute.
 void setAttrType(KeyTypeType value)
          Sets the value of the 'Attr Type' attribute.
 void setDefault(DefaultType value)
          Sets the value of the 'Default' containment reference.
 void setDesc(String value)
          Sets the value of the 'Desc' attribute.
 void setDynamic(boolean value)
          Sets the value of the 'Dynamic' attribute.
 void setFor(KeyForType value)
          Sets the value of the 'For' attribute.
 void setId(String value)
          Sets the value of the 'Id' attribute.
 void unsetAttrType()
          Unsets the value of the 'Attr Type' attribute.
 void unsetDynamic()
          Unsets the value of the 'Dynamic' attribute.
 void unsetFor()
          Unsets the value of the 'For' attribute.
 
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

getDesc

String getDesc()
Returns the value of the 'Desc' attribute. Description: Provides human-readable descriptions for the GraphML element containing this <desc> as its first child. Occurence: <key>, <graphml>, <graph>, <node>, <port>, <edge>, <hyperedge>, and <endpoint>.

Returns:
the value of the 'Desc' attribute.
See Also:
setDesc(String), GraphMLPackage.getKeyType_Desc()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.String
extendedMetaData="kind='element'
name='desc'
namespace='##targetNamespace'"

setDesc

void setDesc(String value)
Sets the value of the 'Desc' attribute.

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

getDefault

DefaultType getDefault()
Returns the value of the 'Default' containment reference. Description: In GraphML there may be data-functions attached to graphs, nodes, ports, edges, hyperedges and endpoint and to the whole collection of graphs described by the content of <graphml>. These functions are declared by <key> elements (children of <graphml>) and defined by <data> elements. The (optional) <default> child of <key> gives the default value for the corresponding function. Occurence: <key>.

Returns:
the value of the 'Default' containment reference.
See Also:
setDefault(DefaultType), GraphMLPackage.getKeyType_Default()
Generated:
This code was automatically generated.
Model element:
containment=true
extendedMetaData="kind='element'
name='default'
namespace='##targetNamespace'"

setDefault

void setDefault(DefaultType value)
Sets the value of the 'Default' containment reference.

Parameters:
value - the new value of the 'Default' containment reference.
See Also:
getDefault()
Generated:
This code was automatically generated.

getAttrName

String getAttrName()
Returns the value of the 'Attr Name' attribute.

If the meaning of the 'Attr Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Attr Name' attribute.
See Also:
setAttrName(String), GraphMLPackage.getKeyType_AttrName()
Generated:
This code was automatically generated.
Model element:
dataType=org.graphdrawing.graphml.KeyNameType
extendedMetaData="kind='attribute'
name='attr.name'"

setAttrName

void setAttrName(String value)
Sets the value of the 'Attr Name' attribute.

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

getAttrType

KeyTypeType getAttrType()
Returns the value of the 'Attr Type' attribute. The literals are from the enumeration KeyTypeType.

If the meaning of the 'Attr Type' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Attr Type' attribute.
See Also:
KeyTypeType, isSetAttrType(), unsetAttrType(), setAttrType(KeyTypeType), GraphMLPackage.getKeyType_AttrType()
Generated:
This code was automatically generated.
Model element:
unsettable=true
extendedMetaData="kind='attribute'
name='attr.type'"

setAttrType

void setAttrType(KeyTypeType value)
Sets the value of the 'Attr Type' attribute.

Parameters:
value - the new value of the 'Attr Type' attribute.
See Also:
KeyTypeType, isSetAttrType(), unsetAttrType(), getAttrType()
Generated:
This code was automatically generated.

unsetAttrType

void unsetAttrType()
Unsets the value of the 'Attr Type' attribute.

See Also:
isSetAttrType(), getAttrType(), setAttrType(KeyTypeType)
Generated:
This code was automatically generated.

isSetAttrType

boolean isSetAttrType()
Returns whether the value of the 'Attr Type' attribute is set.

Returns:
whether the value of the 'Attr Type' attribute is set.
See Also:
unsetAttrType(), getAttrType(), setAttrType(KeyTypeType)
Generated:
This code was automatically generated.

isDynamic

boolean isDynamic()
Returns the value of the 'Dynamic' attribute. The default value is "false".

Returns:
the value of the 'Dynamic' attribute.
See Also:
isSetDynamic(), unsetDynamic(), setDynamic(boolean), GraphMLPackage.getKeyType_Dynamic()
Generated:
This code was automatically generated.
Model element:
default=false
unsettable=true
dataType=org.eclipse.emf.ecore.xml.type.Boolean
extendedMetaData="kind='attribute'
name='dynamic'"

setDynamic

void setDynamic(boolean value)
Sets the value of the 'Dynamic' attribute.

Parameters:
value - the new value of the 'Dynamic' attribute.
See Also:
isSetDynamic(), unsetDynamic(), isDynamic()
Generated:
This code was automatically generated.

unsetDynamic

void unsetDynamic()
Unsets the value of the 'Dynamic' attribute.

See Also:
isSetDynamic(), isDynamic(), setDynamic(boolean)
Generated:
This code was automatically generated.

isSetDynamic

boolean isSetDynamic()
Returns whether the value of the 'Dynamic' attribute is set.

Returns:
whether the value of the 'Dynamic' attribute is set.
See Also:
unsetDynamic(), isDynamic(), setDynamic(boolean)
Generated:
This code was automatically generated.

getFor

KeyForType getFor()
Returns the value of the 'For' attribute. The default value is "all". The literals are from the enumeration KeyForType. describes the domain of definition for the corresponding graph attribute.

Returns:
the value of the 'For' attribute.
See Also:
KeyForType, isSetFor(), unsetFor(), setFor(KeyForType), GraphMLPackage.getKeyType_For()
Generated:
This code was automatically generated.
Model element:
default=all
unsettable=true
extendedMetaData="kind='attribute'
name='for'"

setFor

void setFor(KeyForType value)
Sets the value of the 'For' attribute.

Parameters:
value - the new value of the 'For' attribute.
See Also:
KeyForType, isSetFor(), unsetFor(), getFor()
Generated:
This code was automatically generated.

unsetFor

void unsetFor()
Unsets the value of the 'For' attribute.

See Also:
isSetFor(), getFor(), setFor(KeyForType)
Generated:
This code was automatically generated.

isSetFor

boolean isSetFor()
Returns whether the value of the 'For' attribute is set.

Returns:
whether the value of the 'For' attribute is set.
See Also:
unsetFor(), getFor(), setFor(KeyForType)
Generated:
This code was automatically generated.

getId

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

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), GraphMLPackage.getKeyType_Id()
Generated:
This code was automatically generated.
Model element:
dataType=org.eclipse.emf.ecore.xml.type.NMTOKEN
required=true
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.