/** * 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.ifc2x3tc1.impl; import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package; import org.bimserver.models.ifc2x3tc1.IfcInternalOrExternalEnum; import org.bimserver.models.ifc2x3tc1.IfcRelCoversSpaces; import org.bimserver.models.ifc2x3tc1.IfcRelSpaceBoundary; import org.bimserver.models.ifc2x3tc1.IfcSpace; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; /** * <!-- begin-user-doc --> * An implementation of the model object '<em><b>Ifc Space</b></em>'. * <!-- end-user-doc --> * <p> * The following features are implemented: * <ul> * <li>{@link org.bimserver.models.ifc2x3tc1.impl.IfcSpaceImpl#getInteriorOrExteriorSpace <em>Interior Or Exterior Space</em>}</li> * <li>{@link org.bimserver.models.ifc2x3tc1.impl.IfcSpaceImpl#getElevationWithFlooring <em>Elevation With Flooring</em>}</li> * <li>{@link org.bimserver.models.ifc2x3tc1.impl.IfcSpaceImpl#getElevationWithFlooringAsString <em>Elevation With Flooring As String</em>}</li> * <li>{@link org.bimserver.models.ifc2x3tc1.impl.IfcSpaceImpl#getHasCoverings <em>Has Coverings</em>}</li> * <li>{@link org.bimserver.models.ifc2x3tc1.impl.IfcSpaceImpl#getBoundedBy <em>Bounded By</em>}</li> * </ul> * </p> * * @generated */ public class IfcSpaceImpl extends IfcSpatialStructureElementImpl implements IfcSpace { /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ protected IfcSpaceImpl() { super(); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override protected EClass eStaticClass() { return Ifc2x3tc1Package.Literals.IFC_SPACE; } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcInternalOrExternalEnum getInteriorOrExteriorSpace() { return (IfcInternalOrExternalEnum) eGet(Ifc2x3tc1Package.Literals.IFC_SPACE__INTERIOR_OR_EXTERIOR_SPACE, true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setInteriorOrExteriorSpace(IfcInternalOrExternalEnum newInteriorOrExteriorSpace) { eSet(Ifc2x3tc1Package.Literals.IFC_SPACE__INTERIOR_OR_EXTERIOR_SPACE, newInteriorOrExteriorSpace); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public double getElevationWithFlooring() { return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING, true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setElevationWithFlooring(double newElevationWithFlooring) { eSet(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING, newElevationWithFlooring); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetElevationWithFlooring() { eUnset(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean isSetElevationWithFlooring() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String getElevationWithFlooringAsString() { return (String) eGet(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING_AS_STRING, true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setElevationWithFlooringAsString(String newElevationWithFlooringAsString) { eSet(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING_AS_STRING, newElevationWithFlooringAsString); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetElevationWithFlooringAsString() { eUnset(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING_AS_STRING); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean isSetElevationWithFlooringAsString() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPACE__ELEVATION_WITH_FLOORING_AS_STRING); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") public EList<IfcRelCoversSpaces> getHasCoverings() { return (EList<IfcRelCoversSpaces>) eGet(Ifc2x3tc1Package.Literals.IFC_SPACE__HAS_COVERINGS, true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetHasCoverings() { eUnset(Ifc2x3tc1Package.Literals.IFC_SPACE__HAS_COVERINGS); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean isSetHasCoverings() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPACE__HAS_COVERINGS); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") public EList<IfcRelSpaceBoundary> getBoundedBy() { return (EList<IfcRelSpaceBoundary>) eGet(Ifc2x3tc1Package.Literals.IFC_SPACE__BOUNDED_BY, true); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void unsetBoundedBy() { eUnset(Ifc2x3tc1Package.Literals.IFC_SPACE__BOUNDED_BY); } /** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public boolean isSetBoundedBy() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPACE__BOUNDED_BY); } } //IfcSpaceImpl