com.hammurapi.review
Interface Revision

All Superinterfaces:
org.eclipse.emf.ecore.EObject, LanguageElement, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
RevisionImpl

public interface Revision
extends LanguageElement

A representation of the model object 'Revision'. Revision is a form of a language element which can be versioned (e.g. file).

The following features are supported:

See Also:
ReviewPackage.getRevision()

Method Summary
 String getChecksum()
          Returns the value of the 'Checksum' attribute.
 String getChecksumAlgorithm()
          Returns the value of the 'Checksum Algorithm' attribute.
 String getName()
          Returns the value of the 'Name' attribute.
 long getSize()
          Returns the value of the 'Size' attribute.
 long getTimestamp()
          Returns the value of the 'Timestamp' attribute.
 void setChecksum(String value)
          Sets the value of the 'Checksum' attribute.
 void setChecksumAlgorithm(String value)
          Sets the value of the 'Checksum Algorithm' attribute.
 void setName(String value)
          Sets the value of the 'Name' attribute.
 void setSize(long value)
          Sets the value of the 'Size' attribute.
 void setTimestamp(long value)
          Sets the value of the 'Timestamp' attribute.
 
Methods inherited from interface com.hammurapi.review.LanguageElement
getObservations, getSignature
 
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
 

Method Detail

getName

String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), ReviewPackage.getRevision_Name()

setName

void setName(String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getSize

long getSize()
Returns the value of the 'Size' attribute. Revision size in bytes.

Returns:
the value of the 'Size' attribute.
See Also:
setSize(long), ReviewPackage.getRevision_Size()

setSize

void setSize(long value)
Sets the value of the 'Size' attribute.

Parameters:
value - the new value of the 'Size' attribute.
See Also:
getSize()

getChecksum

String getChecksum()
Returns the value of the 'Checksum' attribute. Revision checksum.

Returns:
the value of the 'Checksum' attribute.
See Also:
setChecksum(String), ReviewPackage.getRevision_Checksum()

setChecksum

void setChecksum(String value)
Sets the value of the 'Checksum' attribute.

Parameters:
value - the new value of the 'Checksum' attribute.
See Also:
getChecksum()

getTimestamp

long getTimestamp()
Returns the value of the 'Timestamp' attribute. Revision modification time.

Returns:
the value of the 'Timestamp' attribute.
See Also:
setTimestamp(long), ReviewPackage.getRevision_Timestamp()

setTimestamp

void setTimestamp(long value)
Sets the value of the 'Timestamp' attribute.

Parameters:
value - the new value of the 'Timestamp' attribute.
See Also:
getTimestamp()

getChecksumAlgorithm

String getChecksumAlgorithm()
Returns the value of the 'Checksum Algorithm' attribute. Checksum algorithm, e.g. SHA, Adler, CRC

Returns:
the value of the 'Checksum Algorithm' attribute.
See Also:
setChecksumAlgorithm(String), ReviewPackage.getRevision_ChecksumAlgorithm()

setChecksumAlgorithm

void setChecksumAlgorithm(String value)
Sets the value of the 'Checksum Algorithm' attribute.

Parameters:
value - the new value of the 'Checksum Algorithm' attribute.
See Also:
getChecksumAlgorithm()