org.apache.lens.api.metastore
Class XCube

java.lang.Object
  extended by org.apache.lens.api.metastore.XCube
Direct Known Subclasses:
XBaseCube, XDerivedCube

public abstract class XCube
extends Object

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

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="properties" type="{uri:lens:cube:0.1}x_properties" minOccurs="0"/>
       </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" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XCube()
           
 
Method Summary
 String getDescription()
          Gets the value of the description property.
 String getName()
          Gets the value of the name property.
 XProperties getProperties()
          Gets the value of the properties property.
 void setDescription(String value)
          Sets the value of the description property.
 void setName(String value)
          Sets the value of the name property.
 void setProperties(XProperties value)
          Sets the value of the properties property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XCube

public XCube()
Method Detail

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

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


Copyright © 2014–2015 Apache Software Foundation. All rights reserved.