scheduler.configuration.impl
Class ActiveResourceConfigurationImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.identifier.impl.IdentifierImpl
          extended by scheduler.configuration.impl.ActiveResourceConfigurationImpl
All Implemented Interfaces:
Identifier, ActiveResourceConfiguration

public class ActiveResourceConfigurationImpl
extends IdentifierImpl
implements ActiveResourceConfiguration

An implementation of the model object 'Active Resource Configuration'.

The following features are implemented:


Field Summary
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  int replicas
          The cached value of the 'Replicas' attribute.
protected static int REPLICAS_EDEFAULT
          The default value of the 'Replicas' attribute.
protected  SchedulerConfiguration schedulerConfiguration
          The cached value of the 'Scheduler Configuration' reference.
 
Fields inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
id, ID_EDEFAULT
 
Constructor Summary
protected ActiveResourceConfigurationImpl()
           
 
Method Summary
 SchedulerConfiguration basicGetSchedulerConfiguration()
           
 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 getName()
           
 int getReplicas()
           
 SchedulerConfiguration getSchedulerConfiguration()
           
 void setName(String newName)
           
 void setReplicas(int newReplicas)
           
 void setSchedulerConfiguration(SchedulerConfiguration newSchedulerConfiguration)
           
 String toString()
           
 
Methods inherited from class de.uka.ipd.sdq.identifier.impl.IdentifierImpl
getId, idHasToBeUnique, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, idHasToBeUnique, setId
 

Field Detail

schedulerConfiguration

protected SchedulerConfiguration schedulerConfiguration
The cached value of the 'Scheduler Configuration' reference.

See Also:
getSchedulerConfiguration()

REPLICAS_EDEFAULT

protected static final int REPLICAS_EDEFAULT
The default value of the 'Replicas' attribute.

See Also:
getReplicas(), Constant Field Values

replicas

protected int replicas
The cached value of the 'Replicas' attribute.

See Also:
getReplicas()

NAME_EDEFAULT

protected static final String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected String name
The cached value of the 'Name' attribute.

See Also:
getName()
Constructor Detail

ActiveResourceConfigurationImpl

protected ActiveResourceConfigurationImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class IdentifierImpl

getSchedulerConfiguration

public SchedulerConfiguration getSchedulerConfiguration()

Specified by:
getSchedulerConfiguration in interface ActiveResourceConfiguration
Returns:
the value of the 'Scheduler Configuration' reference.
See Also:
ActiveResourceConfiguration.setSchedulerConfiguration(SchedulerConfiguration), ConfigurationPackage.getActiveResourceConfiguration_SchedulerConfiguration()

basicGetSchedulerConfiguration

public SchedulerConfiguration basicGetSchedulerConfiguration()


setSchedulerConfiguration

public void setSchedulerConfiguration(SchedulerConfiguration newSchedulerConfiguration)

Specified by:
setSchedulerConfiguration in interface ActiveResourceConfiguration
Parameters:
newSchedulerConfiguration - the new value of the 'Scheduler Configuration' reference.
See Also:
ActiveResourceConfiguration.getSchedulerConfiguration()

getReplicas

public int getReplicas()

Specified by:
getReplicas in interface ActiveResourceConfiguration
Returns:
the value of the 'Replicas' attribute.
See Also:
ActiveResourceConfiguration.setReplicas(int), ConfigurationPackage.getActiveResourceConfiguration_Replicas()

setReplicas

public void setReplicas(int newReplicas)

Specified by:
setReplicas in interface ActiveResourceConfiguration
Parameters:
newReplicas - the new value of the 'Replicas' attribute.
See Also:
ActiveResourceConfiguration.getReplicas()

getName

public String getName()

Specified by:
getName in interface ActiveResourceConfiguration
Returns:
the value of the 'Name' attribute.
See Also:
ActiveResourceConfiguration.setName(String), ConfigurationPackage.getActiveResourceConfiguration_Name()

setName

public void setName(String newName)

Specified by:
setName in interface ActiveResourceConfiguration
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
ActiveResourceConfiguration.getName()

eGet

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

Overrides:
eGet in class IdentifierImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Overrides:
eSet in class IdentifierImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class IdentifierImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class IdentifierImpl

toString

public String toString()

Overrides:
toString in class IdentifierImpl