org.hackystat.telemetry.analyzer.configuration
Class TelemetryDefinitionInfo

java.lang.Object
  extended by org.hackystat.telemetry.analyzer.configuration.TelemetryDefinitionInfo
Direct Known Subclasses:
TelemetryChartDefinitionInfo, TelemetryChartYAxisDefinitionInfo, TelemetryReportDefinitionInfo, TelemetryStreamsDefinitionInfo

public abstract class TelemetryDefinitionInfo
extends java.lang.Object

Base class for information holders of telemetry objects such as Charts, Y-Axes, Reports, and Streams.

Author:
(Cedric) Qin Zhang

Constructor Summary
protected TelemetryDefinitionInfo(java.lang.String fullDefinitionString, org.hackystat.sensorbase.resource.users.jaxb.User owner, ShareScope shareScope)
          Constructs this instance.
 
Method Summary
 java.lang.String getDefinitionString()
          Gets complete definition string.
abstract  java.lang.String getName()
          Gets the name of this telemetry definition.
 org.hackystat.sensorbase.resource.users.jaxb.User getOwner()
          Gets the owner of this definition.
 ShareScope getShareScope()
          Gets the share scope of this definition.
abstract  TelemetryDefinitionType getType()
          Gets telemetry definition type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelemetryDefinitionInfo

protected TelemetryDefinitionInfo(java.lang.String fullDefinitionString,
                                  org.hackystat.sensorbase.resource.users.jaxb.User owner,
                                  ShareScope shareScope)
Constructs this instance.

Parameters:
fullDefinitionString - The definition string.
owner - The owner of this definition.
shareScope - The share scope of this definition.
Method Detail

getName

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

Returns:
The name.

getType

public abstract TelemetryDefinitionType getType()
Gets telemetry definition type.

Returns:
Telemetry definition type.

getOwner

public org.hackystat.sensorbase.resource.users.jaxb.User getOwner()
Gets the owner of this definition.

Returns:
The owner.

getShareScope

public ShareScope getShareScope()
Gets the share scope of this definition.

Returns:
The share scope.

getDefinitionString

public java.lang.String getDefinitionString()
Gets complete definition string.

Returns:
The definition string.