com.hammurapi.review.impl
Class RevisionImpl

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 com.hammurapi.review.impl.RevisionImpl
All Implemented Interfaces:
LanguageElement, Revision, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject

public class RevisionImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Revision

An implementation of the model object 'Revision'.

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>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected  String checksum
          The cached value of the 'Checksum' attribute.
protected static String CHECKSUM_ALGORITHM_EDEFAULT
          The default value of the 'Checksum Algorithm' attribute.
protected static String CHECKSUM_EDEFAULT
          The default value of the 'Checksum' attribute.
protected  String checksumAlgorithm
          The cached value of the 'Checksum Algorithm' attribute.
protected  String name
          The cached value of the 'Name' attribute.
protected static String NAME_EDEFAULT
          The default value of the 'Name' attribute.
protected  org.eclipse.emf.common.util.EList<Observation> observations
          The cached value of the 'Observations' containment reference list.
protected  long size
          The cached value of the 'Size' attribute.
protected static long SIZE_EDEFAULT
          The default value of the 'Size' attribute.
protected  long timestamp
          The cached value of the 'Timestamp' attribute.
protected static long TIMESTAMP_EDEFAULT
          The default value of the 'Timestamp' 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
protected RevisionImpl()
           
 
Method Summary
 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, Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 String getChecksum()
           
 String getChecksumAlgorithm()
           
 String getName()
           
 org.eclipse.emf.common.util.EList<Observation> getObservations()
           
 String getSignature()
           
 long getSize()
           
 long getTimestamp()
           
 void setChecksum(String newChecksum)
           
 void setChecksumAlgorithm(String newChecksumAlgorithm)
           
 void setName(String newName)
           
 void setSize(long newSize)
           
 void setTimestamp(long newTimestamp)
           
 String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, 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, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, 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, 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

observations

protected org.eclipse.emf.common.util.EList<Observation> observations
The cached value of the 'Observations' containment reference list.

See Also:
getObservations()

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()

SIZE_EDEFAULT

protected static final long SIZE_EDEFAULT
The default value of the 'Size' attribute.

See Also:
getSize(), Constant Field Values

size

protected long size
The cached value of the 'Size' attribute.

See Also:
getSize()

CHECKSUM_EDEFAULT

protected static final String CHECKSUM_EDEFAULT
The default value of the 'Checksum' attribute.

See Also:
getChecksum()

checksum

protected String checksum
The cached value of the 'Checksum' attribute.

See Also:
getChecksum()

TIMESTAMP_EDEFAULT

protected static final long TIMESTAMP_EDEFAULT
The default value of the 'Timestamp' attribute.

See Also:
getTimestamp(), Constant Field Values

timestamp

protected long timestamp
The cached value of the 'Timestamp' attribute.

See Also:
getTimestamp()

CHECKSUM_ALGORITHM_EDEFAULT

protected static final String CHECKSUM_ALGORITHM_EDEFAULT
The default value of the 'Checksum Algorithm' attribute.

See Also:
getChecksumAlgorithm()

checksumAlgorithm

protected String checksumAlgorithm
The cached value of the 'Checksum Algorithm' attribute.

See Also:
getChecksumAlgorithm()
Constructor Detail

RevisionImpl

protected RevisionImpl()

Method Detail

eStaticClass

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

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

getObservations

public org.eclipse.emf.common.util.EList<Observation> getObservations()

Specified by:
getObservations in interface LanguageElement
Returns:
the value of the 'Observations' containment reference list.
See Also:
ReviewPackage.getLanguageElement_Observations(), Observation.getSource()

getName

public String getName()

Specified by:
getName in interface Revision
Returns:
the value of the 'Name' attribute.
See Also:
Revision.setName(String), ReviewPackage.getRevision_Name()

setName

public void setName(String newName)

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

getSize

public long getSize()

Specified by:
getSize in interface Revision
Returns:
the value of the 'Size' attribute.
See Also:
Revision.setSize(long), ReviewPackage.getRevision_Size()

setSize

public void setSize(long newSize)

Specified by:
setSize in interface Revision
Parameters:
newSize - the new value of the 'Size' attribute.
See Also:
Revision.getSize()

getChecksum

public String getChecksum()

Specified by:
getChecksum in interface Revision
Returns:
the value of the 'Checksum' attribute.
See Also:
Revision.setChecksum(String), ReviewPackage.getRevision_Checksum()

setChecksum

public void setChecksum(String newChecksum)

Specified by:
setChecksum in interface Revision
Parameters:
newChecksum - the new value of the 'Checksum' attribute.
See Also:
Revision.getChecksum()

getTimestamp

public long getTimestamp()

Specified by:
getTimestamp in interface Revision
Returns:
the value of the 'Timestamp' attribute.
See Also:
Revision.setTimestamp(long), ReviewPackage.getRevision_Timestamp()

setTimestamp

public void setTimestamp(long newTimestamp)

Specified by:
setTimestamp in interface Revision
Parameters:
newTimestamp - the new value of the 'Timestamp' attribute.
See Also:
Revision.getTimestamp()

getChecksumAlgorithm

public String getChecksumAlgorithm()

Specified by:
getChecksumAlgorithm in interface Revision
Returns:
the value of the 'Checksum Algorithm' attribute.
See Also:
Revision.setChecksumAlgorithm(String), ReviewPackage.getRevision_ChecksumAlgorithm()

setChecksumAlgorithm

public void setChecksumAlgorithm(String newChecksumAlgorithm)

Specified by:
setChecksumAlgorithm in interface Revision
Parameters:
newChecksumAlgorithm - the new value of the 'Checksum Algorithm' attribute.
See Also:
Revision.getChecksumAlgorithm()

getSignature

public String getSignature()

Specified by:
getSignature in interface LanguageElement

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

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