fr.cnes.sitools.common.model
Class ExtensionModel<E extends ExtensionParameter>

java.lang.Object
  extended by org.restlet.engine.Helper
      extended by fr.cnes.sitools.common.model.ExtensionModel<E>
Type Parameters:
E - the parameter extension
All Implemented Interfaces:
IResource
Direct Known Subclasses:
AbstractExtension, ApplicationPluginModel, ConverterModel, FilterModel, FilterModel, ResourceModel

public abstract class ExtensionModel<E extends ExtensionParameter>
extends org.restlet.engine.Helper
implements IResource

Base class for all plugin models

Author:
m.marseille (AKKA Technologies)

Constructor Summary
ExtensionModel()
          Constructor
 
Method Summary
 java.lang.String getClassAuthor()
          Gets the classAuthor value
 java.lang.String getClassName()
          Gets the className value
 java.lang.String getClassOwner()
          Gets the classOwner value
 java.lang.String getClassVersion()
          Gets the classVersion value
 java.lang.String getDescription()
          Gets the description value
 java.lang.String getDescriptionAction()
          Gets the descriptionAction value
 java.lang.String getId()
          Gets the id value
 java.lang.String getName()
          Gets the name value
 java.util.Map<java.lang.String,E> getParametersMap()
          Gets the Map of parameters of the ExtensionModel.
 void setClassAuthor(java.lang.String classAuthor)
          Sets the value of classAuthor
 void setClassName(java.lang.String className)
          Sets the value of className
 void setClassOwner(java.lang.String classOwner)
          Sets the value of classOwner
 void setClassVersion(java.lang.String classVersion)
          Sets the value of classVersion
 void setDescription(java.lang.String description)
          Sets the value of description
 void setDescriptionAction(java.lang.String descriptionAction)
          Sets the value of descriptionAction
 void setId(java.lang.String id)
          Sets the value of id
 void setName(java.lang.String name)
          Sets the value of name
 void setParametersMap(java.util.Map<java.lang.String,E> parametersMap)
          Sets the value of parametersMap
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionModel

public ExtensionModel()
Constructor

Method Detail

setId

public final void setId(java.lang.String id)
Sets the value of id

Specified by:
setId in interface IResource
Parameters:
id - the id to set

getId

public final java.lang.String getId()
Gets the id value

Specified by:
getId in interface IResource
Returns:
the id

setName

public final void setName(java.lang.String name)
Sets the value of name

Parameters:
name - the name to set

getName

public final java.lang.String getName()
Gets the name value

Specified by:
getName in interface IResource
Returns:
the name

setDescription

public final void setDescription(java.lang.String description)
Sets the value of description

Parameters:
description - the description to set

getDescription

public final java.lang.String getDescription()
Gets the description value

Specified by:
getDescription in interface IResource
Returns:
the description

setClassName

public final void setClassName(java.lang.String className)
Sets the value of className

Parameters:
className - the className to set

getClassName

public final java.lang.String getClassName()
Gets the className value

Returns:
the className

setDescriptionAction

public final void setDescriptionAction(java.lang.String descriptionAction)
Sets the value of descriptionAction

Parameters:
descriptionAction - the descriptionAction to set

getDescriptionAction

public final java.lang.String getDescriptionAction()
Gets the descriptionAction value

Returns:
the descriptionAction

setClassVersion

public final void setClassVersion(java.lang.String classVersion)
Sets the value of classVersion

Parameters:
classVersion - the classVersion to set

getClassVersion

public final java.lang.String getClassVersion()
Gets the classVersion value

Returns:
the classVersion

setClassAuthor

public final void setClassAuthor(java.lang.String classAuthor)
Sets the value of classAuthor

Parameters:
classAuthor - the classAuthor to set

getClassAuthor

public final java.lang.String getClassAuthor()
Gets the classAuthor value

Returns:
the classAuthor

getClassOwner

public java.lang.String getClassOwner()
Gets the classOwner value

Returns:
the classOwner

setClassOwner

public void setClassOwner(java.lang.String classOwner)
Sets the value of classOwner

Parameters:
classOwner - the classOwner to set

setParametersMap

public void setParametersMap(java.util.Map<java.lang.String,E> parametersMap)
Sets the value of parametersMap

Parameters:
parametersMap - the parametersMap to set

getParametersMap

public java.util.Map<java.lang.String,E> getParametersMap()
Gets the Map of parameters of the ExtensionModel.

Those parameters are used to configure the ExtensionModel. The developer can add some parameters in the Extension constructor, the administrator can change the parameters value

Returns:
the parametersMap


Copyright © 2010-2013 CNES. All Rights Reserved.