com.codbex.kronos.parser.hdbcalculationview.ndb.bimodelcalculation.RestrictedViewAttribute 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.bimodelcalculation;
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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.codbex.kronos.parser.hdbcalculationview.ndb.bimodelprivilege.Restriction;
import com.codbex.kronos.parser.hdbcalculationview.ndb.datamodeltype.ExpressionLanguage;
/**
* Java class for RestrictedViewAttribute complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RestrictedViewAttribute">
* <complexContent>
* <extension base="{http://www.sap.com/ndb/BiModelCalculation.ecore}ViewAttribute">
* <choice>
* <element name="restriction" type="{http://www.sap.com/ndb/BiModelPrivilege.ecore}Restriction" maxOccurs="unbounded"/>
* <element name="restrictionExpression" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}Expression"/>
* </choice>
* <attribute name="restrictionExpressionLanguage" type="{http://www.sap.com/ndb/DataModelType.ecore}ExpressionLanguage" />
* <attribute name="baseViewAttribute" use="required" type="{http://www.sap.com/ndb/RepositoryModelResource.ecore}AlphanumericName" />
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RestrictedViewAttribute", propOrder = {
"restriction",
"restrictionExpression"
})
public class RestrictedViewAttribute
extends ViewAttribute {
/** The restriction. */
protected List restriction;
/** The restriction expression. */
protected String restrictionExpression;
/** The restriction expression language. */
@XmlAttribute(name = "restrictionExpressionLanguage")
protected ExpressionLanguage restrictionExpressionLanguage;
/** The base view attribute. */
@XmlAttribute(name = "baseViewAttribute", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String baseViewAttribute;
/**
* Gets the value of the restriction 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 restriction property.
*
*
* For example, to add a new item, do as follows:
*
* getRestriction().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Restriction }
*
* @return the restriction
*/
public List getRestriction() {
if (restriction == null) {
restriction = new ArrayList();
}
return this.restriction;
}
/**
* Gets the value of the restrictionExpression property.
*
* @return possible object is
* {@link String }
*/
public String getRestrictionExpression() {
return restrictionExpression;
}
/**
* Sets the value of the restrictionExpression property.
*
* @param value allowed object is
* {@link String }
*/
public void setRestrictionExpression(String value) {
this.restrictionExpression = value;
}
/**
* Gets the value of the restrictionExpressionLanguage property.
*
* @return possible object is
* {@link ExpressionLanguage }
*/
public ExpressionLanguage getRestrictionExpressionLanguage() {
return restrictionExpressionLanguage;
}
/**
* Sets the value of the restrictionExpressionLanguage property.
*
* @param value allowed object is
* {@link ExpressionLanguage }
*/
public void setRestrictionExpressionLanguage(ExpressionLanguage value) {
this.restrictionExpressionLanguage = value;
}
/**
* Gets the value of the baseViewAttribute property.
*
* @return possible object is
* {@link String }
*/
public String getBaseViewAttribute() {
return baseViewAttribute;
}
/**
* Sets the value of the baseViewAttribute property.
*
* @param value allowed object is
* {@link String }
*/
public void setBaseViewAttribute(String value) {
this.baseViewAttribute = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy