public class ItemCheckerDescriptor extends AbstractLogEnabled implements ModifiableLabelable
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 ItemChecker |
_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 |
---|
ItemCheckerDescriptor() |
Modifier and Type | Method and Description |
---|---|
String |
getConcreteClass()
Retrieves the class of the parameter checker
|
I18nizableText |
getDescription()
Retrieves the description.
|
String |
getId()
Deprecated.
use
getName() instead |
I18nizableText |
getLabel()
Retrieves the 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
|
String |
getName()
Get the name.
|
ItemChecker |
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)
Set the description.
|
void |
setId(String id)
Deprecated.
use
setName(String) instead |
void |
setLabel(I18nizableText label)
Set the 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 |
setName(String name)
Set the name.
|
void |
setParameterChecker(ItemChecker 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 ItemChecker _parameterChecker
public ItemCheckerDescriptor()
public void toSAX(ContentHandler handler) throws SAXException
handler
- The handler where to saxSAXException
- if an error occurredpublic Map<String,Object> toJSON()
@Deprecated public String getId()
getName()
insteadpublic void setName(String name)
ModifiableLabelable
setName
in interface ModifiableLabelable
name
- the name.@Deprecated public void setId(String id)
setName(String)
insteadid
- the id of the parameter checkerpublic I18nizableText getLabel()
Labelable
public void setLabel(I18nizableText label)
ModifiableLabelable
setLabel
in interface ModifiableLabelable
label
- the label.public I18nizableText getDescription()
Labelable
getDescription
in interface Labelable
public void setDescription(I18nizableText description)
ModifiableLabelable
setDescription
in interface ModifiableLabelable
description
- the description.public 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 ItemChecker getParameterChecker()
public void setParameterChecker(ItemChecker parameterChecker)
parameterChecker
- the parameter checker