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 Details

    • 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
  • Constructor Details

    • Measure

      public Measure()
  • Method Details

    • 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 is Annotations
    • 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 is ExpressionView
    • 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 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 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • 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 is String
    • isVisible

      public boolean isVisible()
      Gets the value of the visible property.
      Returns:
      possible object is Boolean
    • setVisible

      public void setVisible(Boolean value)
      Sets the value of the visible property.
      Parameters:
      value - allowed object is Boolean