
org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of PluginBase Show documentation
Show all versions of PluginBase Show documentation
Base project for BIMserver plugin development. Some plugins mights also need the Shared library
/**
* 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.IfcReinforcingBar;
import org.bimserver.models.ifc2x3tc1.IfcReinforcingBarRoleEnum;
import org.bimserver.models.ifc2x3tc1.IfcReinforcingBarSurfaceEnum;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Reinforcing Bar'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getNominalDiameter Nominal Diameter}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getNominalDiameterAsString Nominal Diameter As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getCrossSectionArea Cross Section Area}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getCrossSectionAreaAsString Cross Section Area As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getBarLength Bar Length}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getBarLengthAsString Bar Length As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getBarRole Bar Role}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcReinforcingBarImpl#getBarSurface Bar Surface}
*
*
* @generated
*/
public class IfcReinforcingBarImpl extends IfcReinforcingElementImpl implements IfcReinforcingBar {
/**
*
*
* @generated
*/
protected IfcReinforcingBarImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR;
}
/**
*
*
* @generated
*/
public double getNominalDiameter() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__NOMINAL_DIAMETER, true);
}
/**
*
*
* @generated
*/
public void setNominalDiameter(double newNominalDiameter) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__NOMINAL_DIAMETER, newNominalDiameter);
}
/**
*
*
* @generated
*/
public String getNominalDiameterAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__NOMINAL_DIAMETER_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setNominalDiameterAsString(String newNominalDiameterAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__NOMINAL_DIAMETER_AS_STRING, newNominalDiameterAsString);
}
/**
*
*
* @generated
*/
public double getCrossSectionArea() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__CROSS_SECTION_AREA, true);
}
/**
*
*
* @generated
*/
public void setCrossSectionArea(double newCrossSectionArea) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__CROSS_SECTION_AREA, newCrossSectionArea);
}
/**
*
*
* @generated
*/
public String getCrossSectionAreaAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__CROSS_SECTION_AREA_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setCrossSectionAreaAsString(String newCrossSectionAreaAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__CROSS_SECTION_AREA_AS_STRING, newCrossSectionAreaAsString);
}
/**
*
*
* @generated
*/
public double getBarLength() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH, true);
}
/**
*
*
* @generated
*/
public void setBarLength(double newBarLength) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH, newBarLength);
}
/**
*
*
* @generated
*/
public void unsetBarLength() {
eUnset(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH);
}
/**
*
*
* @generated
*/
public boolean isSetBarLength() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH);
}
/**
*
*
* @generated
*/
public String getBarLengthAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setBarLengthAsString(String newBarLengthAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH_AS_STRING, newBarLengthAsString);
}
/**
*
*
* @generated
*/
public void unsetBarLengthAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetBarLengthAsString() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_LENGTH_AS_STRING);
}
/**
*
*
* @generated
*/
public IfcReinforcingBarRoleEnum getBarRole() {
return (IfcReinforcingBarRoleEnum) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_ROLE, true);
}
/**
*
*
* @generated
*/
public void setBarRole(IfcReinforcingBarRoleEnum newBarRole) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_ROLE, newBarRole);
}
/**
*
*
* @generated
*/
public IfcReinforcingBarSurfaceEnum getBarSurface() {
return (IfcReinforcingBarSurfaceEnum) eGet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_SURFACE, true);
}
/**
*
*
* @generated
*/
public void setBarSurface(IfcReinforcingBarSurfaceEnum newBarSurface) {
eSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_SURFACE, newBarSurface);
}
/**
*
*
* @generated
*/
public void unsetBarSurface() {
eUnset(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_SURFACE);
}
/**
*
*
* @generated
*/
public boolean isSetBarSurface() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_REINFORCING_BAR__BAR_SURFACE);
}
} //IfcReinforcingBarImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy