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

org.openforis.collect.mondrian.SharedDimension 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;


/**
 * 
 *                 Shared dimensions in this schema.
 *                 A Dimension is a collection of hierarchies. There are two kinds: a public
 *                 dimension belongs to a Schema, and be used by several cubes;
 *                 a private dimension belongs to a Cube.
 *                 The foreignKey field is only applicable to private dimensions. 
 *             
 * 
 * 

Java class for SharedDimension complex type. * *

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

 * <complexType name="SharedDimension">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Annotations" type="{}Annotations" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="Hierarchy" type="{}Hierarchy" maxOccurs="unbounded"/>
 *       </sequence>
 *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="type" default="Standard">
 *         <simpleType>
 *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *             <enumeration value="Standard"/>
 *             <enumeration value="TimeDimension"/>
 *           </restriction>
 *         </simpleType>
 *       </attribute>
 *       <attribute name="caption" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "SharedDimension", propOrder = { "annotations", "hierarchy" }) public class SharedDimension { @XmlElement(name = "Annotations") protected List annotations; @XmlElement(name = "Hierarchy", required = true) protected List hierarchy; @XmlAttribute(name = "name", required = true) protected String name; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "caption") protected String caption; @XmlAttribute(name = "description") protected String description; /** * 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 hierarchy 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 hierarchy property. * *

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

     *    getHierarchy().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Hierarchy } * * */ public List getHierarchy() { if (hierarchy == null) { hierarchy = new ArrayList(); } return this.hierarchy; } /** * 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "Standard"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the caption property. * * @return * possible object is * {@link String } * */ public String getCaption() { return caption; } /** * Sets the value of the caption property. * * @param value * allowed object is * {@link String } * */ public void setCaption(String value) { this.caption = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy