org.glite.ce.monitorapij.types
Class Dialect

java.lang.Object
  extended byorg.glite.ce.monitorapij.types.DialectBase
      extended byorg.glite.ce.monitorapij.types.Dialect
All Implemented Interfaces:
java.io.Serializable

public class Dialect
extends DialectBase

This class identifies a particular dialect supported by a sensor. A Dialect is intended as a particular way of expressing the output of a sensor and supports a certain number of query languages.

Author:
Luigi Zangrando (zangrando@pd.infn.it)
See Also:
Serialized Form

Constructor Summary
Dialect()
          Creates a new _Dialect object without a name.
Dialect(java.lang.String dialectName)
          Creates a new _Dialect object with the specified name.
 
Method Summary
 boolean checkSupportedQueryLanguage(java.lang.String ql_name)
          Check if this dialect supports the query language specified by its name.
 
Methods inherited from class org.glite.ce.monitorapij.types.DialectBase
equals, getDeserializer, getName, getQueryLanguage, getQueryLanguage, getSerializer, getTypeDesc, hashCode, setName, setQueryLanguage, setQueryLanguage
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dialect

public Dialect()
Creates a new _Dialect object without a name.


Dialect

public Dialect(java.lang.String dialectName)
Creates a new _Dialect object with the specified name.

Parameters:
dialectName - The name of the dialect.
Method Detail

checkSupportedQueryLanguage

public boolean checkSupportedQueryLanguage(java.lang.String ql_name)
Check if this dialect supports the query language specified by its name.

Parameters:
ql_name - The checked query language.
Returns:
True if the query language is supported, false otherwise.