Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.Scalar.KDDMLScalarManager Interface Reference

Inheritance diagram for kddml.Core.Scalar.KDDMLScalarManager:

kddml.Core.Scalar.KDDMLScalar List of all members.

Public Member Functions

Object getScalarValue () throws KDDMLScalarException
void setScalarType (KDDMLScalarType t)
KDDMLScalarType getScalarType ()

Detailed Description

A manager interface for 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

Object kddml.Core.Scalar.KDDMLScalarManager.getScalarValue  )  throws KDDMLScalarException
 

Returns the evaluation of expression related to this scalar. The output value depends on the type of the scalar.
It returns a String if the method getScalarType() returns STRING.
It returns an Integer if the method getScalarType() returns an int RANGE.
It returns a Double if the method getScalarType() returns a real RANGE.
It returns a String if the method getScalarType() returns ENUMERATION.
It returns a Vector of Integer if the method getScalarType() returns an int LIST.
It returns a Vector of Double if the method getScalarType() returns a real LIST.
It returns a Vector of String if the method getScalarType() returns a string LIST.
It returns a InputStream if the method getScalarType() returns a FILE_READER.
It returns a PrintWriter if the method getScalarType() returns a FILE_WRITER.
Throws an exception if the class type do not match with the scalar value type.

Returns:
Object
Exceptions:
KDDMLScalarException 

Implemented in kddml.Core.Scalar.KDDMLScalar.

void kddml.Core.Scalar.KDDMLScalarManager.setScalarType KDDMLScalarType  t  ) 
 

Sets the type to this scalar object.

Parameters:
t KDDMLScalarType

Implemented in kddml.Core.Scalar.KDDMLScalar.

KDDMLScalarType kddml.Core.Scalar.KDDMLScalarManager.getScalarType  ) 
 

Returns the type related to this scalar object. The type belongs to a type returned by the KDDMLScalarTypeEnum enumeration.

Returns:
KDDMLScalarType

Implemented in kddml.Core.Scalar.KDDMLScalar.


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