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

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

Go to download

Base project for BIMserver plugin development. Some plugins mights also need the Shared library

There is a newer version: 2.0.0
Show newest version
/**
 * 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.IfcGeometricProjectionEnum;
import org.bimserver.models.ifc2x3tc1.IfcGeometricRepresentationContext;
import org.bimserver.models.ifc2x3tc1.IfcGeometricRepresentationSubContext;
import org.eclipse.emf.ecore.EClass;

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

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationSubContextImpl#getParentContext Parent Context}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationSubContextImpl#getTargetScale Target Scale}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationSubContextImpl#getTargetScaleAsString Target Scale As String}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationSubContextImpl#getTargetView Target View}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcGeometricRepresentationSubContextImpl#getUserDefinedTargetView User Defined Target View}
  • *
* * @generated */ public class IfcGeometricRepresentationSubContextImpl extends IfcGeometricRepresentationContextImpl implements IfcGeometricRepresentationSubContext { /** * * * @generated */ protected IfcGeometricRepresentationSubContextImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT; } /** * * * @generated */ public IfcGeometricRepresentationContext getParentContext() { return (IfcGeometricRepresentationContext) eGet( Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__PARENT_CONTEXT, true); } /** * * * @generated */ public void setParentContext(IfcGeometricRepresentationContext newParentContext) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__PARENT_CONTEXT, newParentContext); } /** * * * @generated */ public double getTargetScale() { return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE, true); } /** * * * @generated */ public void setTargetScale(double newTargetScale) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE, newTargetScale); } /** * * * @generated */ public void unsetTargetScale() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE); } /** * * * @generated */ public boolean isSetTargetScale() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE); } /** * * * @generated */ public String getTargetScaleAsString() { return (String) eGet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING, true); } /** * * * @generated */ public void setTargetScaleAsString(String newTargetScaleAsString) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING, newTargetScaleAsString); } /** * * * @generated */ public void unsetTargetScaleAsString() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING); } /** * * * @generated */ public boolean isSetTargetScaleAsString() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_SCALE_AS_STRING); } /** * * * @generated */ public IfcGeometricProjectionEnum getTargetView() { return (IfcGeometricProjectionEnum) eGet( Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_VIEW, true); } /** * * * @generated */ public void setTargetView(IfcGeometricProjectionEnum newTargetView) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__TARGET_VIEW, newTargetView); } /** * * * @generated */ public String getUserDefinedTargetView() { return (String) eGet( Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW, true); } /** * * * @generated */ public void setUserDefinedTargetView(String newUserDefinedTargetView) { eSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW, newUserDefinedTargetView); } /** * * * @generated */ public void unsetUserDefinedTargetView() { eUnset(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW); } /** * * * @generated */ public boolean isSetUserDefinedTargetView() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_GEOMETRIC_REPRESENTATION_SUB_CONTEXT__USER_DEFINED_TARGET_VIEW); } } //IfcGeometricRepresentationSubContextImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy