net.ogdf.ogml.impl
Class EndpointTypeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by net.ogdf.ogml.impl.EndpointTypeImpl
All Implemented Interfaces:
EndpointType, Notifier, EObject, InternalEObject

public class EndpointTypeImpl
extends EObjectImpl
implements EndpointType

An implementation of the model object 'Endpoint Type'.

The following features are implemented:

Rating red
Generated:
This code was automatically generated.

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  String color
          The cached value of the 'Color' attribute.
protected static String COLOR_EDEFAULT
          The default value of the 'Color' attribute.
protected static String ID_REF_EDEFAULT
          The default value of the 'Id Ref' attribute.
protected  String idRef
          The cached value of the 'Id Ref' attribute.
protected  BigInteger port
          The cached value of the 'Port' attribute.
protected static BigInteger PORT_EDEFAULT
          The default value of the 'Port' attribute.
protected  double size
          The cached value of the 'Size' attribute.
protected static double SIZE_EDEFAULT
          The default value of the 'Size' attribute.
protected  boolean sizeESet
          This is true if the Size attribute has been set.
protected  EndpointStylesType style
          The cached value of the 'Style' attribute.
protected static EndpointStylesType STYLE_EDEFAULT
          The default value of the 'Style' attribute.
protected  boolean styleESet
          This is true if the Style attribute has been set.
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected EndpointTypeImpl()
           
 
Method Summary
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getColor()
           
 String getIdRef()
           
 BigInteger getPort()
           
 double getSize()
           
 EndpointStylesType getStyle()
           
 boolean isSetSize()
           
 boolean isSetStyle()
           
 void setColor(String newColor)
           
 void setIdRef(String newIdRef)
           
 void setPort(BigInteger newPort)
           
 void setSize(double newSize)
           
 void setStyle(EndpointStylesType newStyle)
           
 String toString()
           
 void unsetSize()
           
 void unsetStyle()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
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
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

COLOR_EDEFAULT

protected static final String COLOR_EDEFAULT
The default value of the 'Color' attribute.

See Also:
getColor()
Generated:
This code was automatically generated.
Ordered

color

protected String color
The cached value of the 'Color' attribute.

See Also:
getColor()
Generated:
This code was automatically generated.
Ordered

ID_REF_EDEFAULT

protected static final String ID_REF_EDEFAULT
The default value of the 'Id Ref' attribute.

See Also:
getIdRef()
Generated:
This code was automatically generated.
Ordered

idRef

protected String idRef
The cached value of the 'Id Ref' attribute.

See Also:
getIdRef()
Generated:
This code was automatically generated.
Ordered

PORT_EDEFAULT

protected static final BigInteger PORT_EDEFAULT
The default value of the 'Port' attribute.

See Also:
getPort()
Generated:
This code was automatically generated.
Ordered

port

protected BigInteger port
The cached value of the 'Port' attribute.

See Also:
getPort()
Generated:
This code was automatically generated.
Ordered

SIZE_EDEFAULT

protected static final double SIZE_EDEFAULT
The default value of the 'Size' attribute.

See Also:
getSize(), Constant Field Values
Generated:
This code was automatically generated.
Ordered

size

protected double size
The cached value of the 'Size' attribute.

See Also:
getSize()
Generated:
This code was automatically generated.
Ordered

sizeESet

protected boolean sizeESet
This is true if the Size attribute has been set.

Generated:
This code was automatically generated.
Ordered

STYLE_EDEFAULT

protected static final EndpointStylesType STYLE_EDEFAULT
The default value of the 'Style' attribute.

See Also:
getStyle()
Generated:
This code was automatically generated.
Ordered

style

protected EndpointStylesType style
The cached value of the 'Style' attribute.

See Also:
getStyle()
Generated:
This code was automatically generated.
Ordered

styleESet

protected boolean styleESet
This is true if the Style attribute has been set.

Generated:
This code was automatically generated.
Ordered
Constructor Detail

EndpointTypeImpl

protected EndpointTypeImpl()

Generated:
This code was automatically generated.
Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl
Generated:
This code was automatically generated.

getColor

public String getColor()

