org.openforis.collect.mondrian.CalculatedMember Maven / Gradle / Ivy
//
// 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;
/**
* Java class for CalculatedMember complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CalculatedMember">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Annotations" type="{}Annotations" minOccurs="0"/>
* <element name="Formula" type="{http://www.w3.org/2001/XMLSchema}anyType" minOccurs="0"/>
* <element name="CalculatedMemberProperty" type="{}CalculatedMemberProperty" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="formatString" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="caption" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="dimension" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CalculatedMember", propOrder = {
"annotations",
"formula",
"calculatedMemberProperty"
})
public class CalculatedMember {
@XmlElement(name = "Annotations")
protected Annotations annotations;
@XmlElement(name = "Formula")
protected Object formula;
@XmlElement(name = "CalculatedMemberProperty")
protected List calculatedMemberProperty;
@XmlAttribute(name = "name", required = true)
protected String name;
@XmlAttribute(name = "formatString")
protected String formatString;
@XmlAttribute(name = "caption")
protected String caption;
@XmlAttribute(name = "description")
protected String description;
@XmlAttribute(name = "dimension", required = true)
protected String dimension;
@XmlAttribute(name = "visible")
protected Boolean visible;
/**
* Gets the value of the annotations property.
*
* @return
* possible object is
* {@link Annotations }
*
*/
public Annotations getAnnotations() {
return annotations;
}
/**
* Sets the value of the annotations property.
*
* @param value
* allowed object is
* {@link Annotations }
*
*/
public void setAnnotations(Annotations value) {
this.annotations = value;
}
/**
* Gets the value of the formula property.
*
* @return
* possible object is
* {@link Object }
*
*/
public Object getFormula() {
return formula;
}
/**
* Sets the value of the formula property.
*
* @param value
* allowed object is
* {@link Object }
*
*/
public void setFormula(Object value) {
this.formula = value;
}
/**
* Gets the value of the calculatedMemberProperty 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 calculatedMemberProperty property.
*
*
* For example, to add a new item, do as follows:
*
* getCalculatedMemberProperty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CalculatedMemberProperty }
*
*
*/
public List getCalculatedMemberProperty() {
if (calculatedMemberProperty == null) {
calculatedMemberProperty = new ArrayList();
}
return this.calculatedMemberProperty;
}
/**
* 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 formatString property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormatString() {
return formatString;
}
/**
* Sets the value of the formatString property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormatString(String value) {
this.formatString = 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;
}
/**
* Gets the value of the dimension property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDimension() {
return dimension;
}
/**
* Sets the value of the dimension property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDimension(String value) {
this.dimension = value;
}
/**
* Gets the value of the visible property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean isVisible() {
if (visible == null) {
return true;
} else {
return visible;
}
}
/**
* Sets the value of the visible property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setVisible(Boolean value) {
this.visible = value;
}
}