org.jcoderz.commons.config
Interface ConfigEntityLocal

All Superinterfaces:
EJBLocalObject

public interface ConfigEntityLocal
extends EJBLocalObject

Local 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.EJBLocalObject
getEJBLocalHome, getPrimaryKey, isIdentical, remove
 

Method Detail

getConfigKey

String getConfigKey()
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.

setConfigKey

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

Parameters:
value - the value of the ConfigKey field

getValue

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

Returns:
the value of the Value field as String.

setValue

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

Parameters:
value - the value of the Value field

getData

ConfigEntityData getData()
Returns the data of the entity.

Returns:
a data object representing the entity

setData

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

Parameters:
data - data object representing the entity.


Copyright 2007 The jCoderZ Project.