All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl Maven / Gradle / Ivy

/**
 * Copyright (C) 2009-2014 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 .
 */
package org.bimserver.models.ifc2x3tc1.impl;

import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcAxis2Placement;
import org.bimserver.models.ifc2x3tc1.IfcDirection;
import org.bimserver.models.ifc2x3tc1.IfcGeometricRepresentationContext;
import org.bimserver.models.ifc2x3tc1.IfcGeometricRepresentationSubContext;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Geometric Representation Context'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl#getCoordinateSpaceDimension Coordinate Space Dimension}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl#getPrecision Precision}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl#getPrecisionAsString Precision As String}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl#getWorldCoordinateSystem World Coordinate System}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl#getTrueNorth True North}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationContextImpl#getHasSubContexts Has Sub Contexts}
  • *
* * @generated */ public class IfcGeometricRepresentationContextImpl extends IfcRepresentationContextImpl implements IfcGeometricRepresentationContext { /** * * * @generated */ protected IfcGeometricRepresentationContextImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT; } /** * * * @generated */ public long getCoordinateSpaceDimension() { return (Long) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__COORDINATE_SPACE_DIMENSION, true); } /** * * * @generated */ public void setCoordinateSpaceDimension(long newCoordinateSpaceDimension) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__COORDINATE_SPACE_DIMENSION, newCoordinateSpaceDimension); } /** * * * @generated */ public double getPrecision() { return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION, true); } /** * * * @generated */ public void setPrecision(double newPrecision) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION, newPrecision); } /** * * * @generated */ public void unsetPrecision() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION); } /** * * * @generated */ public boolean isSetPrecision() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION); } /** * * * @generated */ public String getPrecisionAsString() { return (String) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION_AS_STRING, true); } /** * * * @generated */ public void setPrecisionAsString(String newPrecisionAsString) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION_AS_STRING, newPrecisionAsString); } /** * * * @generated */ public void unsetPrecisionAsString() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION_AS_STRING); } /** * * * @generated */ public boolean isSetPrecisionAsString() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__PRECISION_AS_STRING); } /** * * * @generated */ public IfcAxis2Placement getWorldCoordinateSystem() { return (IfcAxis2Placement) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__WORLD_COORDINATE_SYSTEM, true); } /** * * * @generated */ public void setWorldCoordinateSystem(IfcAxis2Placement newWorldCoordinateSystem) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__WORLD_COORDINATE_SYSTEM, newWorldCoordinateSystem); } /** * * * @generated */ public IfcDirection getTrueNorth() { return (IfcDirection) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__TRUE_NORTH, true); } /** * * * @generated */ public void setTrueNorth(IfcDirection newTrueNorth) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__TRUE_NORTH, newTrueNorth); } /** * * * @generated */ public void unsetTrueNorth() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__TRUE_NORTH); } /** * * * @generated */ public boolean isSetTrueNorth() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__TRUE_NORTH); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getHasSubContexts() { return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__HAS_SUB_CONTEXTS, true); } /** * * * @generated */ public void unsetHasSubContexts() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__HAS_SUB_CONTEXTS); } /** * * * @generated */ public boolean isSetHasSubContexts() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_CONTEXT__HAS_SUB_CONTEXTS); } } //IfcGeometricRepresentationContextImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy