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

com.codbex.kronos.parser.hdbcalculationview.ndb.bimodelconversion.CurrencyConversion Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (c) 2022 codbex or an codbex affiliate company and contributors
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v2.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v20.html
 *
 * SPDX-FileCopyrightText: 2022 codbex or an codbex affiliate company and contributors
 * SPDX-License-Identifier: EPL-2.0
 */
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.11.26 at 10:54:28 AM EET 
//


package com.codbex.kronos.parser.hdbcalculationview.ndb.bimodelconversion;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.codbex.kronos.parser.hdbcalculationview.ndb.basemodelbase.ConversionMethod;
import com.codbex.kronos.parser.hdbcalculationview.ndb.basemodelbase.CurrencyConversionLookup;
import com.codbex.kronos.parser.hdbcalculationview.ndb.bimodeldatafoundation.QualifiedAttributeReference;


/**
 * A currency conversion comprises all model information that is required as input for the engine currency
 * conversion function. It defines how model artifacts like variables,	attributes, constants are mapped to
 * the input parameters of the currency conversion The source currency is mandatory and then the conversion
 * is either defined as only doing	the ERP decimal shift or a real currency conversion to a different target UNIT.
 * In the latter case one can choose to do the conversion with decimal shift (default) or	without decimal shift
 * (erpDecimalShift="false")
 *
 *
 * Java class for CurrencyConversion complex type.
 *
 * The following schema fragment specifies the expected content contained within this class.
 *
 * 
 * <complexType name="CurrencyConversion">
 *   <complexContent>
 *     <extension base="{http://www.sap.com/ndb/BiModelConversion.ecore}Conversion">
 *       <sequence>
 *         <element name="sourceCurrency" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization"/>
 *         <element name="erpDecimalShift" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="round" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *         <element name="erpDecimalShiftBack" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
 *         <element name="targetCurrency" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization" minOccurs="0"/>
 *         <element name="referenceDate" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization" minOccurs="0"/>
 *         <element name="marketDataArea" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization" minOccurs="0"/>
 *         <element name="bidAskType" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization" minOccurs="0"/>
 *         <element name="steps" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}QualifiedAttributeReference" minOccurs="0"/>
 *         <element name="systemTime" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization" minOccurs="0"/>
 *         <choice minOccurs="0">
 *           <element name="exchangeRateType" type="{http://www.sap.com/ndb/BaseModelBase.ecore}ExchangeRateType"/>
 *           <element name="exchangeRateTypeAttribute" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}QualifiedAttributeReference"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="exchangeRateAttribute" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}QualifiedAttributeReference" minOccurs="0"/>
 *           <element name="exchangeRateCalcAttribute" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}QualifiedAttributeReference" minOccurs="0"/>
 *         </choice>
 *       </sequence>
 *       <attribute name="convert" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="lookup" type="{http://www.sap.com/ndb/BaseModelBase.ecore}CurrencyConversionLookup" />
 *       <attribute name="accuracy" type="{http://www.sap.com/ndb/BiModelConversion.ecore}CurrencyConversionAccuracy" />
 *       <attribute name="method" type="{http://www.sap.com/ndb/BaseModelBase.ecore}ConversionMethod" />
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CurrencyConversion", propOrder = { "sourceCurrency", "erpDecimalShift", "round", "erpDecimalShiftBack", "targetCurrency", "referenceDate", "marketDataArea", "bidAskType", "steps", "systemTime", "exchangeRateType", "exchangeRateTypeAttribute", "exchangeRateAttribute", "exchangeRateCalcAttribute" }) public class CurrencyConversion extends Conversion { /** The source currency. */ @XmlElement(required = true) protected Parameterization sourceCurrency; /** The erp decimal shift. */ protected Boolean erpDecimalShift; /** The round. */ protected Boolean round; /** The erp decimal shift back. */ @XmlElement(defaultValue = "true") protected boolean erpDecimalShiftBack; /** The target currency. */ protected Parameterization targetCurrency; /** The reference date. */ protected Parameterization referenceDate; /** The market data area. */ protected Parameterization marketDataArea; /** The bid ask type. */ protected Parameterization bidAskType; /** The steps. */ protected QualifiedAttributeReference steps; /** The system time. */ protected Parameterization systemTime; /** The exchange rate type. */ @XmlElement(defaultValue = "M") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String exchangeRateType; /** The exchange rate type attribute. */ protected QualifiedAttributeReference exchangeRateTypeAttribute; /** The exchange rate attribute. */ protected QualifiedAttributeReference exchangeRateAttribute; /** The exchange rate calc attribute. */ protected QualifiedAttributeReference exchangeRateCalcAttribute; /** The convert. */ @XmlAttribute(name = "convert") protected Boolean convert; /** The lookup. */ @XmlAttribute(name = "lookup") protected CurrencyConversionLookup lookup; /** The accuracy. */ @XmlAttribute(name = "accuracy") protected CurrencyConversionAccuracy accuracy; /** The method. */ @XmlAttribute(name = "method") protected ConversionMethod method; /** * Gets the value of the sourceCurrency property. * * @return possible object is * {@link Parameterization } */ public Parameterization getSourceCurrency() { return sourceCurrency; } /** * Sets the value of the sourceCurrency property. * * @param value allowed object is * {@link Parameterization } */ public void setSourceCurrency(Parameterization value) { this.sourceCurrency = value; } /** * Gets the value of the erpDecimalShift property. * * @return possible object is * {@link Boolean } */ public Boolean isErpDecimalShift() { return erpDecimalShift; } /** * Sets the value of the erpDecimalShift property. * * @param value allowed object is * {@link Boolean } */ public void setErpDecimalShift(Boolean value) { this.erpDecimalShift = value; } /** * Gets the value of the round property. * * @return possible object is * {@link Boolean } */ public Boolean isRound() { return round; } /** * Sets the value of the round property. * * @param value allowed object is * {@link Boolean } */ public void setRound(Boolean value) { this.round = value; } /** * Gets the value of the erpDecimalShiftBack property. * * @return true, if is erp decimal shift back */ public boolean isErpDecimalShiftBack() { return erpDecimalShiftBack; } /** * Sets the value of the erpDecimalShiftBack property. * * @param value the new erp decimal shift back */ public void setErpDecimalShiftBack(boolean value) { this.erpDecimalShiftBack = value; } /** * Gets the value of the targetCurrency property. * * @return possible object is * {@link Parameterization } */ public Parameterization getTargetCurrency() { return targetCurrency; } /** * Sets the value of the targetCurrency property. * * @param value allowed object is * {@link Parameterization } */ public void setTargetCurrency(Parameterization value) { this.targetCurrency = value; } /** * Gets the value of the referenceDate property. * * @return possible object is * {@link Parameterization } */ public Parameterization getReferenceDate() { return referenceDate; } /** * Sets the value of the referenceDate property. * * @param value allowed object is * {@link Parameterization } */ public void setReferenceDate(Parameterization value) { this.referenceDate = value; } /** * Gets the value of the marketDataArea property. * * @return possible object is * {@link Parameterization } */ public Parameterization getMarketDataArea() { return marketDataArea; } /** * Sets the value of the marketDataArea property. * * @param value allowed object is * {@link Parameterization } */ public void setMarketDataArea(Parameterization value) { this.marketDataArea = value; } /** * Gets the value of the bidAskType property. * * @return possible object is * {@link Parameterization } */ public Parameterization getBidAskType() { return bidAskType; } /** * Sets the value of the bidAskType property. * * @param value allowed object is * {@link Parameterization } */ public void setBidAskType(Parameterization value) { this.bidAskType = value; } /** * Gets the value of the steps property. * * @return possible object is * {@link QualifiedAttributeReference } */ public QualifiedAttributeReference getSteps() { return steps; } /** * Sets the value of the steps property. * * @param value allowed object is * {@link QualifiedAttributeReference } */ public void setSteps(QualifiedAttributeReference value) { this.steps = value; } /** * Gets the value of the systemTime property. * * @return possible object is * {@link Parameterization } */ public Parameterization getSystemTime() { return systemTime; } /** * Sets the value of the systemTime property. * * @param value allowed object is * {@link Parameterization } */ public void setSystemTime(Parameterization value) { this.systemTime = value; } /** * Gets the value of the exchangeRateType property. * * @return possible object is * {@link String } */ public String getExchangeRateType() { return exchangeRateType; } /** * Sets the value of the exchangeRateType property. * * @param value allowed object is * {@link String } */ public void setExchangeRateType(String value) { this.exchangeRateType = value; } /** * Gets the value of the exchangeRateTypeAttribute property. * * @return possible object is * {@link QualifiedAttributeReference } */ public QualifiedAttributeReference getExchangeRateTypeAttribute() { return exchangeRateTypeAttribute; } /** * Sets the value of the exchangeRateTypeAttribute property. * * @param value allowed object is * {@link QualifiedAttributeReference } */ public void setExchangeRateTypeAttribute(QualifiedAttributeReference value) { this.exchangeRateTypeAttribute = value; } /** * Gets the value of the exchangeRateAttribute property. * * @return possible object is * {@link QualifiedAttributeReference } */ public QualifiedAttributeReference getExchangeRateAttribute() { return exchangeRateAttribute; } /** * Sets the value of the exchangeRateAttribute property. * * @param value allowed object is * {@link QualifiedAttributeReference } */ public void setExchangeRateAttribute(QualifiedAttributeReference value) { this.exchangeRateAttribute = value; } /** * Gets the value of the exchangeRateCalcAttribute property. * * @return possible object is * {@link QualifiedAttributeReference } */ public QualifiedAttributeReference getExchangeRateCalcAttribute() { return exchangeRateCalcAttribute; } /** * Sets the value of the exchangeRateCalcAttribute property. * * @param value allowed object is * {@link QualifiedAttributeReference } */ public void setExchangeRateCalcAttribute(QualifiedAttributeReference value) { this.exchangeRateCalcAttribute = value; } /** * Gets the value of the convert property. * * @return possible object is * {@link Boolean } */ public Boolean isConvert() { return convert; } /** * Sets the value of the convert property. * * @param value allowed object is * {@link Boolean } */ public void setConvert(Boolean value) { this.convert = value; } /** * Gets the value of the lookup property. * * @return possible object is * {@link CurrencyConversionLookup } */ public CurrencyConversionLookup getLookup() { return lookup; } /** * Sets the value of the lookup property. * * @param value allowed object is * {@link CurrencyConversionLookup } */ public void setLookup(CurrencyConversionLookup value) { this.lookup = value; } /** * Gets the value of the accuracy property. * * @return possible object is * {@link CurrencyConversionAccuracy } */ public CurrencyConversionAccuracy getAccuracy() { return accuracy; } /** * Sets the value of the accuracy property. * * @param value allowed object is * {@link CurrencyConversionAccuracy } */ public void setAccuracy(CurrencyConversionAccuracy value) { this.accuracy = value; } /** * Gets the value of the method property. * * @return possible object is * {@link ConversionMethod } */ public ConversionMethod getMethod() { return method; } /** * Sets the value of the method property. * * @param value allowed object is * {@link ConversionMethod } */ public void setMethod(ConversionMethod value) { this.method = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy