com.codbex.kronos.parser.hdbcalculationview.ndb.bimodeldatafoundation.AttributeRelationship 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.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
/**
* Java class for AttributeRelationship complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AttributeRelationship">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="parentAttribute" use="required" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}BIName" />
* <attribute name="type" type="{http://www.sap.com/ndb/BiModelDataFoundation.ecore}AttributeRelationshipType" default="manual" />
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AttributeRelationship")
public class AttributeRelationship {
/** The parent attribute. */
@XmlAttribute(name = "parentAttribute", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
protected String parentAttribute;
/** The type. */
@XmlAttribute(name = "type")
protected AttributeRelationshipType type;
/**
* Gets the value of the parentAttribute property.
*
* @return possible object is
* {@link String }
*/
public String getParentAttribute() {
return parentAttribute;
}
/**
* Sets the value of the parentAttribute property.
*
* @param value allowed object is
* {@link String }
*/
public void setParentAttribute(String value) {
this.parentAttribute = value;
}
/**
* Gets the value of the type property.
*
* @return possible object is
* {@link AttributeRelationshipType }
*/
public AttributeRelationshipType getType() {
if (type == null) {
return AttributeRelationshipType.MANUAL;
} else {
return type;
}
}
/**
* Sets the value of the type property.
*
* @param value allowed object is
* {@link AttributeRelationshipType }
*/
public void setType(AttributeRelationshipType value) {
this.type = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy