org.bimserver.models.ifc4.impl.IfcSectionPropertiesImpl 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.IfcProfileDef;
import org.bimserver.models.ifc4.IfcSectionProperties;
import org.bimserver.models.ifc4.IfcSectionTypeEnum;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Section Properties'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcSectionPropertiesImpl#getSectionType Section Type}
* - {@link org.bimserver.models.ifc4.impl.IfcSectionPropertiesImpl#getStartProfile Start Profile}
* - {@link org.bimserver.models.ifc4.impl.IfcSectionPropertiesImpl#getEndProfile End Profile}
*
*
* @generated
*/
public class IfcSectionPropertiesImpl extends IfcPreDefinedPropertiesImpl implements IfcSectionProperties {
/**
*
*
* @generated
*/
protected IfcSectionPropertiesImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_SECTION_PROPERTIES;
}
/**
*
*
* @generated
*/
public IfcSectionTypeEnum getSectionType() {
return (IfcSectionTypeEnum) eGet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__SECTION_TYPE, true);
}
/**
*
*
* @generated
*/
public void setSectionType(IfcSectionTypeEnum newSectionType) {
eSet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__SECTION_TYPE, newSectionType);
}
/**
*
*
* @generated
*/
public IfcProfileDef getStartProfile() {
return (IfcProfileDef) eGet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__START_PROFILE, true);
}
/**
*
*
* @generated
*/
public void setStartProfile(IfcProfileDef newStartProfile) {
eSet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__START_PROFILE, newStartProfile);
}
/**
*
*
* @generated
*/
public IfcProfileDef getEndProfile() {
return (IfcProfileDef) eGet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__END_PROFILE, true);
}
/**
*
*
* @generated
*/
public void setEndProfile(IfcProfileDef newEndProfile) {
eSet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__END_PROFILE, newEndProfile);
}
/**
*
*
* @generated
*/
public void unsetEndProfile() {
eUnset(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__END_PROFILE);
}
/**
*
*
* @generated
*/
public boolean isSetEndProfile() {
return eIsSet(Ifc4Package.Literals.IFC_SECTION_PROPERTIES__END_PROFILE);
}
} //IfcSectionPropertiesImpl