blob: 33ff82ce75c06a4b3cc689a050cfc4bc816e23ce [file] [log] [blame]
/**
* Copyright (c) 2010 Mia-Software.
* 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:
*
* Nicolas Guyomar (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.jee.ejbjar.EjbJar31;
import java.lang.String;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Security Identity Type</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
*
*
* The security-identityType specifies whether the caller's
* security identity is to be used for the execution of the
* methods of the enterprise bean or whether a specific run-as
* identity is to be used. It contains an optional description
* and a specification of the security identity to be used.
*
*
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getDescription <em>Description</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getUseCallerIdentity <em>Use Caller Identity</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getRunAs <em>Run As</em>}</li>
* <li>{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getId <em>Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getSecurityIdentityType()
* @model extendedMetaData="name='security-identityType' kind='elementOnly'"
* @generated
*/
public interface SecurityIdentityType extends EObject {
/**
* Returns the value of the '<em><b>Description</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.modisco.jee.ejbjar.EjbJar31.DescriptionType}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Description</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>Description</em>' containment reference list.
* @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getSecurityIdentityType_Description()
* @model containment="true"
* extendedMetaData="kind='element' name='description' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
EList<DescriptionType> getDescription();
/**
* Returns the value of the '<em><b>Use Caller Identity</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
*
*
* The use-caller-identity element specifies that
* the caller's security identity be used as the
* security identity for the execution of the
* enterprise bean's methods.
*
*
* <!-- end-model-doc -->
* @return the value of the '<em>Use Caller Identity</em>' containment reference.
* @see #setUseCallerIdentity(EmptyType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getSecurityIdentityType_UseCallerIdentity()
* @model containment="true"
* extendedMetaData="kind='element' name='use-caller-identity' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
EmptyType getUseCallerIdentity();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getUseCallerIdentity <em>Use Caller Identity</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Use Caller Identity</em>' containment reference.
* @see #getUseCallerIdentity()
* @generated
*/
void setUseCallerIdentity(EmptyType value);
/**
* Returns the value of the '<em><b>Run As</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Run As</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Run As</em>' containment reference.
* @see #setRunAs(RunAsType)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getSecurityIdentityType_RunAs()
* @model containment="true"
* extendedMetaData="kind='element' name='run-as' namespace='http://java.sun.com/xml/ns/javaee'"
* @generated
*/
RunAsType getRunAs();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getRunAs <em>Run As</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Run As</em>' containment reference.
* @see #getRunAs()
* @generated
*/
void setRunAs(RunAsType value);
/**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>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>Id</em>' attribute.
* @see #setId(String)
* @see org.eclipse.modisco.jee.ejbjar.EjbJar31.EjbJar31Package#getSecurityIdentityType_Id()
* @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID"
* extendedMetaData="kind='attribute' name='id'"
* @generated
*/
String getId();
/**
* Sets the value of the '{@link org.eclipse.modisco.jee.ejbjar.EjbJar31.SecurityIdentityType#getId <em>Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Id</em>' attribute.
* @see #getId()
* @generated
*/
void setId(String value);
} // SecurityIdentityType