All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc4.impl.IfcPortImpl 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.IfcPort;
import org.bimserver.models.ifc4.IfcRelConnectsPortToElement;
import org.bimserver.models.ifc4.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.ifc4.impl.IfcPortImpl#getContainedIn Contained In}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcPortImpl#getConnectedFrom Connected From}
  • *
  • {@link org.bimserver.models.ifc4.impl.IfcPortImpl#getConnectedTo Connected To}
  • *
* * @generated */ public class IfcPortImpl extends IfcProductImpl implements IfcPort { /** * * * @generated */ protected IfcPortImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc4Package.Literals.IFC_PORT; } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getContainedIn() { return (EList) eGet(Ifc4Package.Literals.IFC_PORT__CONTAINED_IN, true); } /** * * * @generated */ public void unsetContainedIn() { eUnset(Ifc4Package.Literals.IFC_PORT__CONTAINED_IN); } /** * * * @generated */ public boolean isSetContainedIn() { return eIsSet(Ifc4Package.Literals.IFC_PORT__CONTAINED_IN); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getConnectedFrom() { return (EList) eGet(Ifc4Package.Literals.IFC_PORT__CONNECTED_FROM, true); } /** * * * @generated */ public void unsetConnectedFrom() { eUnset(Ifc4Package.Literals.IFC_PORT__CONNECTED_FROM); } /** * * * @generated */ public boolean isSetConnectedFrom() { return eIsSet(Ifc4Package.Literals.IFC_PORT__CONNECTED_FROM); } /** * * * @generated */ @SuppressWarnings("unchecked") public EList getConnectedTo() { return (EList) eGet(Ifc4Package.Literals.IFC_PORT__CONNECTED_TO, true); } /** * * * @generated */ public void unsetConnectedTo() { eUnset(Ifc4Package.Literals.IFC_PORT__CONNECTED_TO); } /** * * * @generated */ public boolean isSetConnectedTo() { return eIsSet(Ifc4Package.Literals.IFC_PORT__CONNECTED_TO); } } //IfcPortImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy