net.ogdf.ogml.impl
Class FontTypeImpl

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.FontTypeImpl
All Implemented Interfaces:
FontType, Notifier, EObject, InternalEObject

public class FontTypeImpl
extends EObjectImpl
implements FontType

An implementation of the model object 'Font 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  String family
          The cached value of the 'Family' attribute.
protected static String FAMILY_EDEFAULT
          The default value of the 'Family' attribute.
protected  BigInteger size
          The cached value of the 'Size' attribute.
protected static BigInteger SIZE_EDEFAULT
          The default value of the 'Size' attribute.
protected  FontStretchType stretch
          The cached value of the 'Stretch' attribute.
protected static FontStretchType STRETCH_EDEFAULT
          The default value of the 'Stretch' attribute.
protected  boolean stretchESet
          This is true if the Stretch attribute has been set.
protected  FontStyleType style
          The cached value of the 'Style' attribute.
protected static FontStyleType STYLE_EDEFAULT
          The default value of the 'Style' attribute.
protected  boolean styleESet
          This is true if the Style attribute has been set.
protected  FontVariantType variant
          The cached value of the 'Variant' attribute.
protected static FontVariantType VARIANT_EDEFAULT
          The default value of the 'Variant' attribute.
protected  boolean variantESet
          This is true if the Variant attribute has been set.
protected  FontWeightType weight
          The cached value of the 'Weight' attribute.
protected static FontWeightType WEIGHT_EDEFAULT
          The default value of the 'Weight' attribute.
protected  boolean weightESet
          This is true if the Weight 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 FontTypeImpl()
           
 
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 getFamily()
           
 BigInteger getSize()
           
 FontStretchType getStretch()
           
 FontStyleType getStyle()
           
 FontVariantType getVariant()
           
 FontWeightType getWeight()
           
 boolean isSetStretch()
           
 boolean isSetStyle()
           
 boolean isSetVariant()
           
 boolean isSetWeight()
           
 void setColor(String newColor)
           
 void setFamily(String newFamily)
           
 void setSize(BigInteger newSize)
           
 void setStretch(FontStretchType newStretch)
           
 void setStyle(FontStyleType newStyle)
           
 void setVariant(FontVariantType newVariant)
           
 void setWeight(FontWeightType newWeight)
           
 String toString()
           
 void unsetStretch()
           
 void unsetStyle()
           
 void unsetVariant()
           
 void unsetWeight()
           
 
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

FAMILY_EDEFAULT

protected static final String FAMILY_EDEFAULT
The default value of the 'Family' attribute.

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

family

protected String family
The cached value of the 'Family' attribute.

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

SIZE_EDEFAULT

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

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

size

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

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

STRETCH_EDEFAULT

protected static final FontStretchType STRETCH_EDEFAULT
The default value of the 'Stretch' attribute.

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

stretch

protected FontStretchType stretch
The cached value of the 'Stretch' attribute.

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

stretchESet

protected boolean stretchESet
This is true if the Stretch attribute has been set.

Generated:
This code was automatically generated.
Ordered

STYLE_EDEFAULT

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

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

style

protected FontStyleType 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

VARIANT_EDEFAULT

protected static final FontVariantType VARIANT_EDEFAULT
The default value of the 'Variant' attribute.

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

variant

protected FontVariantType variant
The cached value of the 'Variant' attribute.

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

variantESet

protected boolean variantESet
This is true if the Variant attribute has been set.

Generated:
This code was automatically generated.
Ordered

WEIGHT_EDEFAULT

protected static final FontWeightType WEIGHT_EDEFAULT
The default value of the 'Weight' attribute.

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

weight

protected FontWeightType weight
The cached value of the 'Weight' attribute.

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

weightESet

protected boolean weightESet
This is true if the Weight attribute has been set.

Generated:
This code was automatically generated.
Ordered
Constructor Detail

FontTypeImpl

protected FontTypeImpl()

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 FontType
Returns:
the value of the 'Color' attribute.
See Also:
FontType.setColor(String), OgmlPackage.getFontType_Color()
Generated:
This code was automatically generated.

setColor

public void setColor(String newColor)

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

getFamily

public String getFamily()

Specified by:
getFamily in interface FontType
Returns:
the value of the 'Family' attribute.
See Also:
FontType.setFamily(String), OgmlPackage.getFontType_Family()
Generated:
This code was automatically generated.

setFamily

