org.jmythapi.database.impl
Class ASettingsGroup<E extends Enum<E> & ISettingsProperty>

java.lang.Object
  extended by org.jmythapi.impl.AData<E>
      extended by org.jmythapi.database.impl.ADatabaseRow<E>
          extended by org.jmythapi.database.impl.ASettingsGroup<E>
All Implemented Interfaces:
Cloneable, IPropertyAware<E>, IVersionable
Direct Known Subclasses:
MythFillDatabaseStatus, MythShutdownStatus

public abstract class ASettingsGroup<E extends Enum<E> & ISettingsProperty>
extends ADatabaseRow<E>


Field Summary
 
Fields inherited from class org.jmythapi.impl.AData
logger, propsClass, protoVersion, respArgs
 
Constructor Summary
ASettingsGroup(ProtocolVersion protoVersion, int dbVersion, Class<E> propsClass, Map<String,ISetting> settings)
           
 
Method Summary
static
<E extends Enum<E> & ISettingsProperty>
List<String>
extractArgumentsList(Map<String,ISetting> settings, Class<E> propsClass, int dbVersion)
           
static
<E extends Enum<E> & ISettingsProperty>
String[]
getSettingsNames(Class<E> propsClass, int dbVersion)
           
 
Methods inherited from class org.jmythapi.database.impl.ADatabaseRow
clone, decodeProperty, encodeProperty, equals, getDatabaseVersion, getProperties, getProperty, getPropertyIndex
 
Methods inherited from class org.jmythapi.impl.AData
getPropertyClass, getPropertyCount, getPropertyMap, getPropertyValue, getPropertyValue, getPropertyValueObject, getPropertyValueObject, getPropertyValues, getVersionNr, hashCode, init, postProcessArguments, setPropertyValue, setPropertyValue, setPropertyValueObject, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jmythapi.IVersionable
getVersionNr
 

Constructor Detail

ASettingsGroup

public ASettingsGroup(ProtocolVersion protoVersion,
                      int dbVersion,
                      Class<E> propsClass,
                      Map<String,ISetting> settings)
Method Detail

extractArgumentsList

public static <E extends Enum<E> & ISettingsProperty> List<String> extractArgumentsList(Map<String,ISetting> settings,
                                                                                       Class<E> propsClass,
                                                                                       int dbVersion)

getSettingsNames

public static <E extends Enum<E> & ISettingsProperty> String[] getSettingsNames(Class<E> propsClass,
                                                                               int dbVersion)


Copyright © 2008-2013. All Rights Reserved.