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

org.bimserver.models.ifc4.impl.IfcMechanicalFastenerImpl Maven / Gradle / Ivy

Go to download

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

The 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.ifc4.impl;

import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcMechanicalFastener;
import org.bimserver.models.ifc4.IfcMechanicalFastenerTypeEnum;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Mechanical Fastener'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc4.impl.IfcMechanicalFastenerImpl#getNominalDiameter Nominal Diameter}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMechanicalFastenerImpl#getNominalDiameterAsString Nominal Diameter As String}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMechanicalFastenerImpl#getNominalLength Nominal Length}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMechanicalFastenerImpl#getNominalLengthAsString Nominal Length As String}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMechanicalFastenerImpl#getPredefinedType Predefined Type}
  • *
* * @generated */ public class IfcMechanicalFastenerImpl extends IfcElementComponentImpl implements IfcMechanicalFastener { /** * * * @generated */ protected IfcMechanicalFastenerImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_MECHANICAL_FASTENER; } /** * * * @generated */ public double getNominalDiameter() { return (Double) eGet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER, true); } /** * * * @generated */ public void setNominalDiameter(double newNominalDiameter) { eSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER, newNominalDiameter); } /** * * * @generated */ public void unsetNominalDiameter() { eUnset(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER); } /** * * * @generated */ public boolean isSetNominalDiameter() { return eIsSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER); } /** * * * @generated */ public String getNominalDiameterAsString() { return (String) eGet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER_AS_STRING, true); } /** * * * @generated */ public void setNominalDiameterAsString(String newNominalDiameterAsString) { eSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER_AS_STRING, newNominalDiameterAsString); } /** * * * @generated */ public void unsetNominalDiameterAsString() { eUnset(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER_AS_STRING); } /** * * * @generated */ public boolean isSetNominalDiameterAsString() { return eIsSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_DIAMETER_AS_STRING); } /** * * * @generated */ public double getNominalLength() { return (Double) eGet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH, true); } /** * * * @generated */ public void setNominalLength(double newNominalLength) { eSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH, newNominalLength); } /** * * * @generated */ public void unsetNominalLength() { eUnset(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH); } /** * * * @generated */ public boolean isSetNominalLength() { return eIsSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH); } /** * * * @generated */ public String getNominalLengthAsString() { return (String) eGet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH_AS_STRING, true); } /** * * * @generated */ public void setNominalLengthAsString(String newNominalLengthAsString) { eSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH_AS_STRING, newNominalLengthAsString); } /** * * * @generated */ public void unsetNominalLengthAsString() { eUnset(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH_AS_STRING); } /** * * * @generated */ public boolean isSetNominalLengthAsString() { return eIsSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__NOMINAL_LENGTH_AS_STRING); } /** * * * @generated */ public IfcMechanicalFastenerTypeEnum getPredefinedType() { return (IfcMechanicalFastenerTypeEnum) eGet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__PREDEFINED_TYPE, true); } /** * * * @generated */ public void setPredefinedType(IfcMechanicalFastenerTypeEnum newPredefinedType) { eSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__PREDEFINED_TYPE, newPredefinedType); } /** * * * @generated */ public void unsetPredefinedType() { eUnset(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__PREDEFINED_TYPE); } /** * * * @generated */ public boolean isSetPredefinedType() { return eIsSet(Ifc4Package.Literals.IFC_MECHANICAL_FASTENER__PREDEFINED_TYPE); } } //IfcMechanicalFastenerImpl




© 2015 - 2025 Weber Informatics LLC | Privacy Policy