
org.bimserver.models.ifc4.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
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.IfcAppliedValue;
import org.bimserver.models.ifc4.IfcConstructionResource;
import org.bimserver.models.ifc4.IfcPhysicalQuantity;
import org.bimserver.models.ifc4.IfcResourceTime;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Construction Resource'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcConstructionResourceImpl#getUsage Usage}
* - {@link org.bimserver.models.ifc4.impl.IfcConstructionResourceImpl#getBaseCosts Base Costs}
* - {@link org.bimserver.models.ifc4.impl.IfcConstructionResourceImpl#getBaseQuantity Base Quantity}
*
*
* @generated
*/
public class IfcConstructionResourceImpl extends IfcResourceImpl implements IfcConstructionResource {
/**
*
*
* @generated
*/
protected IfcConstructionResourceImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE;
}
/**
*
*
* @generated
*/
public IfcResourceTime getUsage() {
return (IfcResourceTime) eGet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__USAGE, true);
}
/**
*
*
* @generated
*/
public void setUsage(IfcResourceTime newUsage) {
eSet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__USAGE, newUsage);
}
/**
*
*
* @generated
*/
public void unsetUsage() {
eUnset(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__USAGE);
}
/**
*
*
* @generated
*/
public boolean isSetUsage() {
return eIsSet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__USAGE);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getBaseCosts() {
return (EList) eGet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_COSTS, true);
}
/**
*
*
* @generated
*/
public void unsetBaseCosts() {
eUnset(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_COSTS);
}
/**
*
*
* @generated
*/
public boolean isSetBaseCosts() {
return eIsSet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_COSTS);
}
/**
*
*
* @generated
*/
public IfcPhysicalQuantity getBaseQuantity() {
return (IfcPhysicalQuantity) eGet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY, true);
}
/**
*
*
* @generated
*/
public void setBaseQuantity(IfcPhysicalQuantity newBaseQuantity) {
eSet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY, newBaseQuantity);
}
/**
*
*
* @generated
*/
public void unsetBaseQuantity() {
eUnset(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY);
}
/**
*
*
* @generated
*/
public boolean isSetBaseQuantity() {
return eIsSet(Ifc4Package.Literals.IFC_CONSTRUCTION_RESOURCE__BASE_QUANTITY);
}
} //IfcConstructionResourceImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy