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