Package org.openforis.collect.mondrian
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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.Role.SchemaGrantJava class for anonymous complex type.static classSchema.Role.UnionJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Annotationsannotationsprotected Stringnameprotected List<Schema.Role.SchemaGrant>schemaGrantprotected Schema.Role.Unionunion
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationsgetAnnotations()Gets the value of the annotations property.StringgetName()Gets the value of the name property.List<Schema.Role.SchemaGrant>getSchemaGrant()Gets the value of the schemaGrant property.Schema.Role.UniongetUnion()Gets the value of the union property.voidsetAnnotations(Annotations value)Sets the value of the annotations property.voidsetName(String value)Sets the value of the name property.voidsetUnion(Schema.Role.Union value)Sets the value of the union property.
-
-
-
Field Detail
-
annotations
protected Annotations annotations
-
schemaGrant
protected List<Schema.Role.SchemaGrant> schemaGrant
-
union
protected Schema.Role.Union union
-
name
protected String name
-
-
Method Detail
-
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 isAnnotations
-
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
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
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 isSchema.Role.Union
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is
String
-
-