org.jrobin.core.jrrd
Class DataSourceType

java.lang.Object
  extended by org.jrobin.core.jrrd.DataSourceType

public class DataSourceType
extends Object

Class DataSourceType

Version:
$Revision: 1.2 $
Author:
Ciaran Treanor

Field Summary
static DataSourceType ABSOLUTE
          Field ABSOLUTE
static DataSourceType COUNTER
          Field COUNTER
static DataSourceType DERIVE
          Field DERIVE
static DataSourceType GAUGE
          Field GAUGE
 
Method Summary
 boolean equals(Object obj)
          Compares this object against the specified object.
static DataSourceType get(String s)
          Returns a DataSourceType with the given name.
 String toString()
          Returns a string representation of this object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

COUNTER

public static final DataSourceType COUNTER
Field COUNTER


ABSOLUTE

public static final DataSourceType ABSOLUTE
Field ABSOLUTE


GAUGE

public static final DataSourceType GAUGE
Field GAUGE


DERIVE

public static final DataSourceType DERIVE
Field DERIVE

Method Detail

get

public static DataSourceType get(String s)
Returns a DataSourceType with the given name.

Parameters:
s - name of the DataSourceType required.
Returns:
a DataSourceType with the given name.

equals

public boolean equals(Object obj)
Compares this object against the specified object.

Overrides:
equals in class Object
Returns:
true if the objects are the same, false otherwise.

toString

public String toString()
Returns a string representation of this object.

Overrides:
toString in class Object
Returns:
a string representation of this object.


Copyright 2003-2008. All Rights Reserved.