blob: 7cbccd172cf69288f423eecb1de81b2fa8616943 [file] [log] [blame]
/**
* <copyright>
* </copyright>
*
* $Id: MimeMapping.java,v 1.1 2007/05/16 06:42:30 cbridgha Exp $
*/
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
*
*
* <!-- 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