org.eclipse.xtend.profiler.profilermodel.impl
Class ItemImpl

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.eclipse.xtend.profiler.profilermodel.impl.CallableImpl
                  extended by org.eclipse.xtend.profiler.profilermodel.impl.ItemImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Callable, Item

public class ItemImpl
extends CallableImpl
implements Item

An implementation of the model object ' Item'.

The following features are implemented:

EMF generated code

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 java.lang.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 int CALL_COUNT_EDEFAULT
          The default value of the 'Call Count' attribute.
protected  Cycle cycle
          The cached value of the 'Cycle' reference.
protected  org.eclipse.emf.common.util.EList<CallGroup> invocations
          The cached value of the 'Invocations' reference list.
protected static java.lang.String ITEM_NAME_EDEFAULT
          The default value of the 'Item Name' attribute.
protected static long ITEM_TIME_EDEFAULT
          The default value of the 'Item Time' attribute.
protected  java.lang.String itemName
          The cached value of the 'Item Name' attribute.
protected  long itemTime
          The cached value of the 'Item Time' attribute.
protected  org.eclipse.emf.common.util.EList<CallGroup> subroutines
          The cached value of the 'Subroutines' reference list.
 
Fields inherited from class org.eclipse.xtend.profiler.profilermodel.impl.CallableImpl
CHILD_TIME_EDEFAULT, NAME_EDEFAULT, OUTBOUND_CHILD_TIME_EDEFAULT, SELF_TIME_EDEFAULT, TIME_EDEFAULT
 
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 ItemImpl()
           
 
Method Summary
 Cycle basicGetCycle()
           
 org.eclipse.emf.common.notify.NotificationChain basicSetCycle(Cycle newCycle, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 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, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 long getBruttoTime()
           
 int getCallCount()
           
 int getCallCountInCycle(Cycle cycle)
           
 long getChildTime()
           
 Cycle getCycle()
           
 org.eclipse.emf.common.util.EList<CallGroup> getInboundInvocations()
           
 org.eclipse.emf.common.util.EList<CallGroup> getInvocations()
           
 java.lang.String getItemName()
           
 long getItemTime()
           
 java.lang.String getName()
           
 long getOutboundChildTime()
           
 org.eclipse.emf.common.util.EList<CallGroup> getSubroutines()
           
 long getTime()
           
 boolean isSameCycle(Item item)
           
 void setCycle(Cycle newCycle)
           
 void setItemName(java.lang.String newItemName)
           
 void setItemTime(long newItemTime)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.xtend.profiler.profilermodel.impl.CallableImpl
getSelfTime
 
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, 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.xtend.profiler.profilermodel.Callable
getSelfTime
 
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

ITEM_NAME_EDEFAULT

protected static final java.lang.String ITEM_NAME_EDEFAULT
The default value of the 'Item Name' attribute.

See Also:
getItemName(), Constant Field Values
EMF generated code
EMF ordered

itemName

protected java.lang.String itemName
The cached value of the 'Item Name' attribute.

See Also:
getItemName()
EMF generated code
EMF ordered

ITEM_TIME_EDEFAULT

protected static final long ITEM_TIME_EDEFAULT
The default value of the 'Item Time' attribute.

See Also:
getItemTime(), Constant Field Values
EMF generated code
EMF ordered

itemTime

protected long itemTime
The cached value of the 'Item Time' attribute.

See Also:
getItemTime()
EMF generated code
EMF ordered

CALL_COUNT_EDEFAULT

protected static final int CALL_COUNT_EDEFAULT
The default value of the 'Call Count' attribute.

See Also:
getCallCount(), Constant Field Values
EMF generated code
EMF ordered

subroutines

protected org.eclipse.emf.common.util.EList<CallGroup> subroutines
The cached value of the 'Subroutines' reference list.

See Also:
getSubroutines()
EMF generated code
EMF ordered

invocations

protected org.eclipse.emf.common.util.EList<CallGroup> invocations
The cached value of the 'Invocations' reference list.

See Also:
getInvocations()
EMF generated code
EMF ordered

cycle

protected Cycle cycle
The cached value of the 'Cycle' reference.

See Also:
getCycle()
EMF generated code
EMF ordered
Constructor Detail

ItemImpl

protected ItemImpl()

EMF generated code
Method Detail

eStaticClass

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

Overrides:
eStaticClass in class CallableImpl
EMF generated code

getName

public java.lang.String getName()
Description copied from class: CallableImpl

Specified by:
getName in interface Callable
Overrides:
getName in class CallableImpl
Returns:
the value of the 'Name' attribute.
See Also:
ModelPackage.getCallable_Name()

getBruttoTime

public long getBruttoTime()
Specified by:
getBruttoTime in class CallableImpl

getTime

public long getTime()
Description copied from class: CallableImpl

Specified by:
getTime in interface Callable
Overrides:
getTime in class CallableImpl
Returns:
the value of the 'Time' attribute.
See Also:
ModelPackage.getCallable_Time()

getItemName

public java.lang.String getItemName()

Specified by:
getItemName in interface Item
Returns:
the value of the 'Item Name' attribute.
See Also:
Item.setItemName(String), ModelPackage.getItem_ItemName()
EMF generated code

setItemName

public void setItemName(java.lang.String newItemName)

Specified by:
setItemName in interface Item
Parameters:
newItemName - the new value of the 'Item Name' attribute.
See Also:
Item.getItemName()
EMF generated code

getItemTime

public long getItemTime()

Specified by:
getItemTime in interface Item
Returns:
the value of the 'Item Time' attribute.
See Also:
Item.setItemTime(long), ModelPackage.getItem_ItemTime()
EMF generated code

setItemTime

public void setItemTime(long newItemTime)

Specified by:
setItemTime in interface Item
Parameters:
newItemTime - the new value of the 'Item Time' attribute.
See Also:
Item.getItemTime()
EMF generated code

getCallCount

public int getCallCount()

Specified by:
getCallCount in interface Item
Returns:
the value of the 'Call Count' attribute.
See Also:
ModelPackage.getItem_CallCount()
EMF generated code
NOT

getOutboundChildTime

public long getOutboundChildTime()
Description copied from class: CallableImpl

Specified by:
getOutboundChildTime in interface Callable
Overrides:
getOutboundChildTime in class CallableImpl
Returns:
the value of the 'Outbound Child Time' attribute.
See Also:
ModelPackage.getCallable_OutboundChildTime()

getChildTime

public long getChildTime()

Specified by:
getChildTime in interface Callable
Overrides:
getChildTime in class CallableImpl
Returns:
the value of the 'Child Time' attribute.
See Also:
ModelPackage.getCallable_ChildTime()
EMF generated code
NOT

getSubroutines

public org.eclipse.emf.common.util.EList<CallGroup> getSubroutines()

Specified by:
getSubroutines in interface Item
Returns:
the value of the 'Subroutines' reference list.
See Also:
ModelPackage.getItem_Subroutines(), CallGroup.getInvoker()
EMF generated code

getInvocations

public org.eclipse.emf.common.util.EList<CallGroup> getInvocations()

Specified by:
getInvocations in interface Item
Returns:
the value of the 'Invocations' reference list.
See Also:
ModelPackage.getItem_Invocations(), CallGroup.getSubroutine()
EMF generated code

getCycle

public Cycle getCycle()

Specified by:
getCycle in interface Item
Returns:
the value of the 'Cycle' reference.
See Also:
Item.setCycle(Cycle), ModelPackage.getItem_Cycle(), Cycle.getItems()
EMF generated code

basicGetCycle

public Cycle basicGetCycle()

EMF generated code

basicSetCycle

public org.eclipse.emf.common.notify.NotificationChain basicSetCycle(Cycle newCycle,
                                                                     org.eclipse.emf.common.notify.NotificationChain msgs)

EMF generated code

setCycle

public void setCycle(Cycle newCycle)

Specified by:
setCycle in interface Item
Parameters:
newCycle - the new value of the 'Cycle' reference.
See Also:
Item.getCycle()
EMF generated code

getInboundInvocations

public org.eclipse.emf.common.util.EList<CallGroup> getInboundInvocations()

Specified by:
getInboundInvocations in interface Item
Returns:
the value of the 'Inbound Invocations' reference list.
See Also:
ModelPackage.getItem_InboundInvocations()
EMF generated code
NOT

isSameCycle

public boolean isSameCycle(Item item)

Specified by:
isSameCycle in interface Item
EMF generated code
NOT

getCallCountInCycle

public int getCallCountInCycle(Cycle cycle)

Specified by:
getCallCountInCycle in interface Item
EMF generated code
NOT

eInverseAdd

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

Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

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
EMF generated code

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class CallableImpl
EMF generated code

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

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

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
EMF generated code

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class CallableImpl
EMF generated code

toString

public java.lang.String toString()

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