org.bimserver.models.ifc2x3tc1.impl.IfcPhysicalComplexQuantityImpl 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.IfcPhysicalComplexQuantity;
import org.bimserver.models.ifc2x3tc1.IfcPhysicalQuantity;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
/**
*
* An implementation of the model object 'Ifc Physical Complex Quantity'.
*
*
* The following features are implemented:
*
*
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPhysicalComplexQuantityImpl#getHasQuantities Has Quantities}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPhysicalComplexQuantityImpl#getDiscrimination Discrimination}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPhysicalComplexQuantityImpl#getQuality Quality}
* - {@link org.bimserver.models.ifc2x3tc1.impl.IfcPhysicalComplexQuantityImpl#getUsage Usage}
*
*
* @generated
*/
public class IfcPhysicalComplexQuantityImpl extends IfcPhysicalQuantityImpl implements IfcPhysicalComplexQuantity {
/**
*
*
* @generated
*/
protected IfcPhysicalComplexQuantityImpl() {
super();
}
/**
*
*
* @generated
*/
@Override
protected EClass eStaticClass() {
return Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY;
}
/**
*
*
* @generated
*/
@SuppressWarnings("unchecked")
public EList getHasQuantities() {
return (EList) eGet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__HAS_QUANTITIES, true);
}
/**
*
*
* @generated
*/
public String getDiscrimination() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__DISCRIMINATION, true);
}
/**
*
*
* @generated
*/
public void setDiscrimination(String newDiscrimination) {
eSet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__DISCRIMINATION, newDiscrimination);
}
/**
*
*
* @generated
*/
public String getQuality() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__QUALITY, true);
}
/**
*
*
* @generated
*/
public void setQuality(String newQuality) {
eSet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__QUALITY, newQuality);
}
/**
*
*
* @generated
*/
public void unsetQuality() {
eUnset(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__QUALITY);
}
/**
*
*
* @generated
*/
public boolean isSetQuality() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__QUALITY);
}
/**
*
*
* @generated
*/
public String getUsage() {
return (String) eGet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__USAGE, true);
}
/**
*
*
* @generated
*/
public void setUsage(String newUsage) {
eSet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__USAGE, newUsage);
}
/**
*
*
* @generated
*/
public void unsetUsage() {
eUnset(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__USAGE);
}
/**
*
*
* @generated
*/
public boolean isSetUsage() {
return eIsSet(Ifc2x3tc1Package.Literals.IFC_PHYSICAL_COMPLEX_QUANTITY__USAGE);
}
} //IfcPhysicalComplexQuantityImpl