Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.Scalar.StringType Class Reference

Inheritance diagram for kddml.Core.Scalar.StringType:

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

Public Member Functions

 StringType ()
byte getType ()
boolean checkValue (String value)
Object convertValue (String value)
String toString ()
void setEndingTag (String s)
void setStartingTag (String s)

Detailed Description

This class represents a generic string.

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


Constructor & Destructor Documentation

kddml.Core.Scalar.StringType.StringType  ) 
 

Constructor.


Member Function Documentation

byte kddml.Core.Scalar.StringType.getType  )  [virtual]
 

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

Returns:
byte

Implements kddml.Core.Scalar.KDDMLScalarType.

boolean kddml.Core.Scalar.StringType.checkValue String  value  )  [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

Implements kddml.Core.Scalar.KDDMLScalarType.

Object kddml.Core.Scalar.StringType.convertValue String  value  )  [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

Implements kddml.Core.Scalar.KDDMLScalarType.

String kddml.Core.Scalar.StringType.toString  )  [virtual]
 

Returns a representation of this object as string.

Returns:
String

Implements kddml.Core.Scalar.KDDMLScalarType.

void kddml.Core.Scalar.StringType.setEndingTag String  s  ) 
 

Sets the ending suffix related to this string.

Parameters:
s String

void kddml.Core.Scalar.StringType.setStartingTag String  s  ) 
 

Sets the starting suffix related to this string.

Parameters:
s String


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