| com.flexive.shared.configuration.parameters.ObjectParameter
ObjectParameter | public class ObjectParameter extends ParameterImpl> (Code) | | Generic Object parameter wrapper. Takes any java object, serializes
it to XML (currently using XStream), and stores it in the configuration.
author: Daniel Lichtenberger (daniel.lichtenberger@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at)< Parameters: T - > type of the object stored in the parameter |
ObjectParameter | public ObjectParameter(ParameterData<T> parameter, Class<T> cls, boolean registerParameter)(Code) | | Creates a new object parameter definition.
Parameters: parameter - parameter data Parameters: cls - the object's class Parameters: registerParameter - if the parameter should be registered in the static parameter table(don't do this for non-static parameter declarations) |
ObjectParameter | public ObjectParameter(ParameterData<T> parameter, Class<T> cls, boolean registerParameter, XStream xStream)(Code) | | Creates a new object parameter definition.
Parameters: parameter - parameter data Parameters: cls - the object's class Parameters: xStream - xStream instance to be used for loading and storing values for this parameter.If null, the default xStream instance stored in this class will be used. Parameters: registerParameter - if the parameter should be registered in the static parameter table(don't do this for non-static parameter declarations) |
getDatabaseValue | public String getDatabaseValue(T value)(Code) | |
|
getDefaultXStream | public static XStream getDefaultXStream()(Code) | | |
isValid | public boolean isValid(T value)(Code) | |
|
|
|