
org.bimserver.models.ifc4.impl.IfcQuantityAreaImpl 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.ifc4.impl;
import org.bimserver.models.ifc4.Ifc4Package;
import org.bimserver.models.ifc4.IfcQuantityArea;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Quantity Area'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcQuantityAreaImpl#getAreaValue Area Value}
* - {@link org.bimserver.models.ifc4.impl.IfcQuantityAreaImpl#getAreaValueAsString Area Value As String}
* - {@link org.bimserver.models.ifc4.impl.IfcQuantityAreaImpl#getFormula Formula}
*
*
* @generated
*/
public class IfcQuantityAreaImpl extends IfcPhysicalSimpleQuantityImpl implements IfcQuantityArea {
/**
*
*
* @generated
*/
protected IfcQuantityAreaImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_QUANTITY_AREA;
}
/**
*
*
* @generated
*/
public double getAreaValue() {
return (Double) eGet(Ifc4Package.Literals.IFC_QUANTITY_AREA__AREA_VALUE, true);
}
/**
*
*
* @generated
*/
public void setAreaValue(double newAreaValue) {
eSet(Ifc4Package.Literals.IFC_QUANTITY_AREA__AREA_VALUE, newAreaValue);
}
/**
*
*
* @generated
*/
public String getAreaValueAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_QUANTITY_AREA__AREA_VALUE_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setAreaValueAsString(String newAreaValueAsString) {
eSet(Ifc4Package.Literals.IFC_QUANTITY_AREA__AREA_VALUE_AS_STRING, newAreaValueAsString);
}
/**
*
*
* @generated
*/
public String getFormula() {
return (String) eGet(Ifc4Package.Literals.IFC_QUANTITY_AREA__FORMULA, true);
}
/**
*
*
* @generated
*/
public void setFormula(String newFormula) {
eSet(Ifc4Package.Literals.IFC_QUANTITY_AREA__FORMULA, newFormula);
}
/**
*
*
* @generated
*/
public void unsetFormula() {
eUnset(Ifc4Package.Literals.IFC_QUANTITY_AREA__FORMULA);
}
/**
*
*
* @generated
*/
public boolean isSetFormula() {
return eIsSet(Ifc4Package.Literals.IFC_QUANTITY_AREA__FORMULA);
}
} //IfcQuantityAreaImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy