Main Page | Class Hierarchy | Class List | Class Members

kddml.Core.KDDMLObjectRepositoryFactory Class Reference

Inheritance diagram for kddml.Core.KDDMLObjectRepositoryFactory:

kddml.Core.KDDMLObjectFactory kddml.Core.DataMining.ModelRepositoryFactory kddml.Core.DataSources.InternalTableRepositoryFactory kddml.Core.DataMining.AssociationRules.AssociationRepositoryFactory kddml.Core.DataMining.ClassificationTrees.ClassificationRepositoryFactory kddml.Core.DataMining.Clustering.ClusteringRepositoryFactory kddml.Core.DataMining.SequentialPatterns.SequenceRepositoryFactory kddml.Core.DataMining.Taxonomy.HierarchyRepositoryFactory kddml.Core.DataSources.PPInternalTableRepositoryFactory List of all members.

Public Member Functions

 KDDMLObjectRepositoryFactory (File f) throws KDDMLCoreException
boolean renameObject (String new_name)
boolean removeObject ()

Static Public Member Functions

static String[] getObjectNames (File repository_dir)
static File[] getObjectFiles (File repository_dir)
static void removeAll (File repository_dir)

Detailed Description

The common superclass for system repository factory. Loads an existent KDDML object from the system repository.

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.KDDMLObjectRepositoryFactory.KDDMLObjectRepositoryFactory File  f  )  throws KDDMLCoreException
 

Constructor given the physical file. The object must exist in the system repository.

Parameters:
f File the XML reference to the object
Exceptions:
KDDMLCoreException if the XML object do not exist in the system repository.


Member Function Documentation

boolean kddml.Core.KDDMLObjectRepositoryFactory.renameObject String  new_name  ) 
 

Renames this object.

Parameters:
new_name String the new name of the object.
Returns:
boolean false if the renaming fails.

Reimplemented in kddml.Core.DataSources.InternalTableRepositoryFactory, and kddml.Core.DataSources.PPInternalTableRepositoryFactory.

boolean kddml.Core.KDDMLObjectRepositoryFactory.removeObject  ) 
 

Removes this object from the repository.

Returns:
boolean false if the object cannot be removed.

Reimplemented in kddml.Core.DataSources.InternalTableRepositoryFactory, and kddml.Core.DataSources.PPInternalTableRepositoryFactory.

static String [] kddml.Core.KDDMLObjectRepositoryFactory.getObjectNames File  repository_dir  )  [static]
 

Returns the list of object names given the repository path.

Parameters:
repository_dir File the file directory referring the repository.
Returns:
String[]

static File [] kddml.Core.KDDMLObjectRepositoryFactory.getObjectFiles File  repository_dir  )  [static]
 

Returns the list of object files given the repository path.

Parameters:
repository_dir File the file directory referring the repository.
Returns:
String[]

static void kddml.Core.KDDMLObjectRepositoryFactory.removeAll File  repository_dir  )  [static]
 

Removes all objects from the system repository.

Parameters:
repository_dir File

Reimplemented in kddml.Core.DataSources.InternalTableRepositoryFactory.


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