/**
 */
package org.xtext.example.mydsl2.myDsl2;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Role Definition</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.xtext.example.mydsl2.myDsl2.RoleDefinition#getName <em>Name</em>}</li>
 *   <li>{@link org.xtext.example.mydsl2.myDsl2.RoleDefinition#getBasePermissions <em>Base Permissions</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.xtext.example.mydsl2.myDsl2.MyDsl2Package#getRoleDefinition()
 * @model
 * @generated
 */
public interface RoleDefinition extends EObject
{
  /**
   * 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.xtext.example.mydsl2.myDsl2.MyDsl2Package#getRoleDefinition_Name()
   * @model
   * @generated
   */
  String getName();

  /**
   * Sets the value of the '{@link org.xtext.example.mydsl2.myDsl2.RoleDefinition#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>Base Permissions</b></em>' attribute list.
   * The list contents are of type {@link org.xtext.example.mydsl2.myDsl2.BasePermission}.
   * The literals are from the enumeration {@link org.xtext.example.mydsl2.myDsl2.BasePermission}.
   * <!-- begin-user-doc -->
   * <p>
   * If the meaning of the '<em>Base Permissions</em>' attribute list isn't clear,
   * there really should be more of a description here...
   * </p>
   * <!-- end-user-doc -->
   * @return the value of the '<em>Base Permissions</em>' attribute list.
   * @see org.xtext.example.mydsl2.myDsl2.BasePermission
   * @see org.xtext.example.mydsl2.myDsl2.MyDsl2Package#getRoleDefinition_BasePermissions()
   * @model unique="false"
   * @generated
   */
  EList<BasePermission> getBasePermissions();

} // RoleDefinition
