org.jboss.drools.impl
Class CostParametersImpl

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 org.jboss.drools.impl.CostParametersImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, CostParameters

public class CostParametersImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements CostParameters

An implementation of the model object 'Cost Parameters'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static String CURRENCY_UNIT_EDEFAULT
          The default value of the 'Currency Unit' attribute
protected  String currencyUnit
          The cached value of the 'Currency Unit' attribute
protected  Parameter fixedCost
          The cached value of the 'Fixed Cost' containment reference
protected  Parameter unitCost
          The cached value of the 'Unit Cost' containment reference
 
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 CostParametersImpl()
           
 
Method Summary
 org.eclipse.emf.common.notify.NotificationChain basicSetFixedCost(Parameter newFixedCost, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetUnitCost(Parameter newUnitCost, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getCurrencyUnit()
           
 Parameter getFixedCost()
           
 Parameter getUnitCost()
           
 void setCurrencyUnit(String newCurrencyUnit)
           
 void setFixedCost(Parameter newFixedCost)
           
 void setUnitCost(Parameter newUnitCost)
           
 String toString()
           
 
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, 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

fixedCost

protected Parameter fixedCost
The cached value of the 'Fixed Cost' containment reference.

See Also:
getFixedCost()

unitCost

protected Parameter unitCost
The cached value of the 'Unit Cost' containment reference.

See Also:
getUnitCost()

CURRENCY_UNIT_EDEFAULT

protected static final String CURRENCY_UNIT_EDEFAULT
The default value of the 'Currency Unit' attribute.

See Also:
getCurrencyUnit()

currencyUnit

protected String currencyUnit
The cached value of the 'Currency Unit' attribute.

See Also:
getCurrencyUnit()
Constructor Detail

CostParametersImpl

protected CostParametersImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.EObjectImpl

getFixedCost

public Parameter getFixedCost()

Specified by:
getFixedCost in interface CostParameters
Returns:
the value of the 'Fixed Cost' containment reference.
See Also:
CostParameters.setFixedCost(Parameter), DroolsPackage.getCostParameters_FixedCost()

basicSetFixedCost

public org.eclipse.emf.common.notify.NotificationChain basicSetFixedCost(Parameter newFixedCost,
                                                                         org.eclipse.emf.common.notify.NotificationChain msgs)


setFixedCost

public void setFixedCost(Parameter newFixedCost)

Specified by:
setFixedCost in interface CostParameters
Parameters:
newFixedCost - the new value of the 'Fixed Cost' containment reference.
See Also:
CostParameters.getFixedCost()

getUnitCost

public Parameter getUnitCost()

Specified by:
getUnitCost in interface CostParameters
Returns:
the value of the 'Unit Cost' containment reference.
See Also:
CostParameters.setUnitCost(Parameter), DroolsPackage.getCostParameters_UnitCost()

basicSetUnitCost

public org.eclipse.emf.common.notify.NotificationChain basicSetUnitCost(Parameter newUnitCost,
                                                                        org.eclipse.emf.common.notify.NotificationChain msgs)


setUnitCost

public void setUnitCost(Parameter newUnitCost)

Specified by:
setUnitCost in interface CostParameters
Parameters:
newUnitCost - the new value of the 'Unit Cost' containment reference.
See Also:
CostParameters.getUnitCost()

getCurrencyUnit

public String getCurrencyUnit()

Specified by:
getCurrencyUnit in interface CostParameters
Returns:
the value of the 'Currency Unit' attribute.
See Also:
CostParameters.setCurrencyUnit(String), DroolsPackage.getCostParameters_CurrencyUnit()

setCurrencyUnit

public void setCurrencyUnit(String newCurrencyUnit)

Specified by:
setCurrencyUnit in interface CostParameters
Parameters:
newCurrencyUnit - the new value of the 'Currency Unit' attribute.
See Also:
CostParameters.getCurrencyUnit()

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.