org.bimserver.models.ifc4.impl.IfcStructuralAnalysisModelImpl 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.IfcAnalysisModelTypeEnum;
import org.bimserver.models.ifc4.IfcAxis2Placement3D;
import org.bimserver.models.ifc4.IfcObjectPlacement;
import org.bimserver.models.ifc4.IfcStructuralAnalysisModel;
import org.bimserver.models.ifc4.IfcStructuralLoadGroup;
import org.bimserver.models.ifc4.IfcStructuralResultGroup;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Structural Analysis Model'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcStructuralAnalysisModelImpl#getPredefinedType Predefined Type}
* - {@link org.bimserver.models.ifc4.impl.IfcStructuralAnalysisModelImpl#getOrientationOf2DPlane Orientation Of2 DPlane}
* - {@link org.bimserver.models.ifc4.impl.IfcStructuralAnalysisModelImpl#getLoadedBy Loaded By}
* - {@link org.bimserver.models.ifc4.impl.IfcStructuralAnalysisModelImpl#getHasResults Has Results}
* - {@link org.bimserver.models.ifc4.impl.IfcStructuralAnalysisModelImpl#getSharedPlacement Shared Placement}
*
*
* @generated
*/
public class IfcStructuralAnalysisModelImpl extends IfcSystemImpl implements IfcStructuralAnalysisModel {
/**
*
*
* @generated
*/
protected IfcStructuralAnalysisModelImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL;
}
/**
*
*
* @generated
*/
public IfcAnalysisModelTypeEnum getPredefinedType() {
return (IfcAnalysisModelTypeEnum) eGet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__PREDEFINED_TYPE, true);
}
/**
*
*
* @generated
*/
public void setPredefinedType(IfcAnalysisModelTypeEnum newPredefinedType) {
eSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__PREDEFINED_TYPE, newPredefinedType);
}
/**
*
*
* @generated
*/
public IfcAxis2Placement3D getOrientationOf2DPlane() {
return (IfcAxis2Placement3D) eGet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__ORIENTATION_OF2_DPLANE, true);
}
/**
*
*
* @generated
*/
public void setOrientationOf2DPlane(IfcAxis2Placement3D newOrientationOf2DPlane) {
eSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__ORIENTATION_OF2_DPLANE, newOrientationOf2DPlane);
}
/**
*
*
* @generated
*/
public void unsetOrientationOf2DPlane() {
eUnset(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__ORIENTATION_OF2_DPLANE);
}
/**
*
*
* @generated
*/
public boolean isSetOrientationOf2DPlane() {
return eIsSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__ORIENTATION_OF2_DPLANE);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getLoadedBy() {
return (EList) eGet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__LOADED_BY, true);
}
/**
*
*
* @generated
*/
public void unsetLoadedBy() {
eUnset(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__LOADED_BY);
}
/**
*
*
* @generated
*/
public boolean isSetLoadedBy() {
return eIsSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__LOADED_BY);
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getHasResults() {
return (EList) eGet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__HAS_RESULTS, true);
}
/**
*
*
* @generated
*/
public void unsetHasResults() {
eUnset(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__HAS_RESULTS);
}
/**
*
*
* @generated
*/
public boolean isSetHasResults() {
return eIsSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__HAS_RESULTS);
}
/**
*
*
* @generated
*/
public IfcObjectPlacement getSharedPlacement() {
return (IfcObjectPlacement) eGet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__SHARED_PLACEMENT, true);
}
/**
*
*
* @generated
*/
public void setSharedPlacement(IfcObjectPlacement newSharedPlacement) {
eSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__SHARED_PLACEMENT, newSharedPlacement);
}
/**
*
*
* @generated
*/
public void unsetSharedPlacement() {
eUnset(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__SHARED_PLACEMENT);
}
/**
*
*
* @generated
*/
public boolean isSetSharedPlacement() {
return eIsSet(Ifc4Package.Literals.IFC_STRUCTURAL_ANALYSIS_MODEL__SHARED_PLACEMENT);
}
} //IfcStructuralAnalysisModelImpl