All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc4.impl.IfcMaterialImpl Maven / Gradle / Ivy

/**
 * 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.IfcMaterialDefinitionRepresentation;
import org.bimserver.models.ifc4.IfcMaterialRelationship;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Material'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc4.impl.IfcMaterialImpl#getName Name}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMaterialImpl#getDescription Description}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMaterialImpl#getCategory Category}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMaterialImpl#getHasRepresentation Has Representation}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMaterialImpl#getIsRelatedWith Is Related With}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcMaterialImpl#getRelatesTo Relates To}
  • *
* * @generated */ public class IfcMaterialImpl extends IfcMaterialDefinitionImpl implements IfcMaterial { /** * * * @generated */ protected IfcMaterialImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_MATERIAL; } /** * * * @generated */ public String getName() { return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL__NAME, true); } /** * * * @generated */ public void setName(String newName) { eSet(Ifc4Package.Literals.IFC_MATERIAL__NAME, newName); } /** * * * @generated */ public String getDescription() { return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL__DESCRIPTION, true); } /** * * * @generated */ public void setDescription(String newDescription) { eSet(Ifc4Package.Literals.IFC_MATERIAL__DESCRIPTION, newDescription); } /** * * * @generated */ public void unsetDescription() { eUnset(Ifc4Package.Literals.IFC_MATERIAL__DESCRIPTION); } /** * * * @generated */ public boolean isSetDescription() { return eIsSet(Ifc4Package.Literals.IFC_MATERIAL__DESCRIPTION); } /** * * * @generated */ public String getCategory() { return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL__CATEGORY, true); } /** * * * @generated */ public void setCategory(String newCategory) { eSet(Ifc4Package.Literals.IFC_MATERIAL__CATEGORY, newCategory); } /** * * * @generated */ public void unsetCategory() { eUnset(Ifc4Package.Literals.IFC_MATERIAL__CATEGORY); } /** * * * @generated */ public boolean isSetCategory() { return eIsSet(Ifc4Package.Literals.IFC_MATERIAL__CATEGORY); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getHasRepresentation() { return (EList) eGet(Ifc4Package.Literals.IFC_MATERIAL__HAS_REPRESENTATION, true); } /** * * * @generated */ public void unsetHasRepresentation() { eUnset(Ifc4Package.Literals.IFC_MATERIAL__HAS_REPRESENTATION); } /** * * * @generated */ public boolean isSetHasRepresentation() { return eIsSet(Ifc4Package.Literals.IFC_MATERIAL__HAS_REPRESENTATION); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getIsRelatedWith() { return (EList) eGet(Ifc4Package.Literals.IFC_MATERIAL__IS_RELATED_WITH, true); } /** * * * @generated */ public void unsetIsRelatedWith() { eUnset(Ifc4Package.Literals.IFC_MATERIAL__IS_RELATED_WITH); } /** * * * @generated */ public boolean isSetIsRelatedWith() { return eIsSet(Ifc4Package.Literals.IFC_MATERIAL__IS_RELATED_WITH); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getRelatesTo() { return (EList) eGet(Ifc4Package.Literals.IFC_MATERIAL__RELATES_TO, true); } /** * * * @generated */ public void unsetRelatesTo() { eUnset(Ifc4Package.Literals.IFC_MATERIAL__RELATES_TO); } /** * * * @generated */ public boolean isSetRelatesTo() { return eIsSet(Ifc4Package.Literals.IFC_MATERIAL__RELATES_TO); } } //IfcMaterialImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy