Package org.openforis.collect.mondrian
Class Schema.Cube.Measure
- java.lang.Object
-
- org.openforis.collect.mondrian.Schema.Cube.Measure
-
- Enclosing class:
- Schema.Cube
public static class Schema.Cube.Measure extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="Annotations" type="{}Annotations" minOccurs="0"/> <element name="MeasureExpression" type="{}ExpressionView" 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="column" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="datatype"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="String"/> <enumeration value="Numeric"/> <enumeration value="Integer"/> <enumeration value="Boolean"/> <enumeration value="Date"/> <enumeration value="Time"/> <enumeration value="Timestamp"/> </restriction> </simpleType> </attribute> <attribute name="formatString" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="aggregator" use="required"> <simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="sum"/> <enumeration value="count"/> <enumeration value="min"/> <enumeration value="max"/> <enumeration value="avg"/> <enumeration value="distinct-count"/> </restriction> </simpleType> </attribute> <attribute name="formatter" 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="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaggregatorprotected Annotationsannotationsprotected List<CalculatedMemberProperty>calculatedMemberPropertyprotected Stringcaptionprotected Stringcolumnprotected Stringdatatypeprotected Stringdescriptionprotected StringformatStringprotected Stringformatterprotected ExpressionViewmeasureExpressionprotected Stringnameprotected Booleanvisible
-
Constructor Summary
Constructors Constructor Description Measure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAggregator()Gets the value of the aggregator property.AnnotationsgetAnnotations()Gets the value of the annotations property.List<CalculatedMemberProperty>getCalculatedMemberProperty()Gets the value of the calculatedMemberProperty property.StringgetCaption()Gets the value of the caption property.StringgetColumn()Gets the value of the column property.StringgetDatatype()Gets the value of the datatype property.StringgetDescription()Gets the value of the description property.StringgetFormatString()Gets the value of the formatString property.StringgetFormatter()Gets the value of the formatter property.ExpressionViewgetMeasureExpression()Gets the value of the measureExpression property.StringgetName()Gets the value of the name property.booleanisVisible()Gets the value of the visible property.voidsetAggregator(String value)Sets the value of the aggregator property.voidsetAnnotations(Annotations value)Sets the value of the annotations property.voidsetCaption(String value)Sets the value of the caption property.voidsetColumn(String value)Sets the value of the column property.voidsetDatatype(String value)Sets the value of the datatype property.voidsetDescription(String value)Sets the value of the description property.voidsetFormatString(String value)Sets the value of the formatString property.voidsetFormatter(String value)Sets the value of the formatter property.voidsetMeasureExpression(ExpressionView value)Sets the value of the measureExpression property.voidsetName(String value)Sets the value of the name property.voidsetVisible(Boolean value)Sets the value of the visible property.
-
-
-
Field Detail
-
annotations
protected Annotations annotations
-
measureExpression
protected ExpressionView measureExpression
-
calculatedMemberProperty
protected List<CalculatedMemberProperty> calculatedMemberProperty
-
name
protected String name
-
column
protected String column
-
datatype
protected String datatype
-
formatString
protected String formatString
-
aggregator
protected String aggregator
-
formatter
protected String formatter
-
caption
protected String caption
-
description
protected String description
-
visible
protected Boolean visible
-
-
Method Detail
-
getAnnotations
public Annotations getAnnotations()
Gets the value of the annotations property.- Returns:
- possible object is
Annotations
-
setAnnotations
public void setAnnotations(Annotations value)
Sets the value of the annotations property.- Parameters:
value- allowed object isAnnotations
-
getMeasureExpression
public ExpressionView getMeasureExpression()
Gets the value of the measureExpression property.- Returns:
- possible object is
ExpressionView
-
setMeasureExpression
public void setMeasureExpression(ExpressionView value)
Sets the value of the measureExpression property.- Parameters:
value- allowed object isExpressionView
-
getCalculatedMemberProperty
public List<CalculatedMemberProperty> getCalculatedMemberProperty()
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
setmethod 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
CalculatedMemberProperty
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getColumn
public String getColumn()
Gets the value of the column property.- Returns:
- possible object is
String
-
setColumn
public void setColumn(String value)
Sets the value of the column property.- Parameters:
value- allowed object isString
-
getDatatype
public String getDatatype()
Gets the value of the datatype property.- Returns:
- possible object is
String
-
setDatatype
public void setDatatype(String value)
Sets the value of the datatype property.- Parameters:
value- allowed object isString
-
getFormatString
public String getFormatString()
Gets the value of the formatString property.- Returns:
- possible object is
String
-
setFormatString
public void setFormatString(String value)
Sets the value of the formatString property.- Parameters:
value- allowed object isString
-
getAggregator
public String getAggregator()
Gets the value of the aggregator property.- Returns:
- possible object is
String
-
setAggregator
public void setAggregator(String value)
Sets the value of the aggregator property.- Parameters:
value- allowed object isString
-
getFormatter
public String getFormatter()
Gets the value of the formatter property.- Returns:
- possible object is
String
-
setFormatter
public void setFormatter(String value)
Sets the value of the formatter property.- Parameters:
value- allowed object isString
-
getCaption
public String getCaption()
Gets the value of the caption property.- Returns:
- possible object is
String
-
setCaption
public void setCaption(String value)
Sets the value of the caption property.- Parameters:
value- allowed object isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
isVisible
public boolean isVisible()
Gets the value of the visible property.- Returns:
- possible object is
Boolean
-
-