fr.cnes.sitools.plugins.filters.model
Class FilterModel

java.lang.Object
  extended by org.restlet.engine.Helper
      extended by fr.cnes.sitools.common.model.ExtensionModel<FilterParameter>
          extended by fr.cnes.sitools.plugins.filters.model.FilterModel
All Implemented Interfaces:
IResource, Validable, java.io.Serializable
Direct Known Subclasses:
DataStorageAuthorizerModel

public class FilterModel
extends ExtensionModel<FilterParameter>
implements Validable, java.io.Serializable

Base class for customizable filter model

Author:
m.marseille (AKKA Technologies)
See Also:
Serialized Form

Constructor Summary
FilterModel()
          Constructor Store the class name
 
Method Summary
 void addParam(FilterParameter param)
          Method to add a parameter in subclasses
 java.lang.String getFilterClassName()
          Gets the filterClassName value
 FilterParameter getParameterByName(java.lang.String name)
          Return the parameter by name
 java.lang.String getParent()
          Gets the parent value
 Validator<FilterModel> getValidator()
          Get the Validator on a Object
 void setFilterClassName(java.lang.String filterClassName)
          Sets the value of filterClassName
 void setParent(java.lang.String parent)
          Sets the value of parent
 
Methods inherited from class fr.cnes.sitools.common.model.ExtensionModel
getClassAuthor, getClassName, getClassOwner, getClassVersion, getDescription, getDescriptionAction, getId, getName, getParametersMap, setClassAuthor, setClassName, setClassOwner, setClassVersion, setDescription, setDescriptionAction, setId, setName, setParametersMap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilterModel

public FilterModel()
Constructor Store the class name

Method Detail

addParam

public final void addParam(FilterParameter param)
Method to add a parameter in subclasses

Parameters:
param - the parameter to add

getParameterByName

public final FilterParameter getParameterByName(java.lang.String name)
Return the parameter by name

Parameters:
name - the parameter name
Returns:
the corresponding parameter

setParent

public final void setParent(java.lang.String parent)
Sets the value of parent

Parameters:
parent - the parent to set

getParent

public final java.lang.String getParent()
Gets the parent value

Returns:
the parent

setFilterClassName

public final void setFilterClassName(java.lang.String filterClassName)
Sets the value of filterClassName

Parameters:
filterClassName - the filterClassName to set

getFilterClassName

public final java.lang.String getFilterClassName()
Gets the filterClassName value

Returns:
the filterClassName

getValidator

public Validator<FilterModel> getValidator()
Description copied from interface: Validable
Get the Validator on a Object

Specified by:
getValidator in interface Validable
Returns:
the validator on a object


Copyright © 2010-2013 CNES. All Rights Reserved.