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 Summary
Fields Modifier and Type Field Description protected List<Annotations>annotationsprotected Stringcaptionprotected Stringdescriptionprotected List<Hierarchy>hierarchyprotected Stringnameprotected Stringtype
-
Constructor Summary
Constructors Constructor Description SharedDimension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotations>getAnnotations()Gets the value of the annotations property.StringgetCaption()Gets the value of the caption property.StringgetDescription()Gets the value of the description property.List<Hierarchy>getHierarchy()Gets the value of the hierarchy property.StringgetName()Gets the value of the name property.StringgetType()Gets the value of the type property.voidsetCaption(String value)Sets the value of the caption property.voidsetDescription(String value)Sets the value of the description property.voidsetName(String value)Sets the value of the name property.voidsetType(String value)Sets the value of the type property.
-
-
-
Method Detail
-
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
setmethod 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
setmethod 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 isString
-
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 isString
-
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 isString
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
-