Package org.ametys.runtime.model
Interface ViewItem
- 
- All Known Subinterfaces:
 ModelViewItem<T>,ViewItemGroup
- All Known Implementing Classes:
 AbstractViewItemGroup,CompareView.AbstractCompareViewItemGroup,CompareView.CompareModelViewItemGroup,CompareView.CompareSimpleViewItemGroup,CompareView.CompareViewElement,ModelViewItemGroup,SimpleViewItemGroup,ViewElement
public interface ViewItem
Interface for view items 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Retrieves the name of the view itemMap<String,Object>toJSON()Converts the view item in a JSON map 
 - 
 
- 
- 
Method Detail
- 
toJSON
Map<String,Object> toJSON() throws ProcessingException
Converts the view item in a JSON map- Returns:
 - The view item as a JSON map
 - Throws:
 ProcessingException- If an error occurs when converting the view item
 
 - 
 
 -