public class ParameterCheckerDescriptor extends AbstractLogEnabled
Modifier and Type | Field and Description |
---|---|
protected String |
_concreteClass
The concrete class of the parameter checker
|
protected I18nizableText |
_description
The parameters checker's description
|
protected String |
_id
The parameter checker's id
|
protected I18nizableText |
_label
The parameter checker's label
|
protected String |
_largeIconPath
The path of the large icon
|
protected Set<String> |
_linkedParamsPaths
The configuration of the linked parameters
|
protected String |
_mediumIconPath
The path of the medium icon
|
protected ParameterChecker |
_parameterChecker
The concrete class of the parameter checker implementing the check
|
protected String |
_smallIconPath
The path of the small icon
|
protected String |
_uiRefLocation
The location of the parameter checker
|
protected int |
_uiRefOrder
The order of the parameter checker.
|
Constructor and Description |
---|
ParameterCheckerDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
getConcreteClass()
Retrieves the class of the parameter checker
|
I18nizableText |
getDescription()
Retrieves the parameter's checker description.
|
String |
getId()
Retrieves the parameter checker's id
|
I18nizableText |
getLabel()
Retrieves the parameter's checker label.
|
String |
getLargeIconPath()
Retrieves the parameter checker's icon
|
Set<String> |
getLinkedParamsPaths()
Retrieve the path of the parameters used by the parameter checker
|
String |
getMediumIconPath()
Retrieves the parameter checker's icon
|
ParameterChecker |
getParameterChecker()
Retrieves the parameter checker.
|
String |
getSmallIconPath()
Retrieves the parameter checker's icon
|
String |
getUiRefLocation()
Get the location of the parameter checker
|
int |
getUiRefOrder()
Gets the ui order of the parameter checker
|
void |
setClass(String concreteClass)
Sets the class of the parameter checker
|
void |
setDescription(I18nizableText description)
Sets the parameter's checker description.
|
void |
setId(String id)
Sets the parameter checker's id
|
void |
setLabel(I18nizableText label)
Sets the parameter's checker label.
|
void |
setLargeIconPath(String path)
Sets the icon path of the parameter checker
|
void |
setLinkedParamsPaths(Set<String> linkedParamsPaths)
Sets the parameters' ids used by the parameter checker
|
void |
setMediumIconPath(String path)
Sets the icon path of the parameter checker
|
void |
setParameterChecker(ParameterChecker parameterChecker)
Sets the parameter checker
|
void |
setSmallIconPath(String path)
Sets the icon path of the parameter checker
|
void |
setUiRefLocation(String uiRefLocation)
Set the location of the parameter checker
|
void |
setUiRefOrder(int uiRefOrder)
Sets the ui order
|
Map<String,Object> |
toJSON()
Get the description information to JSON format
|
void |
toSAX(ContentHandler handler)
SAX the description informations
|
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
protected I18nizableText _description
protected I18nizableText _label
protected String _smallIconPath
protected String _mediumIconPath
protected String _largeIconPath
protected String _concreteClass
protected int _uiRefOrder
protected String _uiRefLocation
protected Set<String> _linkedParamsPaths
protected ParameterChecker _parameterChecker
public ParameterCheckerDescriptor()
public void toSAX(ContentHandler handler) throws SAXException
handler
- The handler where to saxSAXException
- if an error occurredpublic Map<String,Object> toJSON()
public String getId()
public void setId(String id)
id
- the id of the parameter checkerpublic I18nizableText getLabel()
public void setLabel(I18nizableText label)
label
- the label of the parameter checkerpublic I18nizableText getDescription()
public void setDescription(I18nizableText description)
description
- the description of the parameter checkerpublic String getSmallIconPath()
public void setSmallIconPath(String path)
path
- the path of the small iconpublic String getMediumIconPath()
public void setMediumIconPath(String path)
path
- the path of the medium iconpublic String getLargeIconPath()
public void setLargeIconPath(String path)
path
- the path of the large iconpublic String getConcreteClass()
public void setClass(String concreteClass)
concreteClass
- the class of the parameter checkerpublic int getUiRefOrder()
public void setUiRefOrder(int uiRefOrder)
uiRefOrder
- the ui orderpublic String getUiRefLocation()
public void setUiRefLocation(String uiRefLocation)
uiRefLocation
- the location of the parameter checkerpublic Set<String> getLinkedParamsPaths()
public void setLinkedParamsPaths(Set<String> linkedParamsPaths)
linkedParamsPaths
- the parameters' ids used by the parameter checkerpublic ParameterChecker getParameterChecker()
public void setParameterChecker(ParameterChecker parameterChecker)
parameterChecker
- the parameter checker