org.bimserver.models.ifc2x3tc1.impl.IfcEdgeFeatureImpl 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.IfcEdgeFeature;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Edge Feature'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcEdgeFeatureImpl#getFeatureLength Feature Length}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcEdgeFeatureImpl#getFeatureLengthAsString Feature Length As String}
*
*
* @generated
*/
public class IfcEdgeFeatureImpl extends IfcFeatureElementSubtractionImpl implements IfcEdgeFeature {
/**
*
*
* @generated
*/
protected IfcEdgeFeatureImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE;
}
/**
*
*
* @generated
*/
public double getFeatureLength() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH, true);
}
/**
*
*
* @generated
*/
public void setFeatureLength(double newFeatureLength) {
eSet(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH, newFeatureLength);
}
/**
*
*
* @generated
*/
public void unsetFeatureLength() {
eUnset(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH);
}
/**
*
*
* @generated
*/
public boolean isSetFeatureLength() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH);
}
/**
*
*
* @generated
*/
public String getFeatureLengthAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setFeatureLengthAsString(String newFeatureLengthAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH_AS_STRING, newFeatureLengthAsString);
}
/**
*
*
* @generated
*/
public void unsetFeatureLengthAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetFeatureLengthAsString() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_EDGE_FEATURE__FEATURE_LENGTH_AS_STRING);
}
} //IfcEdgeFeatureImpl