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

org.openforis.collect.mondrian.DimensionUsage Maven / Gradle / Ivy

There is a newer version: 4.0.97
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.06.26 at 10:48:45 AM CEST 
//


package org.openforis.collect.mondrian;

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;


/**
 * 
 *                 A DimensionUsage is usage of a shared Dimension within the context of a cube.
 *             
 * 
 * 

Java class for DimensionUsage complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="DimensionUsage">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Annotations" type="{}Annotations" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="usagePrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="foreignKey" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="highCardinality" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "DimensionUsage", propOrder = { "annotations" }) public class DimensionUsage { @XmlElement(name = "Annotations") protected List annotations; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "source", required = true) protected String source; @XmlAttribute(name = "level") protected String level; @XmlAttribute(name = "usagePrefix") protected String usagePrefix; @XmlAttribute(name = "foreignKey") protected String foreignKey; @XmlAttribute(name = "highCardinality") protected Boolean highCardinality; /** * Gets the value of the annotations 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 annotations property. * *

* For example, to add a new item, do as follows: *

     *    getAnnotations().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Annotations } * * */ public List getAnnotations() { if (annotations == null) { annotations = new ArrayList(); } return this.annotations; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the source property. * * @return * possible object is * {@link String } * */ public String getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link String } * */ public void setSource(String value) { this.source = value; } /** * Gets the value of the level property. * * @return * possible object is * {@link String } * */ public String getLevel() { return level; } /** * Sets the value of the level property. * * @param value * allowed object is * {@link String } * */ public void setLevel(String value) { this.level = value; } /** * Gets the value of the usagePrefix property. * * @return * possible object is * {@link String } * */ public String getUsagePrefix() { return usagePrefix; } /** * Sets the value of the usagePrefix property. * * @param value * allowed object is * {@link String } * */ public void setUsagePrefix(String value) { this.usagePrefix = value; } /** * Gets the value of the foreignKey property. * * @return * possible object is * {@link String } * */ public String getForeignKey() { return foreignKey; } /** * Sets the value of the foreignKey property. * * @param value * allowed object is * {@link String } * */ public void setForeignKey(String value) { this.foreignKey = value; } /** * Gets the value of the highCardinality property. * * @return * possible object is * {@link Boolean } * */ public boolean isHighCardinality() { if (highCardinality == null) { return false; } else { return highCardinality; } } /** * Sets the value of the highCardinality property. * * @param value * allowed object is * {@link Boolean } * */ public void setHighCardinality(Boolean value) { this.highCardinality = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy