Package org.openforis.collect.mondrian
Class DimensionUsage
java.lang.Object
org.openforis.collect.mondrian.DimensionUsage
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the annotations property.Gets the value of the foreignKey property.getLevel()Gets the value of the level property.getName()Gets the value of the name property.Gets the value of the source property.Gets the value of the usagePrefix property.booleanGets 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.voidSets the value of the level property.voidSets the value of the name property.voidSets the value of the source property.voidsetUsagePrefix(String value) Sets the value of the usagePrefix property.
-
Field Details
-
annotations
-
name
-
source
-
level
-
usagePrefix
-
foreignKey
-
highCardinality
-
-
Constructor Details
-
DimensionUsage
public DimensionUsage()
-
-
Method Details
-
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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getSource
Gets the value of the source property.- Returns:
- possible object is
String
-
setSource
Sets the value of the source property.- Parameters:
value- allowed object isString
-
getLevel
Gets the value of the level property.- Returns:
- possible object is
String
-
setLevel
Sets the value of the level property.- Parameters:
value- allowed object isString
-
getUsagePrefix
Gets the value of the usagePrefix property.- Returns:
- possible object is
String
-
setUsagePrefix
Sets the value of the usagePrefix property.- Parameters:
value- allowed object isString
-
getForeignKey
Gets the value of the foreignKey property.- Returns:
- possible object is
String
-
setForeignKey
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
-
setHighCardinality
Sets the value of the highCardinality property.- Parameters:
value- allowed object isBoolean
-