org.bimserver.models.ifc4.impl.IfcRightCircularConeImpl 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.IfcRightCircularCone;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Right Circular Cone'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc4.impl.IfcRightCircularConeImpl#getHeight Height}
* - {@link org.bimserver.models.ifc4.impl.IfcRightCircularConeImpl#getHeightAsString Height As String}
* - {@link org.bimserver.models.ifc4.impl.IfcRightCircularConeImpl#getBottomRadius Bottom Radius}
* - {@link org.bimserver.models.ifc4.impl.IfcRightCircularConeImpl#getBottomRadiusAsString Bottom Radius As String}
*
*
* @generated
*/
public class IfcRightCircularConeImpl extends IfcCsgPrimitive3DImpl implements IfcRightCircularCone {
/**
*
*
* @generated
*/
protected IfcRightCircularConeImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE;
}
/**
*
*
* @generated
*/
public double getHeight() {
return (Double) eGet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__HEIGHT, true);
}
/**
*
*
* @generated
*/
public void setHeight(double newHeight) {
eSet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__HEIGHT, newHeight);
}
/**
*
*
* @generated
*/
public String getHeightAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__HEIGHT_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setHeightAsString(String newHeightAsString) {
eSet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__HEIGHT_AS_STRING, newHeightAsString);
}
/**
*
*
* @generated
*/
public double getBottomRadius() {
return (Double) eGet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__BOTTOM_RADIUS, true);
}
/**
*
*
* @generated
*/
public void setBottomRadius(double newBottomRadius) {
eSet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__BOTTOM_RADIUS, newBottomRadius);
}
/**
*
*
* @generated
*/
public String getBottomRadiusAsString() {
return (String) eGet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__BOTTOM_RADIUS_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setBottomRadiusAsString(String newBottomRadiusAsString) {
eSet(Ifc4Package.Literals.IFC_RIGHT_CIRCULAR_CONE__BOTTOM_RADIUS_AS_STRING, newBottomRadiusAsString);
}
} //IfcRightCircularConeImpl