Class SharedDimension

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

public class SharedDimension extends Object
Shared dimensions in this schema. A Dimension is a collection of hierarchies. There are two kinds: a public dimension belongs to a Schema, and be used by several cubes; a private dimension belongs to a Cube. The foreignKey field is only applicable to private dimensions.

Java class for SharedDimension complex type.

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

 <complexType name="SharedDimension">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Annotations" type="{}Annotations" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Hierarchy" type="{}Hierarchy" maxOccurs="unbounded"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" default="Standard">
         <simpleType>
           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
             <enumeration value="Standard"/>
             <enumeration value="TimeDimension"/>
           </restriction>
         </simpleType>
       </attribute>
       <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>
 
  • Field Details

  • Constructor Details

    • SharedDimension

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

    • getHierarchy

      public List<Hierarchy> getHierarchy()
      Gets the value of the hierarchy 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 hierarchy property.

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

          getHierarchy().add(newItem);
       

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

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

      public String getType()
      Gets the value of the type property.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type 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