Class Schema

java.lang.Object
org.openforis.collect.mondrian.Schema

public class Schema 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="Parameter" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="type" use="required">
                   <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"/>
                       <enumeration value="Member"/>
                     </restriction>
                   </simpleType>
                 </attribute>
                 <attribute name="modifiable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 <attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="Dimension" type="{}SharedDimension" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Cube" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Annotations" type="{}Annotations" minOccurs="0"/>
                   <group ref="{}FactTable"/>
                   <choice maxOccurs="unbounded">
                     <element name="DimensionUsage" type="{}DimensionUsage"/>
                     <element name="Dimension" type="{}PrivateDimension"/>
                   </choice>
                   <element name="Measure" maxOccurs="unbounded">
                     <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>
                   </element>
                   <element name="CalculatedMember" type="{}CalculatedMember" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="NamedSet" type="{}NamedSet" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="name" use="required" 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="defaultMeasure" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="cache" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 <attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="VirtualCube" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Annotations" type="{}Annotations" minOccurs="0"/>
                   <element name="CubeUsages">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="CubeUsage" maxOccurs="unbounded">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <attribute name="cubeName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                     <attribute name="ignoreUnrelatedDimensions" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="VirtualCubeDimension" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="cubeName" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="VirtualCubeMeasure" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="Annotations" type="{}Annotations" minOccurs="0"/>
                           </sequence>
                           <attribute name="cubeName" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="name" 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>
                   </element>
                   <element name="CalculatedMember" type="{}CalculatedMember" maxOccurs="unbounded" minOccurs="0"/>
                   <element name="NamedSet" type="{}NamedSet" maxOccurs="unbounded" minOccurs="0"/>
                 </sequence>
                 <attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="defaultMeasure" 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" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="NamedSet" type="{}NamedSet" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Role" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="Annotations" type="{}Annotations" minOccurs="0"/>
                   <element name="SchemaGrant" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="CubeGrant" maxOccurs="unbounded">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <sequence>
                                       <element name="DimensionGrant" maxOccurs="unbounded" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                               <attribute name="dimension" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                               <attribute name="access" use="required">
                                                 <simpleType>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                     <enumeration value="all"/>
                                                     <enumeration value="none"/>
                                                   </restriction>
                                                 </simpleType>
                                               </attribute>
                                             </restriction>
                                           </complexContent>
                                         </complexType>
                                       </element>
                                       <element name="HierarchyGrant" maxOccurs="unbounded" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                             <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                               <sequence>
                                                 <element name="MemberGrant" maxOccurs="unbounded" minOccurs="0">
                                                   <complexType>
                                                     <complexContent>
                                                       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                                         <attribute name="member" type="{http://www.w3.org/2001/XMLSchema}string" />
                                                         <attribute name="access" use="required">
                                                           <simpleType>
                                                             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                               <enumeration value="all"/>
                                                               <enumeration value="none"/>
                                                             </restriction>
                                                           </simpleType>
                                                         </attribute>
                                                       </restriction>
                                                     </complexContent>
                                                   </complexType>
                                                 </element>
                                               </sequence>
                                               <attribute name="hierarchy" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                               <attribute name="access" use="required">
                                                 <simpleType>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                     <enumeration value="all"/>
                                                     <enumeration value="none"/>
                                                   </restriction>
                                                 </simpleType>
                                               </attribute>
                                               <attribute name="topLevel" type="{http://www.w3.org/2001/XMLSchema}string" />
                                               <attribute name="bottomLevel" type="{http://www.w3.org/2001/XMLSchema}string" />
                                               <attribute name="rollupPolicy" default="full">
                                                 <simpleType>
                                                   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                                     <enumeration value="full"/>
                                                     <enumeration value="partial"/>
                                                     <enumeration value="hidden"/>
                                                   </restriction>
                                                 </simpleType>
                                               </attribute>
                                             </restriction>
                                           </complexContent>
                                         </complexType>
                                       </element>
                                     </sequence>
                                     <attribute name="cube" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                                     <attribute name="access" use="required">
                                       <simpleType>
                                         <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                           <enumeration value="all"/>
                                           <enumeration value="none"/>
                                         </restriction>
                                       </simpleType>
                                     </attribute>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                           <attribute name="access" use="required">
                             <simpleType>
                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                 <enumeration value="all"/>
                                 <enumeration value="none"/>
                               </restriction>
                             </simpleType>
                           </attribute>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="Union">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="RoleUsage" maxOccurs="unbounded">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <attribute name="roleName" type="{http://www.w3.org/2001/XMLSchema}string" />
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="UserDefinedFunction" maxOccurs="unbounded" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="className" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="measuresCaption" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="defaultRole" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

  • Constructor Details

    • Schema

      public Schema()
  • 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
    • getParameter

      public List<Schema.Parameter> getParameter()
      Gets the value of the parameter 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 parameter property.

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

          getParameter().add(newItem);
       

      Objects of the following type(s) are allowed in the list Schema.Parameter

    • getDimension

      public List<SharedDimension> getDimension()
      Gets the value of the dimension 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 dimension property.

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

          getDimension().add(newItem);
       

      Objects of the following type(s) are allowed in the list SharedDimension

    • getCube

      public List<Schema.Cube> getCube()
      Gets the value of the cube 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 cube property.

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

          getCube().add(newItem);
       

      Objects of the following type(s) are allowed in the list Schema.Cube

    • getVirtualCube

      public List<Schema.VirtualCube> getVirtualCube()
      Gets the value of the virtualCube 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 virtualCube property.

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

          getVirtualCube().add(newItem);
       

      Objects of the following type(s) are allowed in the list Schema.VirtualCube

    • getNamedSet

      public List<NamedSet> getNamedSet()
      Gets the value of the namedSet 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 namedSet property.

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

          getNamedSet().add(newItem);
       

      Objects of the following type(s) are allowed in the list NamedSet

    • getRole

      public List<Schema.Role> getRole()
      Gets the value of the role 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 role property.

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

          getRole().add(newItem);
       

      Objects of the following type(s) are allowed in the list Schema.Role

    • getUserDefinedFunction

      public List<Schema.UserDefinedFunction> getUserDefinedFunction()
      Gets the value of the userDefinedFunction 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 userDefinedFunction property.

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

          getUserDefinedFunction().add(newItem);
       

      Objects of the following type(s) are allowed in the list Schema.UserDefinedFunction

    • 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
    • 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
    • getMeasuresCaption

      public String getMeasuresCaption()
      Gets the value of the measuresCaption property.
      Returns:
      possible object is String
    • setMeasuresCaption

      public void setMeasuresCaption(String value)
      Sets the value of the measuresCaption property.
      Parameters:
      value - allowed object is String
    • getDefaultRole

      public String getDefaultRole()
      Gets the value of the defaultRole property.
      Returns:
      possible object is String
    • setDefaultRole

      public void setDefaultRole(String value)
      Sets the value of the defaultRole property.
      Parameters:
      value - allowed object is String