001    /**
002     * <copyright>
003     * </copyright>
004     *
005     * $Id$
006     */
007    package com.hammurapi.review;
008    
009    
010    /**
011     * <!-- begin-user-doc -->
012     * A representation of the model object '<em><b>Revision</b></em>'.
013     * <!-- end-user-doc -->
014     *
015     * <!-- begin-model-doc -->
016     * Revision is a form of a language element which can be versioned (e.g. file).
017     * <!-- end-model-doc -->
018     *
019     * <p>
020     * The following features are supported:
021     * <ul>
022     *   <li>{@link com.hammurapi.review.Revision#getName <em>Name</em>}</li>
023     *   <li>{@link com.hammurapi.review.Revision#getSize <em>Size</em>}</li>
024     *   <li>{@link com.hammurapi.review.Revision#getChecksum <em>Checksum</em>}</li>
025     *   <li>{@link com.hammurapi.review.Revision#getTimestamp <em>Timestamp</em>}</li>
026     *   <li>{@link com.hammurapi.review.Revision#getChecksumAlgorithm <em>Checksum Algorithm</em>}</li>
027     * </ul>
028     * </p>
029     *
030     * @see com.hammurapi.review.ReviewPackage#getRevision()
031     * @model interface="true" abstract="true"
032     * @generated
033     */
034    public interface Revision extends LanguageElement {
035            /**
036             * Returns the value of the '<em><b>Name</b></em>' attribute.
037             * <!-- begin-user-doc -->
038             * <p>
039             * If the meaning of the '<em>Name</em>' attribute isn't clear,
040             * there really should be more of a description here...
041             * </p>
042             * <!-- end-user-doc -->
043             * @return the value of the '<em>Name</em>' attribute.
044             * @see #setName(String)
045             * @see com.hammurapi.review.ReviewPackage#getRevision_Name()
046             * @model
047             * @generated
048             */
049            String getName();
050    
051            /**
052             * Sets the value of the '{@link com.hammurapi.review.Revision#getName <em>Name</em>}' attribute.
053             * <!-- begin-user-doc -->
054             * <!-- end-user-doc -->
055             * @param value the new value of the '<em>Name</em>' attribute.
056             * @see #getName()
057             * @generated
058             */
059            void setName(String value);
060    
061            /**
062             * Returns the value of the '<em><b>Size</b></em>' attribute.
063             * <!-- begin-user-doc -->
064             * <!-- end-user-doc -->
065             * <!-- begin-model-doc -->
066             * Revision size in bytes.
067             * <!-- end-model-doc -->
068             * @return the value of the '<em>Size</em>' attribute.
069             * @see #setSize(long)
070             * @see com.hammurapi.review.ReviewPackage#getRevision_Size()
071             * @model
072             * @generated
073             */
074            long getSize();
075    
076            /**
077             * Sets the value of the '{@link com.hammurapi.review.Revision#getSize <em>Size</em>}' attribute.
078             * <!-- begin-user-doc -->
079             * <!-- end-user-doc -->
080             * @param value the new value of the '<em>Size</em>' attribute.
081             * @see #getSize()
082             * @generated
083             */
084            void setSize(long value);
085    
086            /**
087             * Returns the value of the '<em><b>Checksum</b></em>' attribute.
088             * <!-- begin-user-doc -->
089             * <!-- end-user-doc -->
090             * <!-- begin-model-doc -->
091             * Revision checksum.
092             * <!-- end-model-doc -->
093             * @return the value of the '<em>Checksum</em>' attribute.
094             * @see #setChecksum(String)
095             * @see com.hammurapi.review.ReviewPackage#getRevision_Checksum()
096             * @model
097             * @generated
098             */
099            String getChecksum();
100    
101            /**
102             * Sets the value of the '{@link com.hammurapi.review.Revision#getChecksum <em>Checksum</em>}' attribute.
103             * <!-- begin-user-doc -->
104             * <!-- end-user-doc -->
105             * @param value the new value of the '<em>Checksum</em>' attribute.
106             * @see #getChecksum()
107             * @generated
108             */
109            void setChecksum(String value);
110    
111            /**
112             * Returns the value of the '<em><b>Timestamp</b></em>' attribute.
113             * <!-- begin-user-doc -->
114             * <!-- end-user-doc -->
115             * <!-- begin-model-doc -->
116             * Revision modification time.
117             * <!-- end-model-doc -->
118             * @return the value of the '<em>Timestamp</em>' attribute.
119             * @see #setTimestamp(long)
120             * @see com.hammurapi.review.ReviewPackage#getRevision_Timestamp()
121             * @model
122             * @generated
123             */
124            long getTimestamp();
125    
126            /**
127             * Sets the value of the '{@link com.hammurapi.review.Revision#getTimestamp <em>Timestamp</em>}' attribute.
128             * <!-- begin-user-doc -->
129             * <!-- end-user-doc -->
130             * @param value the new value of the '<em>Timestamp</em>' attribute.
131             * @see #getTimestamp()
132             * @generated
133             */
134            void setTimestamp(long value);
135    
136            /**
137             * Returns the value of the '<em><b>Checksum Algorithm</b></em>' attribute.
138             * <!-- begin-user-doc -->
139             * <!-- end-user-doc -->
140             * <!-- begin-model-doc -->
141             * Checksum algorithm, e.g. SHA, Adler, CRC
142             * <!-- end-model-doc -->
143             * @return the value of the '<em>Checksum Algorithm</em>' attribute.
144             * @see #setChecksumAlgorithm(String)
145             * @see com.hammurapi.review.ReviewPackage#getRevision_ChecksumAlgorithm()
146             * @model
147             * @generated
148             */
149            String getChecksumAlgorithm();
150    
151            /**
152             * Sets the value of the '{@link com.hammurapi.review.Revision#getChecksumAlgorithm <em>Checksum Algorithm</em>}' attribute.
153             * <!-- begin-user-doc -->
154             * <!-- end-user-doc -->
155             * @param value the new value of the '<em>Checksum Algorithm</em>' attribute.
156             * @see #getChecksumAlgorithm()
157             * @generated
158             */
159            void setChecksumAlgorithm(String value);
160    
161    } // Revision