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>Warning</b></em>'. 013 * <!-- end-user-doc --> 014 * 015 * <p> 016 * The following features are supported: 017 * <ul> 018 * <li>{@link com.hammurapi.review.Warning#getCause <em>Cause</em>}</li> 019 * <li>{@link com.hammurapi.review.Warning#getMessage <em>Message</em>}</li> 020 * </ul> 021 * </p> 022 * 023 * @see com.hammurapi.review.ReviewPackage#getWarning() 024 * @model 025 * @generated 026 */ 027 public interface Warning extends Observation { 028 /** 029 * Returns the value of the '<em><b>Cause</b></em>' attribute. 030 * <!-- begin-user-doc --> 031 * <p> 032 * If the meaning of the '<em>Cause</em>' attribute isn't clear, 033 * there really should be more of a description here... 034 * </p> 035 * <!-- end-user-doc --> 036 * @return the value of the '<em>Cause</em>' attribute. 037 * @see #setCause(Exception) 038 * @see com.hammurapi.review.ReviewPackage#getWarning_Cause() 039 * @model dataType="com.hammurapi.review.EException" 040 * @generated 041 */ 042 Exception getCause(); 043 044 /** 045 * Sets the value of the '{@link com.hammurapi.review.Warning#getCause <em>Cause</em>}' attribute. 046 * <!-- begin-user-doc --> 047 * <!-- end-user-doc --> 048 * @param value the new value of the '<em>Cause</em>' attribute. 049 * @see #getCause() 050 * @generated 051 */ 052 void setCause(Exception value); 053 054 /** 055 * Returns the value of the '<em><b>Message</b></em>' attribute. 056 * <!-- begin-user-doc --> 057 * <p> 058 * If the meaning of the '<em>Message</em>' attribute isn't clear, 059 * there really should be more of a description here... 060 * </p> 061 * <!-- end-user-doc --> 062 * @return the value of the '<em>Message</em>' attribute. 063 * @see #setMessage(String) 064 * @see com.hammurapi.review.ReviewPackage#getWarning_Message() 065 * @model 066 * @generated 067 */ 068 String getMessage(); 069 070 /** 071 * Sets the value of the '{@link com.hammurapi.review.Warning#getMessage <em>Message</em>}' attribute. 072 * <!-- begin-user-doc --> 073 * <!-- end-user-doc --> 074 * @param value the new value of the '<em>Message</em>' attribute. 075 * @see #getMessage() 076 * @generated 077 */ 078 void setMessage(String value); 079 080 } // Warning