001 /** 002 * <copyright> 003 * </copyright> 004 * 005 * $Id$ 006 */ 007 package com.hammurapi.review; 008 009 import org.eclipse.emf.common.util.EList; 010 import org.eclipse.emf.ecore.EObject; 011 012 /** 013 * <!-- begin-user-doc --> 014 * A representation of the model object '<em><b>Baseline</b></em>'. 015 * <!-- end-user-doc --> 016 * 017 * <!-- begin-model-doc --> 018 * Baseline is a state of repository at the time of review. 019 * <!-- end-model-doc --> 020 * 021 * <p> 022 * The following features are supported: 023 * <ul> 024 * <li>{@link com.hammurapi.review.Baseline#getRoots <em>Roots</em>}</li> 025 * <li>{@link com.hammurapi.review.Baseline#getTimestamp <em>Timestamp</em>}</li> 026 * <li>{@link com.hammurapi.review.Baseline#getDescription <em>Description</em>}</li> 027 * <li>{@link com.hammurapi.review.Baseline#getReports <em>Reports</em>}</li> 028 * </ul> 029 * </p> 030 * 031 * @see com.hammurapi.review.ReviewPackage#getBaseline() 032 * @model 033 * @generated 034 */ 035 public interface Baseline extends EObject { 036 /** 037 * Returns the value of the '<em><b>Roots</b></em>' containment reference list. 038 * The list contents are of type {@link com.hammurapi.review.Revision}. 039 * <!-- begin-user-doc --> 040 * <p> 041 * If the meaning of the '<em>Roots</em>' containment reference list isn't clear, 042 * there really should be more of a description here... 043 * </p> 044 * <!-- end-user-doc --> 045 * @return the value of the '<em>Roots</em>' containment reference list. 046 * @see com.hammurapi.review.ReviewPackage#getBaseline_Roots() 047 * @model containment="true" 048 * @generated 049 */ 050 EList<Revision> getRoots(); 051 052 /** 053 * Returns the value of the '<em><b>Timestamp</b></em>' attribute. 054 * <!-- begin-user-doc --> 055 * <!-- end-user-doc --> 056 * <!-- begin-model-doc --> 057 * Time of taking the baseline. 058 * <!-- end-model-doc --> 059 * @return the value of the '<em>Timestamp</em>' attribute. 060 * @see #setTimestamp(long) 061 * @see com.hammurapi.review.ReviewPackage#getBaseline_Timestamp() 062 * @model 063 * @generated 064 */ 065 long getTimestamp(); 066 067 /** 068 * Sets the value of the '{@link com.hammurapi.review.Baseline#getTimestamp <em>Timestamp</em>}' attribute. 069 * <!-- begin-user-doc --> 070 * <!-- end-user-doc --> 071 * @param value the new value of the '<em>Timestamp</em>' attribute. 072 * @see #getTimestamp() 073 * @generated 074 */ 075 void setTimestamp(long value); 076 077 /** 078 * Returns the value of the '<em><b>Description</b></em>' attribute. 079 * <!-- begin-user-doc --> 080 * <!-- end-user-doc --> 081 * <!-- begin-model-doc --> 082 * Baseline description. 083 * <!-- end-model-doc --> 084 * @return the value of the '<em>Description</em>' attribute. 085 * @see #setDescription(String) 086 * @see com.hammurapi.review.ReviewPackage#getBaseline_Description() 087 * @model 088 * @generated 089 */ 090 String getDescription(); 091 092 /** 093 * Sets the value of the '{@link com.hammurapi.review.Baseline#getDescription <em>Description</em>}' attribute. 094 * <!-- begin-user-doc --> 095 * <!-- end-user-doc --> 096 * @param value the new value of the '<em>Description</em>' attribute. 097 * @see #getDescription() 098 * @generated 099 */ 100 void setDescription(String value); 101 102 /** 103 * Returns the value of the '<em><b>Reports</b></em>' containment reference list. 104 * The list contents are of type {@link com.hammurapi.review.Report}. 105 * It is bidirectional and its opposite is '{@link com.hammurapi.review.Report#getBaseline <em>Baseline</em>}'. 106 * <!-- begin-user-doc --> 107 * <p> 108 * If the meaning of the '<em>Reports</em>' containment reference list isn't clear, 109 * there really should be more of a description here... 110 * </p> 111 * <!-- end-user-doc --> 112 * @return the value of the '<em>Reports</em>' containment reference list. 113 * @see com.hammurapi.review.ReviewPackage#getBaseline_Reports() 114 * @see com.hammurapi.review.Report#getBaseline 115 * @model opposite="baseline" containment="true" 116 * @generated 117 */ 118 EList<Report> getReports(); 119 120 } // Baseline