blob: 2b13dac33b851284cfe8171fdd05e1357eeeee6d [file] [log] [blame]
/**
* Copyright (c) 2015 Ericsson AB
*
* 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
*
* Contributors:
* Ericsson AB - Initial API and implementation
*/
package org.eclipse.egerrit.internal.model;
import org.eclipse.emf.common.util.EMap;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Reviewer Info</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.egerrit.internal.model.ReviewerInfo#get_account_id <em>account id</em>}</li>
* <li>{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getEmail <em>Email</em>}</li>
* <li>{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getUsername <em>Username</em>}</li>
* <li>{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getApprovals <em>Approvals</em>}</li>
* </ul>
*
* @see org.eclipse.egerrit.internal.model.ModelPackage#getReviewerInfo()
* @model
* @generated
*/
public interface ReviewerInfo extends EObject {
/**
* Returns the value of the '<em><b>account id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>account id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>account id</em>' attribute.
* @see #set_account_id(int)
* @see org.eclipse.egerrit.internal.model.ModelPackage#getReviewerInfo__account_id()
* @model
* @generated
*/
int get_account_id();
/**
* Sets the value of the '{@link org.eclipse.egerrit.internal.model.ReviewerInfo#get_account_id <em>account id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>account id</em>' attribute.
* @see #get_account_id()
* @generated
*/
void set_account_id(int value);
/**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Name</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
* @see org.eclipse.egerrit.internal.model.ModelPackage#getReviewerInfo_Name()
* @model
* @generated
*/
String getName();
/**
* Sets the value of the '{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getName <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
void setName(String value);
/**
* Returns the value of the '<em><b>Email</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Email</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Email</em>' attribute.
* @see #setEmail(String)
* @see org.eclipse.egerrit.internal.model.ModelPackage#getReviewerInfo_Email()
* @model
* @generated
*/
String getEmail();
/**
* Sets the value of the '{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getEmail <em>Email</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Email</em>' attribute.
* @see #getEmail()
* @generated
*/
void setEmail(String value);
/**
* Returns the value of the '<em><b>Username</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Username</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Username</em>' attribute.
* @see #setUsername(String)
* @see org.eclipse.egerrit.internal.model.ModelPackage#getReviewerInfo_Username()
* @model
* @generated
*/
String getUsername();
/**
* Sets the value of the '{@link org.eclipse.egerrit.internal.model.ReviewerInfo#getUsername <em>Username</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Username</em>' attribute.
* @see #getUsername()
* @generated
*/
void setUsername(String value);
/**
* Returns the value of the '<em><b>Approvals</b></em>' map.
* The key is of type {@link java.lang.String},
* and the value is of type {@link java.lang.String},
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Approvals</em>' map isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Approvals</em>' map.
* @see org.eclipse.egerrit.internal.model.ModelPackage#getReviewerInfo_Approvals()
* @model mapType="org.eclipse.egerrit.internal.model.StringToString<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>"
* @generated
*/
EMap<String, String> getApprovals();
} // ReviewerInfo