org.bimserver.models.ifc2x3tc1.impl.IfcTransportElementImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pluginbase Show documentation
Show all versions of pluginbase Show documentation
Base project for BIMserver plugin development. Some plugins mights also need the Shared library
/**
* 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.IfcTransportElement;
import org.bimserver.models.ifc2x3tc1.IfcTransportElementTypeEnum;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Transport Element'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTransportElementImpl#getOperationType Operation Type}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTransportElementImpl#getCapacityByWeight Capacity By Weight}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTransportElementImpl#getCapacityByWeightAsString Capacity By Weight As String}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTransportElementImpl#getCapacityByNumber Capacity By Number}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcTransportElementImpl#getCapacityByNumberAsString Capacity By Number As String}
*
*
* @generated
*/
public class IfcTransportElementImpl extends IfcElementImpl implements IfcTransportElement {
/**
*
*
* @generated
*/
protected IfcTransportElementImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT;
}
/**
*
*
* @generated
*/
public IfcTransportElementTypeEnum getOperationType() {
return (IfcTransportElementTypeEnum) eGet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__OPERATION_TYPE, true);
}
/**
*
*
* @generated
*/
public void setOperationType(IfcTransportElementTypeEnum newOperationType) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__OPERATION_TYPE, newOperationType);
}
/**
*
*
* @generated
*/
public void unsetOperationType() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__OPERATION_TYPE);
}
/**
*
*
* @generated
*/
public boolean isSetOperationType() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__OPERATION_TYPE);
}
/**
*
*
* @generated
*/
public double getCapacityByWeight() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT, true);
}
/**
*
*
* @generated
*/
public void setCapacityByWeight(double newCapacityByWeight) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT, newCapacityByWeight);
}
/**
*
*
* @generated
*/
public void unsetCapacityByWeight() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT);
}
/**
*
*
* @generated
*/
public boolean isSetCapacityByWeight() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT);
}
/**
*
*
* @generated
*/
public String getCapacityByWeightAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setCapacityByWeightAsString(String newCapacityByWeightAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT_AS_STRING, newCapacityByWeightAsString);
}
/**
*
*
* @generated
*/
public void unsetCapacityByWeightAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetCapacityByWeightAsString() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_WEIGHT_AS_STRING);
}
/**
*
*
* @generated
*/
public double getCapacityByNumber() {
return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER, true);
}
/**
*
*
* @generated
*/
public void setCapacityByNumber(double newCapacityByNumber) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER, newCapacityByNumber);
}
/**
*
*
* @generated
*/
public void unsetCapacityByNumber() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER);
}
/**
*
*
* @generated
*/
public boolean isSetCapacityByNumber() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER);
}
/**
*
*
* @generated
*/
public String getCapacityByNumberAsString() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER_AS_STRING, true);
}
/**
*
*
* @generated
*/
public void setCapacityByNumberAsString(String newCapacityByNumberAsString) {
eSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER_AS_STRING, newCapacityByNumberAsString);
}
/**
*
*
* @generated
*/
public void unsetCapacityByNumberAsString() {
eUnset(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER_AS_STRING);
}
/**
*
*
* @generated
*/
public boolean isSetCapacityByNumberAsString() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_TRANSPORT_ELEMENT__CAPACITY_BY_NUMBER_AS_STRING);
}
} //IfcTransportElementImpl