Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.Scalar.KDDMLScalarType Class Reference

Inheritance diagram for kddml.Core.Scalar.KDDMLScalarType:

kddml.Core.Scalar.EnumerationType kddml.Core.Scalar.FileType kddml.Core.Scalar.ListType kddml.Core.Scalar.RangeType kddml.Core.Scalar.StringType kddml.Core.Scalar.FileReaderType kddml.Core.Scalar.FileWriterType kddml.Core.Scalar.IntegerListType kddml.Core.Scalar.RealListType kddml.Core.Scalar.StringListType kddml.Core.Scalar.IntegerRangeType kddml.Core.Scalar.RealRangeType List of all members.

Public Member Functions

abstract boolean checkValue (String value)
abstract byte getType ()
abstract String toString ()
abstract Object convertValue (String value)

Detailed Description

A generic type related to a KDDMLScalar.

Title: KDDML

Description: Knowledge Discovery in Database Environment

Copyright: Copyright (c) 2003-2005

Company: Universita' di Pisa - Dipartimento di Informatica

Author:
Andrea Romei (romei@di.unipi.it)
Version:
2.0.16


Member Function Documentation

abstract boolean kddml.Core.Scalar.KDDMLScalarType.checkValue String  value  )  [pure virtual]
 

Checks if the input value have the right type. Input value is given as java.lang.String. Returns true if the type is correct; returns false otherwise.

Parameters:
value String
Returns:
boolean

Implemented in kddml.Core.Scalar.EnumerationType, kddml.Core.Scalar.FileReaderType, kddml.Core.Scalar.FileWriterType, kddml.Core.Scalar.IntegerListType, kddml.Core.Scalar.IntegerRangeType, kddml.Core.Scalar.RangeType, kddml.Core.Scalar.RealListType, kddml.Core.Scalar.RealRangeType, kddml.Core.Scalar.StringListType, and kddml.Core.Scalar.StringType.

abstract byte kddml.Core.Scalar.KDDMLScalarType.getType  )  [pure virtual]
 

Returns the type related to this class as value of KDDMLScalarTypeEnum.

Returns:
byte

Implemented in kddml.Core.Scalar.EnumerationType, kddml.Core.Scalar.FileReaderType, kddml.Core.Scalar.FileWriterType, kddml.Core.Scalar.IntegerListType, kddml.Core.Scalar.IntegerRangeType, kddml.Core.Scalar.RealListType, kddml.Core.Scalar.RealRangeType, kddml.Core.Scalar.StringListType, and kddml.Core.Scalar.StringType.

abstract String kddml.Core.Scalar.KDDMLScalarType.toString  )  [pure virtual]
 

Returns a representation of this object as string.

Returns:
String

Implemented in kddml.Core.Scalar.EnumerationType, kddml.Core.Scalar.FileType, kddml.Core.Scalar.IntegerRangeType, kddml.Core.Scalar.ListType, kddml.Core.Scalar.RealRangeType, and kddml.Core.Scalar.StringType.

abstract Object kddml.Core.Scalar.KDDMLScalarType.convertValue String  value  )  [pure virtual]
 

Returns the value of the input argument as java.lang.Object. This depends on the type of the scalar. E.g. for a list of integer (such as 3, 5, 7), the method returns an int[], such as [3, 5, 7]. Returns null if the input value cannot be converted.

Parameters:
value String the expression representing the scalar (e.g. "3+2", "sunny", "high, low").
Returns:
Object

Implemented in kddml.Core.Scalar.EnumerationType, kddml.Core.Scalar.FileReaderType, kddml.Core.Scalar.FileWriterType, kddml.Core.Scalar.IntegerListType, kddml.Core.Scalar.RangeType, kddml.Core.Scalar.RealListType, kddml.Core.Scalar.StringListType, and kddml.Core.Scalar.StringType.


Generated on Thu Feb 23 13:04:46 2006 for kddml by  doxygen 1.4.3