public void setFamily(String newFamily)

Specified by:
setFamily in interface FontType
Parameters:
newFamily - the new value of the 'Family' attribute.
See Also:
FontType.getFamily()
Generated:
This code was automatically generated.

getSize

public BigInteger getSize()

Specified by:
getSize in interface FontType
Returns:
the value of the 'Size' attribute.
See Also:
FontType.setSize(BigInteger), OgmlPackage.getFontType_Size()
Generated:
This code was automatically generated.

setSize

public void setSize(BigInteger newSize)

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

getStretch

public FontStretchType getStretch()

Specified by:
getStretch in interface FontType
Returns:
the value of the 'Stretch' attribute.
See Also:
FontStretchType, FontType.isSetStretch(), FontType.unsetStretch(), FontType.setStretch(FontStretchType), OgmlPackage.getFontType_Stretch()
Generated:
This code was automatically generated.

setStretch

public void setStretch(FontStretchType newStretch)

Specified by:
setStretch in interface FontType
Parameters:
newStretch - the new value of the 'Stretch' attribute.
See Also:
FontStretchType, FontType.isSetStretch(), FontType.unsetStretch(), FontType.getStretch()
Generated:
This code was automatically generated.

unsetStretch

public void unsetStretch()

Specified by:
unsetStretch in interface FontType
See Also:
FontType.isSetStretch(), FontType.getStretch(), FontType.setStretch(FontStretchType)
Generated:
This code was automatically generated.

isSetStretch

public boolean isSetStretch()

Specified by:
isSetStretch in interface FontType
Returns:
whether the value of the 'Stretch' attribute is set.
See Also:
FontType.unsetStretch(), FontType.getStretch(), FontType.setStretch(FontStretchType)
Generated:
This code was automatically generated.

getStyle

public FontStyleType getStyle()

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

setStyle

public void setStyle(FontStyleType newStyle)

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

unsetStyle

public void unsetStyle()

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

isSetStyle

public boolean isSetStyle()

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

getVariant

public FontVariantType getVariant()

Specified by:
getVariant in interface FontType
Returns:
the value of the 'Variant' attribute.
See Also:
FontVariantType, FontType.isSetVariant(), FontType.unsetVariant(), FontType.setVariant(FontVariantType), OgmlPackage.getFontType_Variant()
Generated:
This code was automatically generated.

setVariant

public void setVariant(FontVariantType newVariant)

Specified by:
setVariant in interface FontType
Parameters:
newVariant - the new value of the 'Variant' attribute.
See Also:
FontVariantType, FontType.isSetVariant(), FontType.unsetVariant(), FontType.getVariant()
Generated:
This code was automatically generated.

unsetVariant

public void unsetVariant()

Specified by:
unsetVariant in interface FontType
See Also:
FontType.isSetVariant(), FontType.getVariant(), FontType.setVariant(FontVariantType)
Generated:
This code was automatically generated.

isSetVariant

public boolean isSetVariant()

Specified by:
isSetVariant in interface FontType
Returns:
whether the value of the 'Variant' attribute is set.
See Also:
FontType.unsetVariant(), FontType.getVariant(), FontType.setVariant(FontVariantType)
Generated:
This code was automatically generated.

getWeight

public FontWeightType getWeight()

Specified by:
getWeight in interface FontType
Returns:
the value of the 'Weight' attribute.
See Also:
FontWeightType, FontType.isSetWeight(), FontType.unsetWeight(), FontType.setWeight(FontWeightType), OgmlPackage.getFontType_Weight()
Generated:
This code was automatically generated.

setWeight

public void setWeight(FontWeightType newWeight)

Specified by:
setWeight in interface FontType
Parameters:
newWeight - the new value of the 'Weight' attribute.
See Also:
FontWeightType, FontType.isSetWeight(), FontType.unsetWeight(), FontType.getWeight()
Generated:
This code was automatically generated.

unsetWeight

public void unsetWeight()

Specified by:
unsetWeight in interface FontType
See Also:
FontType.isSetWeight(), FontType.getWeight(), FontType.setWeight(FontWeightType)
Generated:
This code was automatically generated.

isSetWeight

public boolean isSetWeight()

Specified by:
isSetWeight in interface FontType
Returns:
whether the value of the 'Weight' attribute is set.
See Also:
FontType.unsetWeight(), FontType.getWeight(), FontType.setWeight(FontWeightType)
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.