org.moremotion.config
Class Config

java.lang.Object
  extended by org.moremotion.config.Config
Direct Known Subclasses:
ActionServiceConfig, DataSourceConfig, MScriptFunctionConfig, ProcessCommand, ProcessConfig, ProcessTemplateConfig

public class Config
extends java.lang.Object

Base Class for Config Classes

Version:
$Id: Config.java 51 2008-03-10 11:46:54Z erkan $

Constructor Summary
Config(ConfigUnit unit, boolean parse)
           
 
Method Summary
 ConfigUnit getConfigUnit()
           
 java.lang.Object getDataObject()
           
 java.lang.String getName()
           
 ConfigParameter getParameter(java.lang.String name)
          Returns the value of the specified special parameter
 java.util.HashMap getParameters()
          Returns the special parameters (non-standard) of the configuration
 void setDataObject(java.lang.Object data)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Config

public Config(ConfigUnit unit,
              boolean parse)
       throws ConfigurationException
Throws:
ConfigurationException
Method Detail

getName

public java.lang.String getName()

getConfigUnit

public ConfigUnit getConfigUnit()

setDataObject

public void setDataObject(java.lang.Object data)

getDataObject

public java.lang.Object getDataObject()

getParameter

public ConfigParameter getParameter(java.lang.String name)
                             throws ConfigParameterException
Returns the value of the specified special parameter

Throws:
ConfigParameterException

getParameters

public java.util.HashMap getParameters()
Returns the special parameters (non-standard) of the configuration



Copyright © 2002-2008 MOR YAZILIM. All Rights Reserved.