org.bimserver.models.ifc2x3tc1.impl.IfcStructuralResultGroupImpl 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.IfcAnalysisTheoryTypeEnum;
import org.bimserver.models.ifc2x3tc1.IfcStructuralAnalysisModel;
import org.bimserver.models.ifc2x3tc1.IfcStructuralLoadGroup;
import org.bimserver.models.ifc2x3tc1.IfcStructuralResultGroup;
import org.bimserver.models.ifc2x3tc1.Tristate;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Structural Result Group'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralResultGroupImpl#getTheoryType Theory Type}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralResultGroupImpl#getResultForLoadGroup Result For Load Group}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralResultGroupImpl#getIsLinear Is Linear}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcStructuralResultGroupImpl#getResultGroupFor Result Group For}
*
*
* @generated
*/
public class IfcStructuralResultGroupImpl extends IfcGroupImpl implements IfcStructuralResultGroup {
/**
*
*
* @generated
*/
protected IfcStructuralResultGroupImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP;
}
/**
*
*
* @generated
*/
public IfcAnalysisTheoryTypeEnum getTheoryType() {
return (IfcAnalysisTheoryTypeEnum) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__THEORY_TYPE, true);
}
/**
*
*
* @generated
*/
public void setTheoryType(IfcAnalysisTheoryTypeEnum newTheoryType) {
eSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__THEORY_TYPE, newTheoryType);
}
/**
*
*
* @generated
*/
public IfcStructuralLoadGroup getResultForLoadGroup() {
return (IfcStructuralLoadGroup) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_FOR_LOAD_GROUP, true);
}
/**
*
*
* @generated
*/
public void setResultForLoadGroup(IfcStructuralLoadGroup newResultForLoadGroup) {
eSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_FOR_LOAD_GROUP, newResultForLoadGroup);
}
/**
*
*
* @generated
*/
public void unsetResultForLoadGroup() {
eUnset(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_FOR_LOAD_GROUP);
}
/**
*
*
* @generated
*/
public boolean isSetResultForLoadGroup() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_FOR_LOAD_GROUP);
}
/**
*
*
* @generated
*/
public Tristate getIsLinear() {
return (Tristate) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__IS_LINEAR, true);
}
/**
*
*
* @generated
*/
public void setIsLinear(Tristate newIsLinear) {
eSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__IS_LINEAR, newIsLinear);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getResultGroupFor() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_GROUP_FOR, true);
}
/**
*
*
* @generated
*/
public void unsetResultGroupFor() {
eUnset(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_GROUP_FOR);
}
/**
*
*
* @generated
*/
public boolean isSetResultGroupFor() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_STRUCTURAL_RESULT_GROUP__RESULT_GROUP_FOR);
}
} //IfcStructuralResultGroupImpl