
org.bimserver.models.ifc2x3tc1.impl.IfcPortImpl 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.IfcPort;
import org.bimserver.models.ifc2x3tc1.IfcRelConnectsPortToElement;
import org.bimserver.models.ifc2x3tc1.IfcRelConnectsPorts;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Port'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPortImpl#getContainedIn Contained In}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPortImpl#getConnectedFrom Connected From}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPortImpl#getConnectedTo Connected To}
*
*
* @generated
*/
public class IfcPortImpl extends IfcProductImpl implements IfcPort {
/**
*
*
* @generated
*/
protected IfcPortImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_PORT;
}
/**
*
*
* @generated
*/
public IfcRelConnectsPortToElement getContainedIn() {
return (IfcRelConnectsPortToElement) eGet(Ifc2x3tc1Package.Literals.IFC_PORT__CONTAINED_IN, true);
}
/**
*
*
* @generated
*/
public void setContainedIn(IfcRelConnectsPortToElement newContainedIn) {
eSet(Ifc2x3tc1Package.Literals.IFC_PORT__CONTAINED_IN, newContainedIn);
}
/**
*
*
* @generated
*/
public void unsetContainedIn() {
eUnset(Ifc2x3tc1Package.Literals.IFC_PORT__CONTAINED_IN);
}
/**
*
*
* @generated
*/
public boolean isSetContainedIn() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_PORT__CONTAINED_IN);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getConnectedFrom() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_PORT__CONNECTED_FROM, true);
}
/**
*
*
* @generated
*/
public void unsetConnectedFrom() {
eUnset(Ifc2x3tc1Package.Literals.IFC_PORT__CONNECTED_FROM);
}
/**
*
*
* @generated
*/
public boolean isSetConnectedFrom() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_PORT__CONNECTED_FROM);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getConnectedTo() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_PORT__CONNECTED_TO, true);
}
/**
*
*
* @generated
*/
public void unsetConnectedTo() {
eUnset(Ifc2x3tc1Package.Literals.IFC_PORT__CONNECTED_TO);
}
/**
*
*
* @generated
*/
public boolean isSetConnectedTo() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_PORT__CONNECTED_TO);
}
} //IfcPortImpl
© 2015 - 2025 Weber Informatics LLC | Privacy Policy