
org.bimserver.models.ifc2x3tc1.impl.IfcConstructionResourceImpl 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.IfcConstructionResource;
import org.bimserver.models.ifc2x3tc1.IfcMeasureWithUnit;
import org.bimserver.models.ifc2x3tc1.IfcResourceConsumptionEnum;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Construction Resource'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstructionResourceImpl#getResourceIdentifier Resource Identifier}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstructionResourceImpl#getResourceGroup Resource Group}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstructionResourceImpl#getResourceConsumption Resource Consumption}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcConstructionResourceImpl#getBaseQuantity Base Quantity}
*
*
* @generated
*/
public class IfcConstructionResourceImpl extends IfcResourceImpl implements IfcConstructionResource {
/**
*
*
* @generated
*/
protected IfcConstructionResourceImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE;
}
/**
*
*
* @generated
*/
public String getResourceIdentifier() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_IDENTIFIER, true);
}
/**
*
*
* @generated
*/
public void setResourceIdentifier(String newResourceIdentifier) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_IDENTIFIER, newResourceIdentifier);
}
/**
*
*
* @generated
*/
public void unsetResourceIdentifier() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_IDENTIFIER);
}
/**
*
*
* @generated
*/
public boolean isSetResourceIdentifier() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_IDENTIFIER);
}
/**
*
*
* @generated
*/
public String getResourceGroup() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_GROUP, true);
}
/**
*
*
* @generated
*/
public void setResourceGroup(String newResourceGroup) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_GROUP, newResourceGroup);
}
/**
*
*
* @generated
*/
public void unsetResourceGroup() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_GROUP);
}
/**
*
*
* @generated
*/
public boolean isSetResourceGroup() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_GROUP);
}
/**
*
*
* @generated
*/
public IfcResourceConsumptionEnum getResourceConsumption() {
return (IfcResourceConsumptionEnum) eGet(
Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_CONSUMPTION, true);
}
/**
*
*
* @generated
*/
public void setResourceConsumption(IfcResourceConsumptionEnum newResourceConsumption) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_CONSUMPTION, newResourceConsumption);
}
/**
*
*
* @generated
*/
public void unsetResourceConsumption() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_CONSUMPTION);
}
/**
*
*
* @generated
*/
public boolean isSetResourceConsumption() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__RESOURCE_CONSUMPTION);
}
/**
*
*
* @generated
*/
public IfcMeasureWithUnit getBaseQuantity() {
return (IfcMeasureWithUnit) eGet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY, true);
}
/**
*
*
* @generated
*/
public void setBaseQuantity(IfcMeasureWithUnit newBaseQuantity) {
eSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY, newBaseQuantity);
}
/**
*
*
* @generated
*/
public void unsetBaseQuantity() {
eUnset(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY);
}
/**
*
*
* @generated
*/
public boolean isSetBaseQuantity() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY);
}
} //IfcConstructionResourceImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy