Package org.openforis.collect.mondrian
Class Schema.Cube.Measure
java.lang.Object
org.openforis.collect.mondrian.Schema.Cube.Measure
- Enclosing class:
Schema.Cube
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
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Annotationsprotected List<CalculatedMemberProperty> protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected ExpressionViewprotected Stringprotected Boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the aggregator property.Gets the value of the annotations property.Gets the value of the calculatedMemberProperty property.Gets the value of the caption property.Gets the value of the column property.Gets the value of the datatype property.Gets the value of the description property.Gets the value of the formatString property.Gets the value of the formatter property.Gets the value of the measureExpression property.getName()Gets the value of the name property.booleanGets 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.voidSets 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.voidSets the value of the measureExpression property.voidSets the value of the name property.voidsetVisible(Boolean value) Sets the value of the visible property.
-
Field Details
-
annotations
-
measureExpression
-
calculatedMemberProperty
-
name
-
column
-
datatype
-
formatString
-
aggregator
-
formatter
-
caption
-
description
-
visible
-
-
Constructor Details
-
Measure
public Measure()
-
-
Method Details
-
getAnnotations
Gets the value of the annotations property.- Returns:
- possible object is
Annotations
-
setAnnotations
Sets the value of the annotations property.- Parameters:
value- allowed object isAnnotations
-
getMeasureExpression
Gets the value of the measureExpression property.- Returns:
- possible object is
ExpressionView
-
setMeasureExpression
Sets the value of the measureExpression property.- Parameters:
value- allowed object isExpressionView
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getColumn
Gets the value of the column property.- Returns:
- possible object is
String
-
setColumn
Sets the value of the column property.- Parameters:
value- allowed object isString
-
getDatatype
Gets the value of the datatype property.- Returns:
- possible object is
String
-
setDatatype
Sets the value of the datatype property.- Parameters:
value- allowed object isString
-
getFormatString
Gets the value of the formatString property.- Returns:
- possible object is
String
-
setFormatString
Sets the value of the formatString property.- Parameters:
value- allowed object isString
-
getAggregator
Gets the value of the aggregator property.- Returns:
- possible object is
String
-
setAggregator
Sets the value of the aggregator property.- Parameters:
value- allowed object isString
-
getFormatter
Gets the value of the formatter property.- Returns:
- possible object is
String
-
setFormatter
Sets the value of the formatter property.- Parameters:
value- allowed object isString
-
getCaption
Gets the value of the caption property.- Returns:
- possible object is
String
-
setCaption
Sets the value of the caption property.- Parameters:
value- allowed object isString
-
getDescription
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
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
-
setVisible
Sets the value of the visible property.- Parameters:
value- allowed object isBoolean
-