com.xensource.xenapi
Class DataSource.Record

java.lang.Object
  extended by com.xensource.xenapi.DataSource.Record
All Implemented Interfaces:
Types.Record
Enclosing class:
DataSource

public static class DataSource.Record
extends java.lang.Object
implements Types.Record

Represents all the fields in a DataSource


Field Summary
 java.lang.Boolean enabled
          true if the data source is being logged
 java.lang.Double max
          the maximum value of the data source
 java.lang.Double min
          the minimum value of the data source
 java.lang.String nameDescription
          a notes field containg human-readable description
 java.lang.String nameLabel
          a human-readable name
 java.lang.Boolean standard
          true if the data source is enabled by default.
 java.lang.String units
          the units of the value
 java.lang.Double value
          current value of the data source
 
Constructor Summary
DataSource.Record()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.Object> toMap()
          Convert a data_source.Record to a Map
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

nameLabel

public java.lang.String nameLabel
a human-readable name


nameDescription

public java.lang.String nameDescription
a notes field containg human-readable description


enabled

public java.lang.Boolean enabled
true if the data source is being logged


standard

public java.lang.Boolean standard
true if the data source is enabled by default. Non-default data sources cannot be disabled


units

public java.lang.String units
the units of the value


min

public java.lang.Double min
the minimum value of the data source


max

public java.lang.Double max
the maximum value of the data source


value

public java.lang.Double value
current value of the data source

Constructor Detail

DataSource.Record

public DataSource.Record()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toMap

public java.util.Map<java.lang.String,java.lang.Object> toMap()
Convert a data_source.Record to a Map

Specified by:
toMap in interface Types.Record