com.rapidminer.repository.local
Class SimpleProcessEntry

java.lang.Object
  extended by com.rapidminer.repository.local.SimpleEntry
      extended by com.rapidminer.repository.local.SimpleDataEntry
          extended by com.rapidminer.repository.local.SimpleProcessEntry
All Implemented Interfaces:
DataEntry, Entry, ProcessEntry

public class SimpleProcessEntry
extends SimpleDataEntry
implements ProcessEntry

Author:
Simon Fischer

Field Summary
 
Fields inherited from interface com.rapidminer.repository.ProcessEntry
TYPE_NAME
 
Method Summary
 void delete()
          Deletes the entry and its contents from the repository.
 long getDate()
          Returns the last modification date of this entry.
 java.lang.String getDescription()
          Returns a human readable description.
 int getRevision()
          Returns the revision number of this entry.
 long getSize()
          Returns the size of this entry in bytes.
 java.lang.String getType()
          Returns a string describing the type: "folder", "data", "blob", or "process".
 boolean move(Folder newParent)
          Needs to be implemented only for folders in the same repository.
 boolean rename(java.lang.String newName)
          Changes the name of the entry.
 java.lang.String retrieveXML()
           
 void storeXML(java.lang.String xml)
           
 
Methods inherited from class com.rapidminer.repository.local.SimpleEntry
getContainingFolder, getCustomActions, getLocation, getName, getOwner, getProperty, getRepository, isReadOnly, putProperty, setRepository, toString, willBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.rapidminer.repository.Entry
getContainingFolder, getCustomActions, getLocation, getName, getOwner, isReadOnly, willBlock
 

Method Detail

retrieveXML

public java.lang.String retrieveXML()
                             throws RepositoryException
Specified by:
retrieveXML in interface ProcessEntry
Throws:
RepositoryException

storeXML

public void storeXML(java.lang.String xml)
              throws RepositoryException
Specified by:
storeXML in interface ProcessEntry
Throws:
RepositoryException

getRevision

public int getRevision()
Description copied from interface: DataEntry
Returns the revision number of this entry.

Specified by:
getRevision in interface DataEntry
Overrides:
getRevision in class SimpleDataEntry

getSize

public long getSize()
Description copied from interface: DataEntry
Returns the size of this entry in bytes.

Specified by:
getSize in interface DataEntry

delete

public void delete()
            throws RepositoryException
Description copied from interface: Entry
Deletes the entry and its contents from the repository.

Specified by:
delete in interface Entry
Overrides:
delete in class SimpleEntry
Throws:
RepositoryException

getDescription

public java.lang.String getDescription()
Description copied from interface: Entry
Returns a human readable description.

Specified by:
getDescription in interface Entry
Overrides:
getDescription in class SimpleDataEntry

getType

public java.lang.String getType()
Description copied from interface: Entry
Returns a string describing the type: "folder", "data", "blob", or "process".

Specified by:
getType in interface Entry

rename

public boolean rename(java.lang.String newName)
Description copied from interface: Entry
Changes the name of the entry. The entry stays in the same folder.

Specified by:
rename in interface Entry
Overrides:
rename in class SimpleEntry

move

public boolean move(Folder newParent)
Description copied from interface: Entry
Needs to be implemented only for folders in the same repository. Moving between different repositories is implemented by RepositoryManager.move(RepositoryLocation, Folder, com.rapidminer.tools.ProgressListener) using a sequence of copy and delete.

Specified by:
move in interface Entry
Overrides:
move in class SimpleEntry

getDate

public long getDate()
Description copied from interface: DataEntry
Returns the last modification date of this entry.

Specified by:
getDate in interface DataEntry


Copyright © 2001-2009 by Rapid-I