Class NamedSet


  • public class NamedSet
    extends Object
    Defines a named set which can be used in queries in the same way as a set defined using a WITH SET clause. A named set can be defined against a particular cube, or can be global to a schema. If it is defined against a cube, it is only available to queries which use that cube. A named set defined against a cube is not inherited by a virtual cubes defined against that cube. (But you can define a named set against a virtual cube). A named set defined against a schema is available in all cubes and virtual cubes in that schema. However, it is only valid if the cube contains dimensions with the names required to make the formula valid.

    Java class for NamedSet complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="NamedSet">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="Annotations" type="{}Annotations" minOccurs="0"/>
             <element name="Formula" type="{http://www.w3.org/2001/XMLSchema}anyType" 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" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • NamedSet

        public NamedSet()
    • 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 is Annotations
      • getFormula

        public Object getFormula()
        Gets the value of the formula property.
        Returns:
        possible object is Object
      • setFormula

        public void setFormula​(Object value)
        Sets the value of the formula property.
        Parameters:
        value - allowed object is Object
      • 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
      • 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