Class Schema.Role

java.lang.Object
org.openforis.collect.mondrian.Schema.Role
Enclosing class:
Schema

public static class Schema.Role 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="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>
 
  • Field Details

  • Constructor Details

    • Role

      public Role()
  • 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
    • getSchemaGrant

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

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

          getSchemaGrant().add(newItem);
       

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

    • getUnion

      public Schema.Role.Union getUnion()
      Gets the value of the union property.
      Returns:
      possible object is Schema.Role.Union
    • setUnion

      public void setUnion(Schema.Role.Union value)
      Sets the value of the union property.
      Parameters:
      value - allowed object is Schema.Role.Union
    • 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