com.codbex.kronos.parser.hdbcalculationview.ndb.repositorymodelresource.ResourceObject 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.repositorymodelresource;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
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.Descriptions;
import com.codbex.kronos.parser.hdbcalculationview.ndb.bimodeldatafoundation.BIResource;
/**
* Father object for EMF resources stored in the HANA repository
*
* Java class for ResourceObject complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ResourceObject">
* <complexContent>
* <extension base="{http://www.sap.com/ndb/RepositoryModelResource.ecore}AbstractRepositoryObject">
* <sequence>
* <element name="descriptions" type="{http://www.sap.com/ndb/BaseModelBase.ecore}Descriptions" minOccurs="0"/>
* <element name="metadata" type="{http://www.sap.com/ndb/RepositoryModelResource.ecore}ResourceMetadata" minOccurs="0"/>
* <element name="requiredResources" type="{http://www.sap.com/ndb/RepositoryModelResource.ecore}RepositoryUri" maxOccurs="unbounded" minOccurs="0"/>
* <element name="requiredSQLObjects" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.sap.com/ndb/RepositoryModelResource.ecore}AlphanumericName" />
* <attribute name="deprecated" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </extension>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ResourceObject", propOrder = {
"descriptions",
"metadata",
"requiredResources",
"requiredSQLObjects"
})
@XmlSeeAlso({
BIResource.class
})
public abstract class ResourceObject
extends AbstractRepositoryObject {
/** The descriptions. */
protected Descriptions descriptions;
/** The metadata. */
protected ResourceMetadata metadata;
/** The required resources. */
@XmlElement(nillable = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "token")
protected List requiredResources;
/** The required SQL objects. */
@XmlSchemaType(name = "anyURI")
protected List requiredSQLObjects;
/** The id. */
@XmlAttribute(name = "id")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String id;
/** The deprecated. */
@XmlAttribute(name = "deprecated")
protected Boolean deprecated;
/**
* Gets the value of the descriptions property.
*
* @return possible object is
* {@link Descriptions }
*/
public Descriptions getDescriptions() {
return descriptions;
}
/**
* Sets the value of the descriptions property.
*
* @param value allowed object is
* {@link Descriptions }
*/
public void setDescriptions(Descriptions value) {
this.descriptions = value;
}
/**
* Gets the value of the metadata property.
*
* @return possible object is
* {@link ResourceMetadata }
*/
public ResourceMetadata getMetadata() {
return metadata;
}
/**
* Sets the value of the metadata property.
*
* @param value allowed object is
* {@link ResourceMetadata }
*/
public void setMetadata(ResourceMetadata value) {
this.metadata = value;
}
/**
* Gets the value of the requiredResources 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 requiredResources property.
*
*
* For example, to add a new item, do as follows:
*
* getRequiredResources().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
* @return the required resources
*/
public List getRequiredResources() {
if (requiredResources == null) {
requiredResources = new ArrayList();
}
return this.requiredResources;
}
/**
* Gets the value of the requiredSQLObjects 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 requiredSQLObjects property.
*
*
* For example, to add a new item, do as follows:
*
* getRequiredSQLObjects().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
* @return the required SQL objects
*/
public List getRequiredSQLObjects() {
if (requiredSQLObjects == null) {
requiredSQLObjects = new ArrayList();
}
return this.requiredSQLObjects;
}
/**
* Gets the value of the id property.
*
* @return possible object is
* {@link String }
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value allowed object is
* {@link String }
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the deprecated property.
*
* @return possible object is
* {@link Boolean }
*/
public Boolean isDeprecated() {
return deprecated;
}
/**
* Sets the value of the deprecated property.
*
* @param value allowed object is
* {@link Boolean }
*/
public void setDeprecated(Boolean value) {
this.deprecated = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy