org.graphdrawing.graphml
Interface EndpointType

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

public interface EndpointType
extends EObject

A representation of the model object 'Endpoint Type'. Complex type for the <endpoint> element.

The following features are supported:

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

Method Summary
 String getDesc()
          Returns the value of the 'Desc' attribute.
 String getId()
          Returns the value of the 'Id' attribute.
 String getNode()
          Returns the value of the 'Node' attribute.
 String getPort()
          Returns the value of the 'Port' attribute.
 EndpointTypeType getType()
          Returns the value of the 'Type' attribute.
 boolean isSetType()
          Returns whether the value of the 'Type' attribute is set.
 void setDesc(String value)
          Sets the value of the 'Desc' attribute.
 void setId(String value)
          Sets the value of the 'Id' attribute.
 void setNode(String value)
          Sets the value of the 'Node' attribute.
 void setPort(String value)
          Sets the value of the 'Port' attribute.
 void setType(EndpointTypeType value)
          Sets the value of the 'Type' attribute.
 void unsetType()
          Unsets the value of the 'Type' 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.getEndpointType_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.

getId

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

Returns:
the value of the 'Id' attribute.
See Also:
setId(String), GraphMLPackage.getEndpointType_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.

getNode

String getNode()
Returns the value of the 'Node' attribute. points to the id of the node, to which this endpoint is connected.

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

setNode

void setNode(String value)
Sets the value of the 'Node' attribute.

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

getPort

String getPort()
Returns the value of the 'Port' attribute. points to the name of the port, to which this endpoint is connected .

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

setPort

void setPort(String value)
Sets the value of the 'Port' attribute.

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

getType

EndpointTypeType getType()
Returns the value of the 'Type' attribute. The default value is "undir". The literals are from the enumeration EndpointTypeType. defines the direction on this endpoint (undirected per default).

Returns:
the value of the 'Type' attribute.
See Also:
EndpointTypeType, isSetType(), unsetType(), setType(EndpointTypeType), GraphMLPackage.getEndpointType_Type()
Generated:
This code was automatically generated.
Model element:
default=undir
unsettable=true
extendedMetaData="kind='attribute'
name='type'"

setType

void setType(EndpointTypeType value)
Sets the value of the 'Type' attribute.

Parameters:
value - the new value of the 'Type' attribute.
See Also:
EndpointTypeType, isSetType(), unsetType(), getType()
Generated:
This code was automatically generated.

unsetType

void unsetType()
Unsets the value of the 'Type' attribute.

See Also:
isSetType(), getType(), setType(EndpointTypeType)
Generated:
This code was automatically generated.

isSetType

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

Returns:
whether the value of the 'Type' attribute is set.
See Also:
unsetType(), getType(), setType(EndpointTypeType)
Generated:
This code was automatically generated.