org.bimserver.models.ifc2x3tc1.impl.IfcSpatialStructureElementImpl 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.ifc2x3tc1.impl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcElementCompositionEnum;
import org.bimserver.models.ifc2x3tc1.IfcRelContainedInSpatialStructure;
import org.bimserver.models.ifc2x3tc1.IfcRelReferencedInSpatialStructure;
import org.bimserver.models.ifc2x3tc1.IfcRelServicesBuildings;
import org.bimserver.models.ifc2x3tc1.IfcSpatialStructureElement;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Spatial Structure Element'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcSpatialStructureElementImpl#getLongName Long Name}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcSpatialStructureElementImpl#getCompositionType Composition Type}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcSpatialStructureElementImpl#getReferencesElements References Elements}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcSpatialStructureElementImpl#getServicedBySystems Serviced By Systems}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcSpatialStructureElementImpl#getContainsElements Contains Elements}
*
*
* @generated
*/
public class IfcSpatialStructureElementImpl extends IfcProductImpl implements IfcSpatialStructureElement {
/**
*
*
* @generated
*/
protected IfcSpatialStructureElementImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT;
}
/**
*
*
* @generated
*/
public String getLongName() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__LONG_NAME, true);
}
/**
*
*
* @generated
*/
public void setLongName(String newLongName) {
eSet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__LONG_NAME, newLongName);
}
/**
*
*
* @generated
*/
public void unsetLongName() {
eUnset(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__LONG_NAME);
}
/**
*
*
* @generated
*/
public boolean isSetLongName() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__LONG_NAME);
}
/**
*
*
* @generated
*/
public IfcElementCompositionEnum getCompositionType() {
return (IfcElementCompositionEnum) eGet(
Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__COMPOSITION_TYPE, true);
}
/**
*
*
* @generated
*/
public void setCompositionType(IfcElementCompositionEnum newCompositionType) {
eSet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__COMPOSITION_TYPE, newCompositionType);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getReferencesElements() {
return (EList) eGet(
Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__REFERENCES_ELEMENTS, true);
}
/**
*
*
* @generated
*/
public void unsetReferencesElements() {
eUnset(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__REFERENCES_ELEMENTS);
}
/**
*
*
* @generated
*/
public boolean isSetReferencesElements() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__REFERENCES_ELEMENTS);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getServicedBySystems() {
return (EList) eGet(
Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__SERVICED_BY_SYSTEMS, true);
}
/**
*
*
* @generated
*/
public void unsetServicedBySystems() {
eUnset(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__SERVICED_BY_SYSTEMS);
}
/**
*
*
* @generated
*/
public boolean isSetServicedBySystems() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__SERVICED_BY_SYSTEMS);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getContainsElements() {
return (EList) eGet(
Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__CONTAINS_ELEMENTS, true);
}
/**
*
*
* @generated
*/
public void unsetContainsElements() {
eUnset(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__CONTAINS_ELEMENTS);
}
/**
*
*
* @generated
*/
public boolean isSetContainsElements() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_SPATIAL_STRUCTURE_ELEMENT__CONTAINS_ELEMENTS);
}
} //IfcSpatialStructureElementImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy