Class DimensionUsage

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

public class DimensionUsage extends Object
A DimensionUsage is usage of a shared Dimension within the context of a cube.

Java class for DimensionUsage complex type.

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

 <complexType name="DimensionUsage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Annotations" type="{}Annotations" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="source" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="level" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="usagePrefix" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="foreignKey" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="highCardinality" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • annotations

      protected List<Annotations> annotations
    • name

      protected String name
    • source

      protected String source
    • level

      protected String level
    • usagePrefix

      protected String usagePrefix
    • foreignKey

      protected String foreignKey
    • highCardinality

      protected Boolean highCardinality
  • Constructor Details

    • DimensionUsage

      public DimensionUsage()
  • Method Details

    • getAnnotations

      public List<Annotations> getAnnotations()
      Gets the value of the annotations 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 annotations property.

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

          getAnnotations().add(newItem);
       

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

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

      public String getSource()
      Gets the value of the source property.
      Returns:
      possible object is String
    • setSource

      public void setSource(String value)
      Sets the value of the source property.
      Parameters:
      value - allowed object is String
    • getLevel

      public String getLevel()
      Gets the value of the level property.
      Returns:
      possible object is String
    • setLevel

      public void setLevel(String value)
      Sets the value of the level property.
      Parameters:
      value - allowed object is String
    • getUsagePrefix

      public String getUsagePrefix()
      Gets the value of the usagePrefix property.
      Returns:
      possible object is String
    • setUsagePrefix

      public void setUsagePrefix(String value)
      Sets the value of the usagePrefix property.
      Parameters:
      value - allowed object is String
    • getForeignKey

      public String getForeignKey()
      Gets the value of the foreignKey property.
      Returns:
      possible object is String
    • setForeignKey

      public void setForeignKey(String value)
      Sets the value of the foreignKey property.
      Parameters:
      value - allowed object is String
    • isHighCardinality

      public boolean isHighCardinality()
      Gets the value of the highCardinality property.
      Returns:
      possible object is Boolean
    • setHighCardinality

      public void setHighCardinality(Boolean value)
      Sets the value of the highCardinality property.
      Parameters:
      value - allowed object is Boolean