Package scheduler.configuration.impl
Class LoadBalancingImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- scheduler.configuration.impl.LoadBalancingImpl
-
- All Implemented Interfaces:
Notifier,EObject,InternalEObject,LoadBalancing
public class LoadBalancingImpl extends EObjectImpl implements LoadBalancing
An implementation of the model object 'Load Balancing'.The following features are implemented:
- Generated class or method.
-
-
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, BasicNotifierImpl.EScannableAdapterList
-
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
-
-
Field Summary
Fields Modifier and Type Field Description protected static doubleBALANCING_INTERVAL_EDEFAULTThe default value of the 'Balancing Interval' attribute.protected static LoadBalancingTypeBALANCING_TYPE_EDEFAULTThe default value of the 'Balancing Type' attribute.protected doublebalancingIntervalThe cached value of the 'Balancing Interval' attribute.protected LoadBalancingTypebalancingTypeThe cached value of the 'Balancing Type' attribute.protected InstanceToBalanceinstancesThe cached value of the 'Instances' attribute.protected static InstanceToBalanceINSTANCES_EDEFAULTThe default value of the 'Instances' attribute.protected static intMAX_ITERATIONS_EDEFAULTThe default value of the 'Max Iterations' attribute.protected intmaxIterationsThe cached value of the 'Max Iterations' attribute.protected static PreferredPriorityPREFERRED_PRIORITY_EDEFAULTThe default value of the 'Preferred Priority' attribute.protected static PreferredWaitingTimePREFERRED_WAITING_TIME_EDEFAULTThe default value of the 'Preferred Waiting Time' attribute.protected PreferredPrioritypreferredPriorityThe cached value of the 'Preferred Priority' attribute.protected PreferredWaitingTimepreferredWaitingTimeThe cached value of the 'Preferred Waiting Time' attribute.protected doublethresholdThe cached value of the 'Threshold' attribute.protected static doubleTHRESHOLD_EDEFAULTThe default value of the 'Threshold' attribute.-
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
Constructors Modifier Constructor Description protectedLoadBalancingImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjecteGet(int featureID, boolean resolve, boolean coreType)booleaneIsSet(int featureID)voideSet(int featureID, Object newValue)protected EClasseStaticClass()voideUnset(int featureID)doublegetBalancingInterval()LoadBalancingTypegetBalancingType()InstanceToBalancegetInstances()intgetMaxIterations()PreferredPrioritygetPreferredPriority()PreferredWaitingTimegetPreferredWaitingTime()doublegetThreshold()voidsetBalancingInterval(double newBalancingInterval)voidsetBalancingType(LoadBalancingType newBalancingType)voidsetInstances(InstanceToBalance newInstances)voidsetMaxIterations(int newMaxIterations)voidsetPreferredPriority(PreferredPriority newPreferredPriority)voidsetPreferredWaitingTime(PreferredWaitingTime newPreferredWaitingTime)voidsetThreshold(double newThreshold)StringtoString()-
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.ecore.InternalEObject
eNotificationRequired
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
BALANCING_TYPE_EDEFAULT
protected static final LoadBalancingType BALANCING_TYPE_EDEFAULT
The default value of the 'Balancing Type' attribute.- See Also:
getBalancingType()- Generated class or method.
- Ordered collection.
-
balancingType
protected LoadBalancingType balancingType
The cached value of the 'Balancing Type' attribute.- See Also:
getBalancingType()- Generated class or method.
- Ordered collection.
-
PREFERRED_WAITING_TIME_EDEFAULT
protected static final PreferredWaitingTime PREFERRED_WAITING_TIME_EDEFAULT
The default value of the 'Preferred Waiting Time' attribute.- See Also:
getPreferredWaitingTime()- Generated class or method.
- Ordered collection.
-
preferredWaitingTime
protected PreferredWaitingTime preferredWaitingTime
The cached value of the 'Preferred Waiting Time' attribute.- See Also:
getPreferredWaitingTime()- Generated class or method.
- Ordered collection.
-
PREFERRED_PRIORITY_EDEFAULT
protected static final PreferredPriority PREFERRED_PRIORITY_EDEFAULT
The default value of the 'Preferred Priority' attribute.- See Also:
getPreferredPriority()- Generated class or method.
- Ordered collection.
-
preferredPriority
protected PreferredPriority preferredPriority
The cached value of the 'Preferred Priority' attribute.- See Also:
getPreferredPriority()- Generated class or method.
- Ordered collection.
-
INSTANCES_EDEFAULT
protected static final InstanceToBalance INSTANCES_EDEFAULT
The default value of the 'Instances' attribute.- See Also:
getInstances()- Generated class or method.
- Ordered collection.
-
instances
protected InstanceToBalance instances
The cached value of the 'Instances' attribute.- See Also:
getInstances()- Generated class or method.
- Ordered collection.
-
THRESHOLD_EDEFAULT
protected static final double THRESHOLD_EDEFAULT
The default value of the 'Threshold' attribute.- See Also:
getThreshold(), Constant Field Values- Generated class or method.
- Ordered collection.
-
threshold
protected double threshold
The cached value of the 'Threshold' attribute.- See Also:
getThreshold()- Generated class or method.
- Ordered collection.
-
MAX_ITERATIONS_EDEFAULT
protected static final int MAX_ITERATIONS_EDEFAULT
The default value of the 'Max Iterations' attribute.- See Also:
getMaxIterations(), Constant Field Values- Generated class or method.
- Ordered collection.
-
maxIterations
protected int maxIterations
The cached value of the 'Max Iterations' attribute.- See Also:
getMaxIterations()- Generated class or method.
- Ordered collection.
-
BALANCING_INTERVAL_EDEFAULT
protected static final double BALANCING_INTERVAL_EDEFAULT
The default value of the 'Balancing Interval' attribute.- See Also:
getBalancingInterval(), Constant Field Values- Generated class or method.
- Ordered collection.
-
balancingInterval
protected double balancingInterval
The cached value of the 'Balancing Interval' attribute.- See Also:
getBalancingInterval()- Generated class or method.
- Ordered collection.
-
-
Method Detail
-
eStaticClass
protected EClass eStaticClass()
- Overrides:
eStaticClassin classEObjectImpl- Generated class or method.
-
getBalancingType
public LoadBalancingType getBalancingType()
- Specified by:
getBalancingTypein interfaceLoadBalancing- Returns:
- the value of the 'Balancing Type' attribute.
- See Also:
LoadBalancingType,LoadBalancing.setBalancingType(LoadBalancingType),ConfigurationPackage.getLoadBalancing_BalancingType()- Generated class or method.
-
setBalancingType
public void setBalancingType(LoadBalancingType newBalancingType)
- Specified by:
setBalancingTypein interfaceLoadBalancing- Parameters:
newBalancingType- the new value of the 'Balancing Type' attribute.- See Also:
LoadBalancingType,LoadBalancing.getBalancingType()- Generated class or method.
-
getPreferredWaitingTime
public PreferredWaitingTime getPreferredWaitingTime()
- Specified by:
getPreferredWaitingTimein interfaceLoadBalancing- Returns:
- the value of the 'Preferred Waiting Time' attribute.
- See Also:
PreferredWaitingTime,LoadBalancing.setPreferredWaitingTime(PreferredWaitingTime),ConfigurationPackage.getLoadBalancing_PreferredWaitingTime()- Generated class or method.
-
setPreferredWaitingTime
public void setPreferredWaitingTime(PreferredWaitingTime newPreferredWaitingTime)
- Specified by:
setPreferredWaitingTimein interfaceLoadBalancing- Parameters:
newPreferredWaitingTime- the new value of the 'Preferred Waiting Time' attribute.- See Also:
PreferredWaitingTime,LoadBalancing.getPreferredWaitingTime()- Generated class or method.
-
getPreferredPriority
public PreferredPriority getPreferredPriority()
- Specified by:
getPreferredPriorityin interfaceLoadBalancing- Returns:
- the value of the 'Preferred Priority' attribute.
- See Also:
PreferredPriority,LoadBalancing.setPreferredPriority(PreferredPriority),ConfigurationPackage.getLoadBalancing_PreferredPriority()- Generated class or method.
-
setPreferredPriority
public void setPreferredPriority(PreferredPriority newPreferredPriority)
- Specified by:
setPreferredPriorityin interfaceLoadBalancing- Parameters:
newPreferredPriority- the new value of the 'Preferred Priority' attribute.- See Also:
PreferredPriority,LoadBalancing.getPreferredPriority()- Generated class or method.
-
getInstances
public InstanceToBalance getInstances()
- Specified by:
getInstancesin interfaceLoadBalancing- Returns:
- the value of the 'Instances' attribute.
- See Also:
InstanceToBalance,LoadBalancing.setInstances(InstanceToBalance),ConfigurationPackage.getLoadBalancing_Instances()- Generated class or method.
-
setInstances
public void setInstances(InstanceToBalance newInstances)
- Specified by:
setInstancesin interfaceLoadBalancing- Parameters:
newInstances- the new value of the 'Instances' attribute.- See Also:
InstanceToBalance,LoadBalancing.getInstances()- Generated class or method.
-
getThreshold
public double getThreshold()
- Specified by:
getThresholdin interfaceLoadBalancing- Returns:
- the value of the 'Threshold' attribute.
- See Also:
LoadBalancing.setThreshold(double),ConfigurationPackage.getLoadBalancing_Threshold()- Generated class or method.
-
setThreshold
public void setThreshold(double newThreshold)
- Specified by:
setThresholdin interfaceLoadBalancing- Parameters:
newThreshold- the new value of the 'Threshold' attribute.- See Also:
LoadBalancing.getThreshold()- Generated class or method.
-
getMaxIterations
public int getMaxIterations()
- Specified by:
getMaxIterationsin interfaceLoadBalancing- Returns:
- the value of the 'Max Iterations' attribute.
- See Also:
LoadBalancing.setMaxIterations(int),ConfigurationPackage.getLoadBalancing_MaxIterations()- Generated class or method.
-
setMaxIterations
public void setMaxIterations(int newMaxIterations)
- Specified by:
setMaxIterationsin interfaceLoadBalancing- Parameters:
newMaxIterations- the new value of the 'Max Iterations' attribute.- See Also:
LoadBalancing.getMaxIterations()- Generated class or method.
-
getBalancingInterval
public double getBalancingInterval()
- Specified by:
getBalancingIntervalin interfaceLoadBalancing- Returns:
- the value of the 'Balancing Interval' attribute.
- See Also:
LoadBalancing.setBalancingInterval(double),ConfigurationPackage.getLoadBalancing_BalancingInterval()- Generated class or method.
-
setBalancingInterval
public void setBalancingInterval(double newBalancingInterval)
- Specified by:
setBalancingIntervalin interfaceLoadBalancing- Parameters:
newBalancingInterval- the new value of the 'Balancing Interval' attribute.- See Also:
LoadBalancing.getBalancingInterval()- Generated class or method.
-
eGet
public Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGetin interfaceInternalEObject- Overrides:
eGetin classBasicEObjectImpl- Generated class or method.
-
eSet
public void eSet(int featureID, Object newValue)- Specified by:
eSetin interfaceInternalEObject- Overrides:
eSetin classBasicEObjectImpl- Generated class or method.
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnsetin interfaceInternalEObject- Overrides:
eUnsetin classBasicEObjectImpl- Generated class or method.
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSetin interfaceInternalEObject- Overrides:
eIsSetin classBasicEObjectImpl- Generated class or method.
-
toString
public String toString()
- Overrides:
toStringin classBasicEObjectImpl- Generated class or method.
-
-