
org.bimserver.models.ifc2x3tc1.impl.IfcMaterialLayerSetImpl 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.emf.IdEObjectImpl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcMaterialLayer;
import org.bimserver.models.ifc2x3tc1.IfcMaterialLayerSet;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Material Layer Set'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcMaterialLayerSetImpl#getMaterialLayers Material Layers}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcMaterialLayerSetImpl#getLayerSetName Layer Set Name}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcMaterialLayerSetImpl#getTotalThickness Total Thickness}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcMaterialLayerSetImpl#getTotalThicknessAsString Total Thickness As String}
*
*
* @generated
*/
public class IfcMaterialLayerSetImpl extends IdEObjectImpl implements IfcMaterialLayerSet {
/**
*
*
* @generated
*/
protected IfcMaterialLayerSetImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET;
}
/**
*
*
* @generated
*/
@Override
protected int eStaticFeatureCount() {
return 0;
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getMaterialLayers() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__MATERIAL_LAYERS, true);
}
/**
*
*
* @generated
*/
public String getLayerSetName() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__LAYER_SET_NAME, true);
}
/**
*
*
* @generated
*/
public void setLayerSetName(String newLayerSetName) {
eSet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__LAYER_SET_NAME, newLayerSetName);
}
/**
*
*
* @generated
*/
public void unsetLayerSetName() {
eUnset(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__LAYER_SET_NAME);
}
/**
*
*
* @generated
*/
public boolean isSetLayerSetName() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__LAYER_SET_NAME);
}
/**
*
*
* @generated
*/
public double getTotalThickness() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS, true);
}
/**
*
*
* @generated
*/
public void setTotalThickness(double newTotalThickness) {
eSet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS, newTotalThickness);
}
/**
*
*
* @generated
*/
public void unsetTotalThickness() {
eUnset(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS);
}
/**
*
*
* @generated
*/
public boolean isSetTotalThickness() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS);
}
/**
*
*
* @generated
*/
public String getTotalThicknessAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setTotalThicknessAsString(String newTotalThicknessAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS_AS_STRING, newTotalThicknessAsString);
}
/**
*
*
* @generated
*/
public void unsetTotalThicknessAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetTotalThicknessAsString() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_MATERIAL_LAYER_SET__TOTAL_THICKNESS_AS_STRING);
}
} //IfcMaterialLayerSetImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy