Package org.openforis.collect.mondrian
Class Schema.Role
java.lang.Object
org.openforis.collect.mondrian.Schema.Role
- Enclosing class:
Schema
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.static classJava class for anonymous complex type. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Annotationsprotected Stringprotected List<Schema.Role.SchemaGrant> protected Schema.Role.Union -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the annotations property.getName()Gets the value of the name property.Gets the value of the schemaGrant property.getUnion()Gets the value of the union property.voidsetAnnotations(Annotations value) Sets the value of the annotations property.voidSets the value of the name property.voidsetUnion(Schema.Role.Union value) Sets the value of the union property.
-
Field Details
-
annotations
-
schemaGrant
-
union
-
name
-
-
Constructor Details
-
Role
public Role()
-
-
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
-
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
setmethod 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
Gets the value of the union property.- Returns:
- possible object is
Schema.Role.Union
-
setUnion
Sets the value of the union property.- Parameters:
value- allowed object isSchema.Role.Union
-
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
-