/******************************************************************************* * 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.web; import org.eclipse.jst.javaee.core.JavaEEObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Mime Mapping</b></em>'. * <!-- end-user-doc --> * * <!-- begin-model-doc --> * * * The mime-mappingType defines a mapping between an extension * and a mime type. * * Used in: web-app * * @since Java EE 5, Web 2.5 * * <!-- end-model-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.jst.javaee.web.MimeMapping#getExtension <em>Extension</em>}</li> * <li>{@link org.eclipse.jst.javaee.web.MimeMapping#getMimeType <em>Mime Type</em>}</li> * <li>{@link org.eclipse.jst.javaee.web.MimeMapping#getId <em>Id</em>}</li> * </ul> * </p> * * @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getMimeMapping() * @extends JavaEEObject * @generated */ public interface MimeMapping extends JavaEEObject { /** * Returns the value of the '<em><b>Extension</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Extension</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Extension</em>' attribute. * @see #setExtension(String) * @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getMimeMapping_Extension() * @generated */ String getExtension(); /** * Sets the value of the '{@link org.eclipse.jst.javaee.web.MimeMapping#getExtension <em>Extension</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Extension</em>' attribute. * @see #getExtension() * @generated */ void setExtension(String value); /** * Returns the value of the '<em><b>Mime Type</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Mime Type</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Mime Type</em>' attribute. * @see #setMimeType(String) * @see org.eclipse.jst.javaee.web.internal.metadata.WebPackage#getMimeMapping_MimeType() * @generated */ String getMimeType(); /** * Sets the value of the '{@link org.eclipse.jst.javaee.web.MimeMapping#getMimeType <em>Mime Type</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Mime Type</em>' attribute. * @see #getMimeType() * @generated */ void setMimeType(String 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.jst.javaee.web.internal.metadata.WebPackage#getMimeMapping_Id() * @generated */ String getId(); /** * Sets the value of the '{@link org.eclipse.jst.javaee.web.MimeMapping#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); } // MimeMapping