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

com.codbex.kronos.parser.hdbcalculationview.ndb.bimodeldatafoundation.Calculation 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.bimodeldatafoundation;

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.XmlType;

import com.codbex.kronos.parser.hdbcalculationview.ndb.datamodeltype.ExpressionLanguage;
import com.codbex.kronos.parser.hdbcalculationview.ndb.sqlcoremodeldatatypes.PrimitiveTypeSQL;


/**
 * This class just comprises the attributes used for a formula + data types. E.g. for usage as key and description
 * formula in CalculatedAttribute
 *
 *
 * Java class for Calculation complex type.
 *
 * The following schema fragment specifies the expected content contained within this class.
 *
 * 
 * <complexType name="Calculation">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="formula" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}Expression"/>
 *       </sequence>
 *       <attribute name="datatype" type="{http://www.sap.com/ndb/SQLCoreModelDataTypes.ecore}PrimitiveTypeSQL" />
 *       <attribute name="length" type="{http://www.w3.org/2001/XMLSchema}short" />
 *       <attribute name="scale" type="{http://www.w3.org/2001/XMLSchema}short" />
 *       <attribute name="expressionLanguage" type="{http://www.sap.com/ndb/DataModelType.ecore}ExpressionLanguage" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Calculation", propOrder = { "formula" }) public class Calculation { /** The formula. */ @XmlElement(required = true) protected String formula; /** The datatype. */ @XmlAttribute(name = "datatype") protected PrimitiveTypeSQL datatype; /** The length. */ @XmlAttribute(name = "length") protected Short length; /** The scale. */ @XmlAttribute(name = "scale") protected Short scale; /** The expression language. */ @XmlAttribute(name = "expressionLanguage") protected ExpressionLanguage expressionLanguage; /** * Gets the value of the formula property. * * @return possible object is * {@link String } */ public String getFormula() { return formula; } /** * Sets the value of the formula property. * * @param value allowed object is * {@link String } */ public void setFormula(String value) { this.formula = value; } /** * Gets the value of the datatype property. * * @return possible object is * {@link PrimitiveTypeSQL } */ public PrimitiveTypeSQL getDatatype() { return datatype; } /** * Sets the value of the datatype property. * * @param value allowed object is * {@link PrimitiveTypeSQL } */ public void setDatatype(PrimitiveTypeSQL value) { this.datatype = value; } /** * Gets the value of the length property. * * @return possible object is * {@link Short } */ public Short getLength() { return length; } /** * Sets the value of the length property. * * @param value allowed object is * {@link Short } */ public void setLength(Short value) { this.length = value; } /** * Gets the value of the scale property. * * @return possible object is * {@link Short } */ public Short getScale() { return scale; } /** * Sets the value of the scale property. * * @param value allowed object is * {@link Short } */ public void setScale(Short value) { this.scale = value; } /** * Gets the value of the expressionLanguage property. * * @return possible object is * {@link ExpressionLanguage } */ public ExpressionLanguage getExpressionLanguage() { return expressionLanguage; } /** * Sets the value of the expressionLanguage property. * * @param value allowed object is * {@link ExpressionLanguage } */ public void setExpressionLanguage(ExpressionLanguage value) { this.expressionLanguage = value; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy