scheduler.configuration.impl
Class TimeSliceConfigurationImpl

java.lang.Object
  extended by EObjectImpl
      extended by scheduler.configuration.impl.TimeSliceConfigurationImpl
All Implemented Interfaces:
TimeSliceConfiguration
Direct Known Subclasses:
PredefinedTimeSliceConfigurationImpl, PriorityDependentTimeSliceConfigurationImpl

public abstract class TimeSliceConfigurationImpl
extends EObjectImpl
implements TimeSliceConfiguration

An implementation of the model object 'Time Slice Configuration'.

The following features are implemented:


Field Summary
protected  int granularity
          The cached value of the 'Granularity' attribute.
protected static int GRANULARITY_EDEFAULT
          The default value of the 'Granularity' attribute.
protected  TimeValue timeslice
          The cached value of the 'Timeslice' containment reference.
 
Constructor Summary
protected TimeSliceConfigurationImpl()
           
 
Method Summary
 NotificationChain basicSetTimeslice(TimeValue newTimeslice, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 int getGranularity()
           
 TimeValue getTimeslice()
           
 void setGranularity(int newGranularity)
           
 void setTimeslice(TimeValue newTimeslice)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GRANULARITY_EDEFAULT

protected static final int GRANULARITY_EDEFAULT
The default value of the 'Granularity' attribute.

See Also:
getGranularity(), Constant Field Values

granularity

protected int granularity
The cached value of the 'Granularity' attribute.

See Also:
getGranularity()

timeslice

protected TimeValue timeslice
The cached value of the 'Timeslice' containment reference.

See Also:
getTimeslice()
Constructor Detail

TimeSliceConfigurationImpl

protected TimeSliceConfigurationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()


getGranularity

public int getGranularity()

Specified by:
getGranularity in interface TimeSliceConfiguration
Returns:
the value of the 'Granularity' attribute.
See Also:
TimeSliceConfiguration.setGranularity(int), ConfigurationPackage.getTimeSliceConfiguration_Granularity()

setGranularity

public void setGranularity(int newGranularity)

Specified by:
setGranularity in interface TimeSliceConfiguration
Parameters:
newGranularity - the new value of the 'Granularity' attribute.
See Also:
TimeSliceConfiguration.getGranularity()

getTimeslice

public TimeValue getTimeslice()

Specified by:
getTimeslice in interface TimeSliceConfiguration
Returns:
the value of the 'Timeslice' containment reference.
See Also:
TimeSliceConfiguration.setTimeslice(TimeValue), ConfigurationPackage.getTimeSliceConfiguration_Timeslice()

basicSetTimeslice

public NotificationChain basicSetTimeslice(TimeValue newTimeslice,
                                           NotificationChain msgs)


setTimeslice

public void setTimeslice(TimeValue newTimeslice)

Specified by:
setTimeslice in interface TimeSliceConfiguration
Parameters:
newTimeslice - the new value of the 'Timeslice' containment reference.
See Also:
TimeSliceConfiguration.getTimeslice()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

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


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


toString

public String toString()