
org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl 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.IfcMaterial;
import org.bimserver.models.ifc4.IfcMaterialConstituent;
import org.bimserver.models.ifc4.IfcMaterialConstituentSet;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Material Constituent'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getName Name}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getDescription Description}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getMaterial Material}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getFraction Fraction}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getFractionAsString Fraction As String}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getCategory Category}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialConstituentImpl#getToMaterialConstituentSet To Material Constituent Set}
*
*
* @generated
*/
public class IfcMaterialConstituentImpl extends IfcMaterialDefinitionImpl implements IfcMaterialConstituent {
/**
*
*
* @generated
*/
protected IfcMaterialConstituentImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT;
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__NAME, newName);
}
/**
*
*
* @generated
*/
public void unsetName() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__NAME);
}
/**
*
*
* @generated
*/
public boolean isSetName() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__NAME);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public void unsetDescription() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__DESCRIPTION);
}
/**
*
*
* @generated
*/
public boolean isSetDescription() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__DESCRIPTION);
}
/**
*
*
* @generated
*/
public IfcMaterial getMaterial() {
return (IfcMaterial) eGet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__MATERIAL, true);
}
/**
*
*
* @generated
*/
public void setMaterial(IfcMaterial newMaterial) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__MATERIAL, newMaterial);
}
/**
*
*
* @generated
*/
public double getFraction() {
return (Double) eGet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION, true);
}
/**
*
*
* @generated
*/
public void setFraction(double newFraction) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION, newFraction);
}
/**
*
*
* @generated
*/
public void unsetFraction() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION);
}
/**
*
*
* @generated
*/
public boolean isSetFraction() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION);
}
/**
*
*
* @generated
*/
public String getFractionAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setFractionAsString(String newFractionAsString) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION_AS_STRING, newFractionAsString);
}
/**
*
*
* @generated
*/
public void unsetFractionAsString() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetFractionAsString() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__FRACTION_AS_STRING);
}
/**
*
*
* @generated
*/
public String getCategory() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__CATEGORY, true);
}
/**
*
*
* @generated
*/
public void setCategory(String newCategory) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__CATEGORY, newCategory);
}
/**
*
*
* @generated
*/
public void unsetCategory() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__CATEGORY);
}
/**
*
*
* @generated
*/
public boolean isSetCategory() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__CATEGORY);
}
/**
*
*
* @generated
*/
public IfcMaterialConstituentSet getToMaterialConstituentSet() {
return (IfcMaterialConstituentSet) eGet(
Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__TO_MATERIAL_CONSTITUENT_SET, true);
}
/**
*
*
* @generated
*/
public void setToMaterialConstituentSet(IfcMaterialConstituentSet newToMaterialConstituentSet) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__TO_MATERIAL_CONSTITUENT_SET, newToMaterialConstituentSet);
}
/**
*
*
* @generated
*/
public void unsetToMaterialConstituentSet() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__TO_MATERIAL_CONSTITUENT_SET);
}
/**
*
*
* @generated
*/
public boolean isSetToMaterialConstituentSet() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_CONSTITUENT__TO_MATERIAL_CONSTITUENT_SET);
}
} //IfcMaterialConstituentImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy