blob: 8fba1908c7ebcaf41598967e4f7c6a33d4ad2def [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2005 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.j2ee.common;
import org.eclipse.emf.common.util.EList;
/**
* A semantic grouping of operations that may be performed by a subject.
* The security-role element contains the declaration of a security role which is used in the security-constraints placed on the web application.
* @generated
* @since 1.0 */
public interface SecurityRole extends J2EEEObject {
/**
* @generated This field/method will be replaced during code generation
* @return The value of the Description attribute
*/
String getDescription();
/**
* @generated This field/method will be replaced during code generation
* @param value The new value of the Description attribute
*/
void setDescription(String value);
/**
* @generated This field/method will be replaced during code generation
* @return The value of the RoleName attribute
* The role-name element contains the name of a role. This element must contain a
* non-empty string.
*/
String getRoleName();
/**
* @generated This field/method will be replaced during code generation
* @param value The new value of the RoleName attribute
*/
void setRoleName(String value);
/**
* Returns the value of the '<em><b>Descriptions</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.jst.j2ee.common.Description}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Descriptions</em>' containment reference list.
* @see org.eclipse.jst.j2ee.common.CommonPackage#getSecurityRole_Descriptions()
* @model type="org.eclipse.jst.j2ee.common.Description" containment="true"
* @generated
*/
EList getDescriptions();
}