This project has retired. For details please refer to its Attic page.
XMeasure (Lens 2.0.1-beta-incubating API)

org.apache.lens.api.metastore
Class XMeasure

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

public class XMeasure
extends Object

A cube measure.

Java class for x_measure complex type.

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

 <complexType name="x_measure">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" use="required" type="{uri:lens:cube:0.1}x_measure_type" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="display_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="default_aggr" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="format_string" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="start_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="end_time" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="min" type="{http://www.w3.org/2001/XMLSchema}double" />
       <attribute name="max" type="{http://www.w3.org/2001/XMLSchema}double" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
XMeasure()
           
 
Method Summary
 String getDefaultAggr()
          Gets the value of the defaultAggr property.
 String getDescription()
          Gets the value of the description property.
 String getDisplayString()
          Gets the value of the displayString property.
 XMLGregorianCalendar getEndTime()
          Gets the value of the endTime property.
 String getFormatString()
          Gets the value of the formatString property.
 Double getMax()
          Gets the value of the max property.
 Double getMin()
          Gets the value of the min property.
 String getName()
          Gets the value of the name property.
 XMLGregorianCalendar getStartTime()
          Gets the value of the startTime property.
 XMeasureType getType()
          Gets the value of the type property.
 String getUnit()
          Gets the value of the unit property.
 void setDefaultAggr(String value)
          Sets the value of the defaultAggr property.
 void setDescription(String value)
          Sets the value of the description property.
 void setDisplayString(String value)
          Sets the value of the displayString property.
 void setEndTime(XMLGregorianCalendar value)
          Sets the value of the endTime property.
 void setFormatString(String value)
          Sets the value of the formatString property.
 void setMax(Double value)
          Sets the value of the max property.
 void setMin(Double value)
          Sets the value of the min property.
 void setName(String value)
          Sets the value of the name property.
 void setStartTime(XMLGregorianCalendar value)
          Sets the value of the startTime property.
 void setType(XMeasureType value)
          Sets the value of the type property.
 void setUnit(String value)
          Sets the value of the unit property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMeasure

public XMeasure()
Method Detail

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

getType

public XMeasureType getType()
Gets the value of the type property.

Returns:
possible object is XMeasureType

setType

public void setType(XMeasureType value)
Sets the value of the type property.

Parameters:
value - allowed object is XMeasureType

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

getDisplayString

public String getDisplayString()
Gets the value of the displayString property.

Returns:
possible object is String

setDisplayString

public void setDisplayString(String value)
Sets the value of the displayString property.

Parameters:
value - allowed object is String

getDefaultAggr

public String getDefaultAggr()
Gets the value of the defaultAggr property.

Returns:
possible object is String

setDefaultAggr

public void setDefaultAggr(String value)
Sets the value of the defaultAggr property.

Parameters:
value - allowed object is String

getFormatString

public String getFormatString()
Gets the value of the formatString property.

Returns:
possible object is String

setFormatString

public void setFormatString(String value)
Sets the value of the formatString property.

Parameters:
value - allowed object is String

getStartTime

public XMLGregorianCalendar getStartTime()
Gets the value of the startTime property.

Returns:
possible object is XMLGregorianCalendar

setStartTime

public void setStartTime(XMLGregorianCalendar value)
Sets the value of the startTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getEndTime

public XMLGregorianCalendar getEndTime()
Gets the value of the endTime property.

Returns:
possible object is XMLGregorianCalendar

setEndTime

public void setEndTime(XMLGregorianCalendar value)
Sets the value of the endTime property.

Parameters:
value - allowed object is XMLGregorianCalendar

getUnit

public String getUnit()
Gets the value of the unit property.

Returns:
possible object is String

setUnit

public void setUnit(String value)
Sets the value of the unit property.

Parameters:
value - allowed object is String

getMin

public Double getMin()
Gets the value of the min property.

Returns:
possible object is Double

setMin

public void setMin(Double value)
Sets the value of the min property.

Parameters:
value - allowed object is Double

getMax

public Double getMax()
Gets the value of the max property.

Returns:
possible object is Double

setMax

public void setMax(Double value)
Sets the value of the max property.

Parameters:
value - allowed object is Double


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