org.ow2.weblab.services.iterator
Class ConfigurationBean

java.lang.Object
  extended by org.ow2.weblab.services.iterator.ConfigurationBean

public class ConfigurationBean
extends java.lang.Object

This class is a bean holder for the configuration of FolderResourceQM and FolderResourceConf. It is needed as parameter of their constructor.

Author:
ymombrun
Date:
2011-08-17

Field Summary
static java.lang.String DEFAULT_CONF_ONTO
          Default namespace of the configuration ontology used here.
static java.lang.String DEFAULT_CONF_TYPE
          Default URI of the Configuration type.
static java.lang.String DEFAULT_HAS_CONFIGURATION_URI
          Default property that links a service URI with an instance of configuration.
static java.lang.String DEFAULT_HAS_FOLDER_TO_CRAWL
          Default property that links an instance of configuration with is folder to crawl.
static java.lang.String DEFAULT_IS_LINKED_TO_CONTEXT
          Default property that links an instance of configuration with its usageContext.
static java.lang.String DEFAULT_SERVICE_URI
          The default service URI
 
Constructor Summary
ConfigurationBean()
           
 
Method Summary
 java.lang.String getConfigurationType()
           
 java.lang.String getDefaultFolder()
           
 java.lang.String getDefaultPath()
           
 org.apache.commons.io.filefilter.IOFileFilter getDirectoryFilter()
           
 org.apache.commons.io.filefilter.IOFileFilter getFileFilter()
           
 java.lang.String getHasConfiguration()
           
 java.lang.String getHasFolderToCrawl()
           
 java.lang.String getIsLinkedToContext()
           
 java.lang.String getServiceUri()
           
 boolean isRemoveFiles()
           
 boolean isUseDefaultPathForNotConfigured()
           
 void setConfigurationType(java.lang.String configurationType)
           
 void setDefaultPath(java.lang.String defaultPath)
           
 void setDirectoryFilter(org.apache.commons.io.filefilter.IOFileFilter directoryFilter)
           
 void setFileFilter(org.apache.commons.io.filefilter.IOFileFilter fileFilter)
           
 void setHasConfiguration(java.lang.String hasConfiguration)
           
 void setHasFolderToCrawl(java.lang.String hasFolderToCrawl)
           
 void setIsLinkedToContext(java.lang.String isLinkedToContext)
           
 void setRemoveFiles(boolean removeFiles)
           
 void setServiceUri(java.lang.String serviceUri)
           
 void setUseDefaultPathForNotConfigured(boolean useDefaultPathForNotConfigured)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_CONF_ONTO

public static final java.lang.String DEFAULT_CONF_ONTO
Default namespace of the configuration ontology used here.

See Also:
Constant Field Values

DEFAULT_CONF_TYPE

public static final java.lang.String DEFAULT_CONF_TYPE
Default URI of the Configuration type.

See Also:
Constant Field Values

DEFAULT_HAS_CONFIGURATION_URI

public static final java.lang.String DEFAULT_HAS_CONFIGURATION_URI
Default property that links a service URI with an instance of configuration.

See Also:
Constant Field Values

DEFAULT_HAS_FOLDER_TO_CRAWL

public static final java.lang.String DEFAULT_HAS_FOLDER_TO_CRAWL
Default property that links an instance of configuration with is folder to crawl.

See Also:
Constant Field Values

DEFAULT_IS_LINKED_TO_CONTEXT

public static final java.lang.String DEFAULT_IS_LINKED_TO_CONTEXT
Default property that links an instance of configuration with its usageContext.

See Also:
Constant Field Values

DEFAULT_SERVICE_URI

public static final java.lang.String DEFAULT_SERVICE_URI
The default service URI

See Also:
Constant Field Values
Constructor Detail

ConfigurationBean

public ConfigurationBean()
Method Detail

getConfigurationType

public java.lang.String getConfigurationType()
Returns:
the configurationType

getDefaultFolder

public java.lang.String getDefaultFolder()
Returns:
The default path

getDefaultPath

public java.lang.String getDefaultPath()
Returns:
the defaultPath

getDirectoryFilter

public org.apache.commons.io.filefilter.IOFileFilter getDirectoryFilter()
Returns:
the directoryFilter

getFileFilter

public org.apache.commons.io.filefilter.IOFileFilter getFileFilter()
Returns:
the fileFilter

getHasConfiguration

public java.lang.String getHasConfiguration()
Returns:
the hasConfiguration

getHasFolderToCrawl

public java.lang.String getHasFolderToCrawl()
Returns:
the hasFolderToCrawl

getIsLinkedToContext

public java.lang.String getIsLinkedToContext()
Returns:
the isLinkedToContext

getServiceUri

public java.lang.String getServiceUri()
Returns:
the serviceUri

isRemoveFiles

public boolean isRemoveFiles()
Returns:
the removeFiles

isUseDefaultPathForNotConfigured

public boolean isUseDefaultPathForNotConfigured()
Returns:
the useDefaultPathForNotConfigured

setConfigurationType

public void setConfigurationType(java.lang.String configurationType)
Parameters:
configurationType - the configurationType to set

setDefaultPath

public void setDefaultPath(java.lang.String defaultPath)
Parameters:
defaultPath - the defaultPath to set

setDirectoryFilter

public void setDirectoryFilter(org.apache.commons.io.filefilter.IOFileFilter directoryFilter)
Parameters:
directoryFilter - the directoryFilter to set

setFileFilter

public void setFileFilter(org.apache.commons.io.filefilter.IOFileFilter fileFilter)
Parameters:
fileFilter - the fileFilter to set

setHasConfiguration

public void setHasConfiguration(java.lang.String hasConfiguration)
Parameters:
hasConfiguration - the hasConfiguration to set

setHasFolderToCrawl

public void setHasFolderToCrawl(java.lang.String hasFolderToCrawl)
Parameters:
hasFolderToCrawl - the hasFolderToCrawl to set

setIsLinkedToContext

public void setIsLinkedToContext(java.lang.String isLinkedToContext)
Parameters:
isLinkedToContext - the isLinkedToContext to set

setRemoveFiles

public void setRemoveFiles(boolean removeFiles)
Parameters:
removeFiles - the removeFiles to set

setServiceUri

public void setServiceUri(java.lang.String serviceUri)
Parameters:
serviceUri - the serviceUri to set

setUseDefaultPathForNotConfigured

public void setUseDefaultPathForNotConfigured(boolean useDefaultPathForNotConfigured)
Parameters:
useDefaultPathForNotConfigured - the useDefaultPathForNotConfigured to set

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2011. All Rights Reserved.