org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl 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.IfcMaterialProfile;
import org.bimserver.models.ifc4.IfcMaterialProfileSet;
import org.bimserver.models.ifc4.IfcProfileDef;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Material Profile'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getName Name}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getDescription Description}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getMaterial Material}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getProfile Profile}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getPriority Priority}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getPriorityAsString Priority As String}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getCategory Category}
* - {@link org.bimserver.models.ifc4.impl.IfcMaterialProfileImpl#getToMaterialProfileSet To Material Profile Set}
*
*
* @generated
*/
public class IfcMaterialProfileImpl extends IfcMaterialDefinitionImpl implements IfcMaterialProfile {
/**
*
*
* @generated
*/
protected IfcMaterialProfileImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_MATERIAL_PROFILE;
}
/**
*
*
* @generated
*/
public String getName() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__NAME, true);
}
/**
*
*
* @generated
*/
public void setName(String newName) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__NAME, newName);
}
/**
*
*
* @generated
*/
public void unsetName() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__NAME);
}
/**
*
*
* @generated
*/
public boolean isSetName() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__NAME);
}
/**
*
*
* @generated
*/
public String getDescription() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__DESCRIPTION, true);
}
/**
*
*
* @generated
*/
public void setDescription(String newDescription) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__DESCRIPTION, newDescription);
}
/**
*
*
* @generated
*/
public void unsetDescription() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__DESCRIPTION);
}
/**
*
*
* @generated
*/
public boolean isSetDescription() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__DESCRIPTION);
}
/**
*
*
* @generated
*/
public IfcMaterial getMaterial() {
return (IfcMaterial) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__MATERIAL, true);
}
/**
*
*
* @generated
*/
public void setMaterial(IfcMaterial newMaterial) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__MATERIAL, newMaterial);
}
/**
*
*
* @generated
*/
public void unsetMaterial() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__MATERIAL);
}
/**
*
*
* @generated
*/
public boolean isSetMaterial() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__MATERIAL);
}
/**
*
*
* @generated
*/
public IfcProfileDef getProfile() {
return (IfcProfileDef) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PROFILE, true);
}
/**
*
*
* @generated
*/
public void setProfile(IfcProfileDef newProfile) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PROFILE, newProfile);
}
/**
*
*
* @generated
*/
public double getPriority() {
return (Double) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY, true);
}
/**
*
*
* @generated
*/
public void setPriority(double newPriority) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY, newPriority);
}
/**
*
*
* @generated
*/
public void unsetPriority() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY);
}
/**
*
*
* @generated
*/
public boolean isSetPriority() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY);
}
/**
*
*
* @generated
*/
public String getPriorityAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setPriorityAsString(String newPriorityAsString) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY_AS_STRING, newPriorityAsString);
}
/**
*
*
* @generated
*/
public void unsetPriorityAsString() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetPriorityAsString() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__PRIORITY_AS_STRING);
}
/**
*
*
* @generated
*/
public String getCategory() {
return (String) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__CATEGORY, true);
}
/**
*
*
* @generated
*/
public void setCategory(String newCategory) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__CATEGORY, newCategory);
}
/**
*
*
* @generated
*/
public void unsetCategory() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__CATEGORY);
}
/**
*
*
* @generated
*/
public boolean isSetCategory() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__CATEGORY);
}
/**
*
*
* @generated
*/
public IfcMaterialProfileSet getToMaterialProfileSet() {
return (IfcMaterialProfileSet) eGet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__TO_MATERIAL_PROFILE_SET, true);
}
/**
*
*
* @generated
*/
public void setToMaterialProfileSet(IfcMaterialProfileSet newToMaterialProfileSet) {
eSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__TO_MATERIAL_PROFILE_SET, newToMaterialProfileSet);
}
/**
*
*
* @generated
*/
public void unsetToMaterialProfileSet() {
eUnset(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__TO_MATERIAL_PROFILE_SET);
}
/**
*
*
* @generated
*/
public boolean isSetToMaterialProfileSet() {
return eIsSet(Ifc4Package.Literals.IFC_MATERIAL_PROFILE__TO_MATERIAL_PROFILE_SET);
}
} //IfcMaterialProfileImpl