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

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

import java.util.ArrayList;
import java.util.List;
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.bimodelconversion.Parameterization;
import com.codbex.kronos.parser.hdbcalculationview.ndb.datamodelfilter.DefaultRange;
import com.codbex.kronos.parser.hdbcalculationview.ndb.datamodeltype.ExpressionLanguage;
import com.codbex.kronos.parser.hdbcalculationview.ndb.datamodeltype.InternalExternalConversion;
import com.codbex.kronos.parser.hdbcalculationview.ndb.sqlcoremodeldatatypes.PrimitiveTypeSQL;


/**
 * Common set of variable properties to be used with global and local variables
 *
 *
 * Java class for VariableProperties complex type.
 *
 * The following schema fragment specifies the expected content contained within this class.
 *
 * 
 * <complexType name="VariableProperties">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="valueDomain" type="{http://www.sap.com/ndb/BiModelVariable.ecore}ValueDomain" minOccurs="0"/>
 *         <element name="selection" type="{http://www.sap.com/ndb/BiModelVariable.ecore}Selection" minOccurs="0"/>
 *         <element name="derivationRule" type="{http://www.sap.com/ndb/BiModelVariable.ecore}DerivationRule" minOccurs="0"/>
 *         <element name="defaultExpression" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}Expression"/>
 *         <element name="defaultRange" type="{http://www.sap.com/ndb/DataModelFilter.ecore}DefaultRange" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="internalExternalConversion" type="{http://www.sap.com/ndb/DataModelType.ecore}InternalExternalConversion" minOccurs="0"/>
 *         <element name="fuzzySimilarity" type="{http://www.sap.com/ndb/BiModelConversion.ecore}Parameterization"/>
 *       </sequence>
 *       <attribute name="defaultExpressionLanguage" type="{http://www.sap.com/ndb/DataModelType.ecore}ExpressionLanguage" />
 *       <attribute name="mandatory" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *       <attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <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" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "VariableProperties", propOrder = { "valueDomain", "selection", "derivationRule", "defaultExpression", "defaultRange", "internalExternalConversion", "fuzzySimilarity" }) public class VariableProperties { /** The value domain. */ protected ValueDomain valueDomain; /** The selection. */ protected Selection selection; /** The derivation rule. */ protected DerivationRule derivationRule; /** The default expression. */ @XmlElement(required = true) protected String defaultExpression; /** The default range. */ protected List defaultRange; /** The internal external conversion. */ protected InternalExternalConversion internalExternalConversion; /** The fuzzy similarity. */ @XmlElement(required = true) protected Parameterization fuzzySimilarity; /** The default expression language. */ @XmlAttribute(name = "defaultExpressionLanguage") protected ExpressionLanguage defaultExpressionLanguage; /** The mandatory. */ @XmlAttribute(name = "mandatory", required = true) protected boolean mandatory; /** The default value. */ @XmlAttribute(name = "defaultValue") protected String defaultValue; /** The datatype. */ @XmlAttribute(name = "datatype") protected PrimitiveTypeSQL datatype; /** The length. */ @XmlAttribute(name = "length") protected Short length; /** The scale. */ @XmlAttribute(name = "scale") protected Short scale; /** * Gets the value of the valueDomain property. * * @return possible object is * {@link ValueDomain } */ public ValueDomain getValueDomain() { return valueDomain; } /** * Sets the value of the valueDomain property. * * @param value allowed object is * {@link ValueDomain } */ public void setValueDomain(ValueDomain value) { this.valueDomain = value; } /** * Gets the value of the selection property. * * @return possible object is * {@link Selection } */ public Selection getSelection() { return selection; } /** * Sets the value of the selection property. * * @param value allowed object is * {@link Selection } */ public void setSelection(Selection value) { this.selection = value; } /** * Gets the value of the derivationRule property. * * @return possible object is * {@link DerivationRule } */ public DerivationRule getDerivationRule() { return derivationRule; } /** * Sets the value of the derivationRule property. * * @param value allowed object is * {@link DerivationRule } */ public void setDerivationRule(DerivationRule value) { this.derivationRule = value; } /** * Gets the value of the defaultExpression property. * * @return possible object is * {@link String } */ public String getDefaultExpression() { return defaultExpression; } /** * Sets the value of the defaultExpression property. * * @param value allowed object is * {@link String } */ public void setDefaultExpression(String value) { this.defaultExpression = value; } /** * Gets the value of the defaultRange property. * * * This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the defaultRange property. * * * For example, to add a new item, do as follows: *
   *    getDefaultRange().add(newItem);
   * 
* * * * Objects of the following type(s) are allowed in the list * {@link DefaultRange } * * @return the default range */ public List getDefaultRange() { if (defaultRange == null) { defaultRange = new ArrayList(); } return this.defaultRange; } /** * Gets the value of the internalExternalConversion property. * * @return possible object is * {@link InternalExternalConversion } */ public InternalExternalConversion getInternalExternalConversion() { return internalExternalConversion; } /** * Sets the value of the internalExternalConversion property. * * @param value allowed object is * {@link InternalExternalConversion } */ public void setInternalExternalConversion(InternalExternalConversion value) { this.internalExternalConversion = value; } /** * Gets the value of the fuzzySimilarity property. * * @return possible object is * {@link Parameterization } */ public Parameterization getFuzzySimilarity() { return fuzzySimilarity; } /** * Sets the value of the fuzzySimilarity property. * * @param value allowed object is * {@link Parameterization } */ public void setFuzzySimilarity(Parameterization value) { this.fuzzySimilarity = value; } /** * Gets the value of the defaultExpressionLanguage property. * * @return possible object is * {@link ExpressionLanguage } */ public ExpressionLanguage getDefaultExpressionLanguage() { return defaultExpressionLanguage; } /** * Sets the value of the defaultExpressionLanguage property. * * @param value allowed object is * {@link ExpressionLanguage } */ public void setDefaultExpressionLanguage(ExpressionLanguage value) { this.defaultExpressionLanguage = value; } /** * Gets the value of the mandatory property. * * @return true, if is mandatory */ public boolean isMandatory() { return mandatory; } /** * Sets the value of the mandatory property. * * @param value the new mandatory */ public void setMandatory(boolean value) { this.mandatory = value; } /** * Gets the value of the defaultValue property. * * @return possible object is * {@link String } */ public String getDefaultValue() { return defaultValue; } /** * Sets the value of the defaultValue property. * * @param value allowed object is * {@link String } */ public void setDefaultValue(String value) { this.defaultValue = 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; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy