| /******************************************************************************* |
| * Copyright (c) 2007 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.javaee.ejb; |
| |
| import java.util.List; |
| |
| import org.eclipse.jst.javaee.core.JavaEEObject; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Interceptor Type</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <!-- begin-model-doc --> |
| * |
| * |
| * The interceptorType element declares information about a single |
| * interceptor class. It consists of : |
| * |
| * - An optional description. |
| * - The fully-qualified name of the interceptor class. |
| * - An optional list of around invoke methods declared on the |
| * interceptor class and/or its super-classes. |
| * - An optional list environment dependencies for the interceptor |
| * class and/or its super-classes. |
| * - An optional list of post-activate methods declared on the |
| * interceptor class and/or its super-classes. |
| * - An optional list of pre-passivate methods declared on the |
| * interceptor class and/or its super-classes. |
| * |
| * |
| * <!-- end-model-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getDescriptions <em>Descriptions</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getInterceptorClass <em>Interceptor Class</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getAroundInvokes <em>Around Invokes</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getEnvEntries <em>Env Entries</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getEjbRefs <em>Ejb Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getEjbLocalRefs <em>Ejb Local Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getServiceRefs <em>Service Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getResourceRefs <em>Resource Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getResourceEnvRefs <em>Resource Env Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getMessageDestinationRefs <em>Message Destination Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getPersistenceContextRefs <em>Persistence Context Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getPersistenceUnitRefs <em>Persistence Unit Refs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getPostConstructs <em>Post Constructs</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getPreDestroys <em>Pre Destroys</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getPostActivates <em>Post Activates</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getPrePassivates <em>Pre Passivates</em>}</li> |
| * <li>{@link org.eclipse.jst.javaee.ejb.InterceptorType#getId <em>Id</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType() |
| * @extends JavaEEObject |
| * @generated |
| */ |
| public interface InterceptorType extends JavaEEObject { |
| /** |
| * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.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.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_Descriptions() |
| * @generated |
| */ |
| List getDescriptions(); |
| |
| /** |
| * Returns the value of the '<em><b>Interceptor Class</b></em>' attribute. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Interceptor Class</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Interceptor Class</em>' attribute. |
| * @see #setInterceptorClass(String) |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_InterceptorClass() |
| * @generated |
| */ |
| String getInterceptorClass(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jst.javaee.ejb.InterceptorType#getInterceptorClass <em>Interceptor Class</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Interceptor Class</em>' attribute. |
| * @see #getInterceptorClass() |
| * @generated |
| */ |
| void setInterceptorClass(String value); |
| |
| /** |
| * Returns the value of the '<em><b>Around Invokes</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.ejb.AroundInvokeType}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Around Invokes</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>Around Invokes</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_AroundInvokes() |
| * @generated |
| */ |
| List getAroundInvokes(); |
| |
| /** |
| * Returns the value of the '<em><b>Env Entries</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.EnvEntry}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Env Entries</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>Env Entries</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_EnvEntries() |
| * @generated |
| */ |
| List getEnvEntries(); |
| |
| /** |
| * Returns the value of the '<em><b>Ejb Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.EjbRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Ejb Refs</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>Ejb Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_EjbRefs() |
| * @generated |
| */ |
| List getEjbRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Ejb Local Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.EjbLocalRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Ejb Local Refs</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>Ejb Local Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_EjbLocalRefs() |
| * @generated |
| */ |
| List getEjbLocalRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Service Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.ServiceRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Service Refs</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>Service Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_ServiceRefs() |
| * @generated |
| */ |
| List getServiceRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Resource Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.ResourceRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Resource Refs</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>Resource Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_ResourceRefs() |
| * @generated |
| */ |
| List getResourceRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Resource Env Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.ResourceEnvRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Resource Env Refs</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>Resource Env Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_ResourceEnvRefs() |
| * @generated |
| */ |
| List getResourceEnvRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Message Destination Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.MessageDestinationRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Message Destination Refs</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>Message Destination Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_MessageDestinationRefs() |
| * @generated |
| */ |
| List getMessageDestinationRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Persistence Context Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.PersistenceContextRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Persistence Context Refs</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>Persistence Context Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_PersistenceContextRefs() |
| * @generated |
| */ |
| List getPersistenceContextRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Persistence Unit Refs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.PersistenceUnitRef}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Persistence Unit Refs</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>Persistence Unit Refs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_PersistenceUnitRefs() |
| * @generated |
| */ |
| List getPersistenceUnitRefs(); |
| |
| /** |
| * Returns the value of the '<em><b>Post Constructs</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.LifecycleCallback}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Post Constructs</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>Post Constructs</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_PostConstructs() |
| * @generated |
| */ |
| List getPostConstructs(); |
| |
| /** |
| * Returns the value of the '<em><b>Pre Destroys</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.LifecycleCallback}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Pre Destroys</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>Pre Destroys</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_PreDestroys() |
| * @generated |
| */ |
| List getPreDestroys(); |
| |
| /** |
| * Returns the value of the '<em><b>Post Activates</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.LifecycleCallback}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Post Activates</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>Post Activates</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_PostActivates() |
| * @generated |
| */ |
| List getPostActivates(); |
| |
| /** |
| * Returns the value of the '<em><b>Pre Passivates</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.jst.javaee.core.LifecycleCallback}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Pre Passivates</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>Pre Passivates</em>' containment reference list. |
| * @see org.eclipse.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_PrePassivates() |
| * @generated |
| */ |
| List getPrePassivates(); |
| |
| /** |
| * 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.jst.javaee.ejb.internal.metadata.EjbPackage#getInterceptorType_Id() |
| * @generated |
| */ |
| String getId(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.jst.javaee.ejb.InterceptorType#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); |
| |
| } // InterceptorType |