org.jcoderz.commons.config
Interface ConfigEntity

All Superinterfaces:
EJBObject, Remote

public interface ConfigEntity
extends EJBObject

Remote interface for ConfigEntity.


Method Summary
 String getConfigKey()
          Returns the value of the ConfigKey field as String.
 ConfigEntityData getData()
          Returns the data of the entity.
 String getValue()
          Returns the value of the Value field as String. contains the current valid value, is delivered whenever the config service is asked for the value for a given config_key
 void setConfigKey(String value)
          Sets the value of the ConfigKey field.
 void setData(ConfigEntityData data)
          Sets the data of the entity except for the primary key field(s).
 void setValue(String value)
          Sets the value of the Value field.
 
Methods inherited from interface javax.ejb.EJBObject
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove
 

Method Detail

getConfigKey

String getConfigKey()
                    throws RemoteException
Returns the value of the ConfigKey field as String. ConfigurationKey's string representation to identify a configuration value. Not types because the extra data layer that hides database or propertyfile uses string type only.

Returns:
the value of the ConfigKey field as String.
Throws:
RemoteException

setConfigKey

void setConfigKey(String value)
                  throws RemoteException
Sets the value of the ConfigKey field.

Parameters:
value - the value of the ConfigKey field
Throws:
RemoteException

getValue

String getValue()
                throws RemoteException
Returns the value of the Value field as String. contains the current valid value, is delivered whenever the config service is asked for the value for a given config_key

Returns:
the value of the Value field as String.
Throws:
RemoteException

setValue

void setValue(String value)
              throws RemoteException
Sets the value of the Value field.

Parameters:
value - the value of the Value field
Throws:
RemoteException

getData

ConfigEntityData getData()
                         throws RemoteException
Returns the data of the entity.

Returns:
a data object representing the entity
Throws:
RemoteException

setData

void setData(ConfigEntityData data)
             throws RemoteException
Sets the data of the entity except for the primary key field(s).

Parameters:
data - data object representing the entity.
Throws:
RemoteException


Copyright 2007 The jCoderZ Project.