/** * Copyright (C) 2009-2013 BIMserver.org * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ package org.bimserver.models.store; import org.bimserver.emf.IdEObject; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>File</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.bimserver.models.store.File#getData <em>Data</em>}</li> * <li>{@link org.bimserver.models.store.File#getFilename <em>Filename</em>}</li> * <li>{@link org.bimserver.models.store.File#getMime <em>Mime</em>}</li> * </ul> * </p> * * @see org.bimserver.models.store.StorePackage#getFile() * @model * @extends IdEObject * @generated */ public interface File extends IdEObject { /** * Returns the value of the '<em><b>Data</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Data</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Data</em>' attribute. * @see #setData(byte[]) * @see org.bimserver.models.store.StorePackage#getFile_Data() * @model * @generated */ byte[] getData(); /** * Sets the value of the '{@link org.bimserver.models.store.File#getData <em>Data</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Data</em>' attribute. * @see #getData() * @generated */ void setData(byte[] value); /** * Returns the value of the '<em><b>Filename</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Filename</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Filename</em>' attribute. * @see #setFilename(String) * @see org.bimserver.models.store.StorePackage#getFile_Filename() * @model * @generated */ String getFilename(); /** * Sets the value of the '{@link org.bimserver.models.store.File#getFilename <em>Filename</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Filename</em>' attribute. * @see #getFilename() * @generated */ void setFilename(String value); /** * Returns the value of the '<em><b>Mime</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Mime</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</em>' attribute. * @see #setMime(String) * @see org.bimserver.models.store.StorePackage#getFile_Mime() * @model * @generated */ String getMime(); /** * Sets the value of the '{@link org.bimserver.models.store.File#getMime <em>Mime</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Mime</em>' attribute. * @see #getMime() * @generated */ void setMime(String value); } // File