Package org.openforis.collect.mondrian
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 Summary
Fields Modifier and Type Field Description protected List<Annotations>annotationsprotected StringforeignKeyprotected BooleanhighCardinalityprotected Stringlevelprotected Stringnameprotected Stringsourceprotected StringusagePrefix
-
Constructor Summary
Constructors Constructor Description DimensionUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotations>getAnnotations()Gets the value of the annotations property.StringgetForeignKey()Gets the value of the foreignKey property.StringgetLevel()Gets the value of the level property.StringgetName()Gets the value of the name property.StringgetSource()Gets the value of the source property.StringgetUsagePrefix()Gets the value of the usagePrefix property.booleanisHighCardinality()Gets the value of the highCardinality property.voidsetForeignKey(String value)Sets the value of the foreignKey property.voidsetHighCardinality(Boolean value)Sets the value of the highCardinality property.voidsetLevel(String value)Sets the value of the level property.voidsetName(String value)Sets the value of the name property.voidsetSource(String value)Sets the value of the source property.voidsetUsagePrefix(String value)Sets the value of the usagePrefix 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
-
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
-
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 isString
-
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 isString
-
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 isString
-
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 isString
-
isHighCardinality
public boolean isHighCardinality()
Gets the value of the highCardinality property.- Returns:
- possible object is
Boolean
-
-