org.hackystat.telemetry.analyzer.configuration
Class TelemetryChartYAxisDefinitionInfo

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.configuration.TelemetryDefinitionInfo
      extended by org.hackystat.telemetry.analyzer.configuration.TelemetryChartYAxisDefinitionInfo

public class TelemetryChartYAxisDefinitionInfo
extends TelemetryDefinitionInfo

Provides information about a telemetry chart y-axis definition, including its name, type, and definition.

Author:
(Cedric) Qin Zhang

Constructor Summary
TelemetryChartYAxisDefinitionInfo(java.lang.String fullDefinitionString, org.hackystat.sensorbase.resource.users.jaxb.User owner, ShareScope shareScope)
          Constructs this instance.
TelemetryChartYAxisDefinitionInfo(TelemetryChartYAxisDefinition chartYAxisDefinition, org.hackystat.sensorbase.resource.users.jaxb.User owner, ShareScope shareScope)
          Constructs this instance.
 
Method Summary
 TelemetryChartYAxisDefinition getChartYAxisDefinitionObject()
          Gets the abstract syntax tree representation of this telemetry chart y-axis.
 java.lang.String getName()
          Gets the name of this telemetry definition.
 TelemetryDefinitionType getType()
          Gets telemetry definition type.
 
Methods inherited from class org.hackystat.telemetry.analyzer.configuration.TelemetryDefinitionInfo
getDefinitionString, getOwner, getShareScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelemetryChartYAxisDefinitionInfo

public TelemetryChartYAxisDefinitionInfo(java.lang.String fullDefinitionString,
                                         org.hackystat.sensorbase.resource.users.jaxb.User owner,
                                         ShareScope shareScope)
                                  throws TelemetryConfigurationException
Constructs this instance.

Parameters:
fullDefinitionString - The defintion string.
owner - The owner of this definition.
shareScope - The share scope of this definition.
Throws:
TelemetryConfigurationException - If the definition string cannot be parsed.

TelemetryChartYAxisDefinitionInfo

public TelemetryChartYAxisDefinitionInfo(TelemetryChartYAxisDefinition chartYAxisDefinition,
                                         org.hackystat.sensorbase.resource.users.jaxb.User owner,
                                         ShareScope shareScope)
                                  throws TelemetryConfigurationException
Constructs this instance.

Parameters:
chartYAxisDefinition - The telemetry chart y-axis definition.
owner - The owner of this definition.
shareScope - The share scope of this definition.
Throws:
TelemetryConfigurationException - If the definition string cannot be parsed.
Method Detail

getName

public java.lang.String getName()
Gets the name of this telemetry definition.

Specified by:
getName in class TelemetryDefinitionInfo
Returns:
The name.

getType

public TelemetryDefinitionType getType()
Gets telemetry definition type.

Specified by:
getType in class TelemetryDefinitionInfo
Returns:
Telemetry definition type.

getChartYAxisDefinitionObject

public TelemetryChartYAxisDefinition getChartYAxisDefinitionObject()
Gets the abstract syntax tree representation of this telemetry chart y-axis.

Returns:
The abstract syntax tree representation.