All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl 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.emf.IdEObjectImpl;
import org.bimserver.models.ifc2x3tc1.Ifc2x3tc1Package;
import org.bimserver.models.ifc2x3tc1.IfcCurrencyRelationship;
import org.bimserver.models.ifc2x3tc1.IfcDateAndTime;
import org.bimserver.models.ifc2x3tc1.IfcLibraryInformation;
import org.bimserver.models.ifc2x3tc1.IfcMonetaryUnit;
import org.eclipse.emf.ecore.EClass;

/**
 * 
 * An implementation of the model object 'Ifc Currency Relationship'.
 * 
 * 

* The following features are implemented: *

*
    *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl#getRelatingMonetaryUnit Relating Monetary Unit}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl#getRelatedMonetaryUnit Related Monetary Unit}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl#getExchangeRate Exchange Rate}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl#getExchangeRateAsString Exchange Rate As String}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl#getRateDateTime Rate Date Time}
  • *
  • {@link org.bimserver.models.ifc2x3tc1.impl.IfcCurrencyRelationshipImpl#getRateSource Rate Source}
  • *
* * @generated */ public class IfcCurrencyRelationshipImpl extends IdEObjectImpl implements IfcCurrencyRelationship { /** * * * @generated */ protected IfcCurrencyRelationshipImpl() { super(); } /** * * * @generated */ @Override protected EClass eStaticClass() { return Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP; } /** * * * @generated */ @Override protected int eStaticFeatureCount() { return 0; } /** * * * @generated */ public IfcMonetaryUnit getRelatingMonetaryUnit() { return (IfcMonetaryUnit) eGet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RELATING_MONETARY_UNIT, true); } /** * * * @generated */ public void setRelatingMonetaryUnit(IfcMonetaryUnit newRelatingMonetaryUnit) { eSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RELATING_MONETARY_UNIT, newRelatingMonetaryUnit); } /** * * * @generated */ public IfcMonetaryUnit getRelatedMonetaryUnit() { return (IfcMonetaryUnit) eGet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RELATED_MONETARY_UNIT, true); } /** * * * @generated */ public void setRelatedMonetaryUnit(IfcMonetaryUnit newRelatedMonetaryUnit) { eSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RELATED_MONETARY_UNIT, newRelatedMonetaryUnit); } /** * * * @generated */ public double getExchangeRate() { return (Double) eGet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__EXCHANGE_RATE, true); } /** * * * @generated */ public void setExchangeRate(double newExchangeRate) { eSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__EXCHANGE_RATE, newExchangeRate); } /** * * * @generated */ public String getExchangeRateAsString() { return (String) eGet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__EXCHANGE_RATE_AS_STRING, true); } /** * * * @generated */ public void setExchangeRateAsString(String newExchangeRateAsString) { eSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__EXCHANGE_RATE_AS_STRING, newExchangeRateAsString); } /** * * * @generated */ public IfcDateAndTime getRateDateTime() { return (IfcDateAndTime) eGet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RATE_DATE_TIME, true); } /** * * * @generated */ public void setRateDateTime(IfcDateAndTime newRateDateTime) { eSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RATE_DATE_TIME, newRateDateTime); } /** * * * @generated */ public IfcLibraryInformation getRateSource() { return (IfcLibraryInformation) eGet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RATE_SOURCE, true); } /** * * * @generated */ public void setRateSource(IfcLibraryInformation newRateSource) { eSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RATE_SOURCE, newRateSource); } /** * * * @generated */ public void unsetRateSource() { eUnset(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RATE_SOURCE); } /** * * * @generated */ public boolean isSetRateSource() { return eIsSet(Ifc2x3tc1Package.Literals.IFC_CURRENCY_RELATIONSHIP__RATE_SOURCE); } } //IfcCurrencyRelationshipImpl




© 2015 - 2024 Weber Informatics LLC | Privacy Policy