blob: ba859dc039e83574432220a8cc8ef4a7315cd78b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2012 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License v1.0 which
* accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Description:
*
* Contributors:
* Alvaro Sanchez-Leon - Initial Implementation and API
*******************************************************************************/
package org.eclipse.mylyn.reviews.frame.core.model;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Comment</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.mylyn.reviews.frame.core.model.Comment#getUser <em>User</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.frame.core.model.Comment#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.mylyn.reviews.frame.core.model.Comment#getDescription <em>Description</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.mylyn.reviews.frame.core.model.ModelPackage#getComment()
* @model
* @generated
*/
public interface Comment extends ReviewComponent {
/**
* Returns the value of the '<em><b>User</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>User</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>User</em>' reference.
* @see #setUser(User)
* @see org.eclipse.mylyn.reviews.frame.core.model.ModelPackage#getComment_User()
* @model resolveProxies="false" required="true"
* @generated
*/
User getUser();
/**
* Sets the value of the '{@link org.eclipse.mylyn.reviews.frame.core.model.Comment#getUser <em>User</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>User</em>' reference.
* @see #getUser()
* @generated
*/
void setUser(User value);
/**
* Returns the value of the '<em><b>Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' containment reference.
* @see #setType(CommentType)
* @see org.eclipse.mylyn.reviews.frame.core.model.ModelPackage#getComment_Type()
* @model containment="true" resolveProxies="true" required="true"
* @generated
*/
CommentType getType();
/**
* Sets the value of the '{@link org.eclipse.mylyn.reviews.frame.core.model.Comment#getType <em>Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' containment reference.
* @see #getType()
* @generated
*/
void setType(CommentType value);
/**
* Returns the value of the '<em><b>Description</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
* @see org.eclipse.mylyn.reviews.frame.core.model.ModelPackage#getComment_Description()
* @model
* @generated
*/
String getDescription();
/**
* Sets the value of the '{@link org.eclipse.mylyn.reviews.frame.core.model.Comment#getDescription <em>Description</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Description</em>' attribute.
* @see #getDescription()
* @generated
*/
void setDescription(String value);
} // Comment