org.apache.lens.api.metastore
Class XCube

java.lang.Object
  extended by org.apache.lens.api.metastore.XCube

public class XCube
extends Object

XCube can be a base cube for which user would give the full specification of the measures and dimensions. XCube can be a Derived cube, for which user would specify only the measure names, dimension names and parent. Derived cube can have subset of measure names and dimension names defined for its parent. It can have different weight and properties associated with.

Java class for x_cube complex type.

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

 <complexType name="x_cube">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="measures" type="{uri:lens:cube:0.1}x_measures"/>
         <element name="dim_attributes" type="{uri:lens:cube:0.1}x_dim_attributes"/>
         <element name="expressions" type="{uri:lens:cube:0.1}x_expressions"/>
         <element name="joinchains" type="{uri:lens:cube:0.1}x_joinchains"/>
         <element name="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
         <element name="measure_names" type="{uri:lens:cube:0.1}x_measure_names"/>
         <element name="dim_attr_names" type="{uri:lens:cube:0.1}x_dim_attr_names"/>
       </sequence>
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="weight" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="parent" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="derived" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XCube()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 XDimAttributes getDimAttributes()
          Gets the value of the dimAttributes property.
 XDimAttrNames getDimAttrNames()
          Gets the value of the dimAttrNames property.
 XExpressions getExpressions()
          Gets the value of the expressions property.
 XJoinchains getJoinchains()
          Gets the value of the joinchains property.
 XMeasureNames getMeasureNames()
          Gets the value of the measureNames property.
 XMeasures getMeasures()
          Gets the value of the measures property.
 String getName()
          Gets the value of the name property.
 String getParent()
          Gets the value of the parent property.
 XProperties getProperties()
          Gets the value of the properties property.
 Double getWeight()
          Gets the value of the weight property.
 boolean isDerived()
          Gets the value of the derived property.
 void setDerived(Boolean value)
          Sets the value of the derived property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDimAttributes(XDimAttributes value)
          Sets the value of the dimAttributes property.
 void setDimAttrNames(XDimAttrNames value)
          Sets the value of the dimAttrNames property.
 void setExpressions(XExpressions value)
          Sets the value of the expressions property.
 void setJoinchains(XJoinchains value)
          Sets the value of the joinchains property.
 void setMeasureNames(XMeasureNames value)
          Sets the value of the measureNames property.
 void setMeasures(XMeasures value)
          Sets the value of the measures property.
 void setName(String value)
          Sets the value of the name property.
 void setParent(String value)
          Sets the value of the parent property.
 void setProperties(XProperties value)
          Sets the value of the properties property.
 void setWeight(Double value)
          Sets the value of the weight property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCube

public XCube()
Method Detail

getMeasures

public XMeasures getMeasures()
Gets the value of the measures property.

Returns:
possible object is XMeasures

setMeasures

public void setMeasures(XMeasures value)
Sets the value of the measures property.

Parameters:
value - allowed object is XMeasures

getDimAttributes

public XDimAttributes getDimAttributes()
Gets the value of the dimAttributes property.

Returns:
possible object is XDimAttributes

setDimAttributes

public void setDimAttributes(XDimAttributes value)
Sets the value of the dimAttributes property.

Parameters:
value - allowed object is XDimAttributes

getExpressions

public XExpressions getExpressions()
Gets the value of the expressions property.

Returns:
possible object is XExpressions

setExpressions

public void setExpressions(XExpressions value)
Sets the value of the expressions property.

Parameters:
value - allowed object is XExpressions

getJoinchains

public XJoinchains getJoinchains()
Gets the value of the joinchains property.

Returns:
possible object is XJoinchains

setJoinchains

public void setJoinchains(XJoinchains value)
Sets the value of the joinchains property.

Parameters:
value - allowed object is XJoinchains

getProperties

public XProperties getProperties()
Gets the value of the properties property.

Returns:
possible object is XProperties

setProperties

public void setProperties(XProperties value)
Sets the value of the properties property.

Parameters:
value - allowed object is XProperties

getMeasureNames

public XMeasureNames getMeasureNames()
Gets the value of the measureNames property.

Returns:
possible object is XMeasureNames

setMeasureNames

public void setMeasureNames(XMeasureNames value)
Sets the value of the measureNames property.

Parameters:
value - allowed object is XMeasureNames

getDimAttrNames

public XDimAttrNames getDimAttrNames()
Gets the value of the dimAttrNames property.

Returns:
possible object is XDimAttrNames

setDimAttrNames

public void setDimAttrNames(XDimAttrNames value)
Sets the value of the dimAttrNames property.

Parameters:
value - allowed object is XDimAttrNames

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

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

getWeight

public Double getWeight()
Gets the value of the weight property.

Returns:
possible object is Double

setWeight

public void setWeight(Double value)
Sets the value of the weight property.

Parameters:
value - allowed object is Double

getParent

public String getParent()
Gets the value of the parent property.

Returns:
possible object is String

setParent

public void setParent(String value)
Sets the value of the parent property.

Parameters:
value - allowed object is String

isDerived

public boolean isDerived()
Gets the value of the derived property.

Returns:
possible object is Boolean

setDerived

public void setDerived(Boolean value)
Sets the value of the derived property.

Parameters:
value - allowed object is Boolean


Copyright © 2014 Apache Software Foundation. All rights reserved.