com.intel.gpe.client2.defaults.preferences
Class DefaultsImpl
java.lang.Object
com.intel.gpe.client2.defaults.preferences.DefaultsImpl
- All Implemented Interfaces:
- IDefaults
public class DefaultsImpl
- extends java.lang.Object
- implements IDefaults
- Version:
- $Id: DefaultsImpl.java,v 1.3 2007/02/26 14:23:50 dizhigul Exp $
- Author:
- Denis Zhigula
Constructor Summary |
DefaultsImpl(java.util.Map clientProperties)
|
Method Summary |
java.lang.String |
getDefaultValue(IKey key)
Get the default value for the plain key. |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getDefaultValue(ITableKey key)
Get the default value for the table-key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keysSeparator
public static final java.lang.String keysSeparator
- See Also:
- Constant Field Values
allProperties
protected java.util.HashMap<java.lang.String,java.lang.String> allProperties
DefaultsImpl
public DefaultsImpl(java.util.Map clientProperties)
getDefaultValue
public java.lang.String getDefaultValue(IKey key)
- Description copied from interface:
IDefaults
- Get the default value for the plain key.
- Specified by:
getDefaultValue
in interface IDefaults
- Parameters:
key
- the key
- Returns:
- the default value
getDefaultValue
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> getDefaultValue(ITableKey key)
- Description copied from interface:
IDefaults
- Get the default value for the table-key.
- Specified by:
getDefaultValue
in interface IDefaults
- Parameters:
key
- the key
- Returns:
- the default mapping between the row and row_id
Copyright © 2008. All Rights Reserved.