Specified by:
getColor in interface EndpointType
Returns:
the value of the 'Color' attribute.
See Also:
EndpointType.setColor(String), OgmlPackage.getEndpointType_Color()
Generated:
This code was automatically generated.

setColor

public void setColor(String newColor)

Specified by:
setColor in interface EndpointType
Parameters:
newColor - the new value of the 'Color' attribute.
See Also:
EndpointType.getColor()
Generated:
This code was automatically generated.

getIdRef

public String getIdRef()

Specified by:
getIdRef in interface EndpointType
Returns:
the value of the 'Id Ref' attribute.
See Also:
EndpointType.setIdRef(String), OgmlPackage.getEndpointType_IdRef()
Generated:
This code was automatically generated.

setIdRef

public void setIdRef(String newIdRef)

Specified by:
setIdRef in interface EndpointType
Parameters:
newIdRef - the new value of the 'Id Ref' attribute.
See Also:
EndpointType.getIdRef()
Generated:
This code was automatically generated.

getPort

public BigInteger getPort()

Specified by:
getPort in interface EndpointType
Returns:
the value of the 'Port' attribute.
See Also:
EndpointType.setPort(BigInteger), OgmlPackage.getEndpointType_Port()
Generated:
This code was automatically generated.

setPort

public void setPort(BigInteger newPort)

Specified by:
setPort in interface EndpointType
Parameters:
newPort - the new value of the 'Port' attribute.
See Also:
EndpointType.getPort()
Generated:
This code was automatically generated.

getSize

public double getSize()

Specified by:
getSize in interface EndpointType
Returns:
the value of the 'Size' attribute.
See Also:
EndpointType.isSetSize(), EndpointType.unsetSize(), EndpointType.setSize(double), OgmlPackage.getEndpointType_Size()
Generated:
This code was automatically generated.

setSize

public void setSize(double newSize)

Specified by:
setSize in interface EndpointType
Parameters:
newSize - the new value of the 'Size' attribute.
See Also:
EndpointType.isSetSize(), EndpointType.unsetSize(), EndpointType.getSize()
Generated:
This code was automatically generated.

unsetSize

public void unsetSize()

Specified by:
unsetSize in interface EndpointType
See Also:
EndpointType.isSetSize(), EndpointType.getSize(), EndpointType.setSize(double)
Generated:
This code was automatically generated.

isSetSize

public boolean isSetSize()

Specified by:
isSetSize in interface EndpointType
Returns:
whether the value of the 'Size' attribute is set.
See Also:
EndpointType.unsetSize(), EndpointType.getSize(), EndpointType.setSize(double)
Generated:
This code was automatically generated.

getStyle

public EndpointStylesType getStyle()

Specified by:
getStyle in interface EndpointType
Returns:
the value of the 'Style' attribute.
See Also:
EndpointStylesType, EndpointType.isSetStyle(), EndpointType.unsetStyle(), EndpointType.setStyle(EndpointStylesType), OgmlPackage.getEndpointType_Style()
Generated:
This code was automatically generated.

setStyle

public void setStyle(EndpointStylesType newStyle)

Specified by:
setStyle in interface EndpointType
Parameters:
newStyle - the new value of the 'Style' attribute.
See Also:
EndpointStylesType, EndpointType.isSetStyle(), EndpointType.unsetStyle(), EndpointType.getStyle()
Generated:
This code was automatically generated.

unsetStyle

public void unsetStyle()

Specified by:
unsetStyle in interface EndpointType
See Also:
EndpointType.isSetStyle(), EndpointType.getStyle(), EndpointType.setStyle(EndpointStylesType)
Generated:
This code was automatically generated.

isSetStyle

public boolean isSetStyle()

Specified by:
isSetStyle in interface EndpointType
Returns:
whether the value of the 'Style' attribute is set.
See Also:
EndpointType.unsetStyle(), EndpointType.getStyle(), EndpointType.setStyle(EndpointStylesType)
Generated:
This code was automatically generated.

eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
Generated:
This code was automatically generated.

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
Generated:
This code was automatically generated.

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
Generated:
This code was automatically generated.

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
Generated:
This code was automatically generated.

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl
Generated:
This code was automatically generated.