org.apache.lens.api.metastore
Class XStorageTableElement

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

public class XStorageTableElement
extends Object

Storage and storage table description

Java class for x_storage_table_element complex type.

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

 <complexType name="x_storage_table_element">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="update_periods" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
         <element name="storage_name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="table_desc" type="{uri:lens:cube:0.1}x_storage_table_desc"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XStorageTableElement()
           
 
Method Summary
 String getStorageName()
          Gets the value of the storageName property.
 XStorageTableDesc getTableDesc()
          Gets the value of the tableDesc property.
 List<String> getUpdatePeriods()
          Gets the value of the updatePeriods property.
 void setStorageName(String value)
          Sets the value of the storageName property.
 void setTableDesc(XStorageTableDesc value)
          Sets the value of the tableDesc property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XStorageTableElement

public XStorageTableElement()
Method Detail

getUpdatePeriods

public List<String> getUpdatePeriods()
Gets the value of the updatePeriods 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 set method for the updatePeriods property.

For example, to add a new item, do as follows:

    getUpdatePeriods().add(newItem);
 

Objects of the following type(s) are allowed in the list String


getStorageName

public String getStorageName()
Gets the value of the storageName property.

Returns:
possible object is String

setStorageName

public void setStorageName(String value)
Sets the value of the storageName property.

Parameters:
value - allowed object is String

getTableDesc

public XStorageTableDesc getTableDesc()
Gets the value of the tableDesc property.

Returns:
possible object is XStorageTableDesc

setTableDesc

public void setTableDesc(XStorageTableDesc value)
Sets the value of the tableDesc property.

Parameters:
value - allowed object is XStorageTableDesc


Copyright © 2014 Apache Software Foundation. All rights reserved.