org.bimserver.models.ifc2x3tc1.impl.IfcStructuralActivityImpl 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.ifc2x3tc1.impl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcGlobalOrLocalEnum;
import org.bimserver.models.ifc2x3tc1.IfcRelConnectsStructuralActivity;
import org.bimserver.models.ifc2x3tc1.IfcStructuralActivity;
import org.bimserver.models.ifc2x3tc1.IfcStructuralLoad;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Structural Activity'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralActivityImpl#getAppliedLoad Applied Load}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralActivityImpl#getGlobalOrLocal Global Or Local}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralActivityImpl#getAssignedToStructuralItem Assigned To Structural Item}
*
*
* @generated
*/
public class IfcStructuralActivityImpl extends IfcProductImpl implements IfcStructuralActivity {
/**
*
*
* @generated
*/
protected IfcStructuralActivityImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY;
}
/**
*
*
* @generated
*/
public IfcStructuralLoad getAppliedLoad() {
return (IfcStructuralLoad) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__APPLIED_LOAD, true);
}
/**
*
*
* @generated
*/
public void setAppliedLoad(IfcStructuralLoad newAppliedLoad) {
eSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__APPLIED_LOAD, newAppliedLoad);
}
/**
*
*
* @generated
*/
public IfcGlobalOrLocalEnum getGlobalOrLocal() {
return (IfcGlobalOrLocalEnum) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__GLOBAL_OR_LOCAL, true);
}
/**
*
*
* @generated
*/
public void setGlobalOrLocal(IfcGlobalOrLocalEnum newGlobalOrLocal) {
eSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__GLOBAL_OR_LOCAL, newGlobalOrLocal);
}
/**
*
*
* @generated
*/
public IfcRelConnectsStructuralActivity getAssignedToStructuralItem() {
return (IfcRelConnectsStructuralActivity) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__ASSIGNED_TO_STRUCTURAL_ITEM, true);
}
/**
*
*
* @generated
*/
public void setAssignedToStructuralItem(IfcRelConnectsStructuralActivity newAssignedToStructuralItem) {
eSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__ASSIGNED_TO_STRUCTURAL_ITEM, newAssignedToStructuralItem);
}
/**
*
*
* @generated
*/
public void unsetAssignedToStructuralItem() {
eUnset(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__ASSIGNED_TO_STRUCTURAL_ITEM);
}
/**
*
*
* @generated
*/
public boolean isSetAssignedToStructuralItem() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_ACTIVITY__ASSIGNED_TO_STRUCTURAL_ITEM);
}
} //IfcStructuralActivityImpl