Class AbstractCriteria
java.lang.Object
com.almis.awe.model.entities.Element
com.almis.awe.model.entities.screen.component.Component
com.almis.awe.model.entities.screen.component.criteria.AbstractCriteria
- All Implemented Interfaces:
Copyable
,XMLNode
,Serializable
- Direct Known Subclasses:
AbstractButton
,AbstractGrid
,Column
,Criteria
,InfoCriteria
,Panelable
Abstract Criteria Class
Screen criteria
- Author:
- Pablo GARCIA - 28/JUN/2010
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve component tagGet elementGroupRetrieve help templategetReportStructure
(List<Element> printElementList, String label, com.fasterxml.jackson.databind.node.ObjectNode parameters, String dataSuffix) Get print element list (to be overwritten)getType()
Returns the element's TYPEboolean
Returns if criteria is capitalizeboolean
Returns if criteria is checkedboolean
Returns if criteria is checkEmptyboolean
Returns if criteria is checkInitialboolean
Returns if criteria is optionalboolean
Check if component is printableboolean
Returns if criteria is readonlyboolean
If validation is set to required, returns trueboolean
Returns if criteria is showFutureDatesboolean
Returns if criteria is showing a sliderboolean
Returns if criteria is showTodayButtonboolean
Returns if criteria is showWeekendsboolean
isStrict()
Returns if criteria is capitalizeMethods inherited from class com.almis.awe.model.entities.screen.component.Component
generateTemplate, getContextMenuConverter, getDependencyConverter, getTemplate, isAutoload, isLoadAll, isVisible
Methods inherited from class com.almis.awe.model.entities.Element
addElement, generateHelpTemplate, generateHelpTemplate, getChildrenByType, getElementKey, getElementList, getElementsById, getElementsByType, getElementsByType
-
Constructor Details
-
AbstractCriteria
public AbstractCriteria()
-
-
Method Details
-
isChecked
public boolean isChecked()Returns if criteria is checked- Returns:
- criteria is checked
-
isShowSlider
public boolean isShowSlider()Returns if criteria is showing a slider- Returns:
- criteria show slider
-
isReadonly
public boolean isReadonly()Returns if criteria is readonly- Returns:
- criteria is readonly
-
isCapitalize
public boolean isCapitalize()Returns if criteria is capitalize- Returns:
- criteria is capitalize
-
isStrict
public boolean isStrict()Returns if criteria is capitalize- Returns:
- criteria is capitalize
-
isOptional
public boolean isOptional()Returns if criteria is optional- Returns:
- criteria is optional
-
isCheckEmpty
public boolean isCheckEmpty()Returns if criteria is checkEmpty- Returns:
- criteria is checkEmpty
-
isCheckInitial
public boolean isCheckInitial()Returns if criteria is checkInitial- Returns:
- criteria is checkInitial
-
isShowWeekends
public boolean isShowWeekends()Returns if criteria is showWeekends- Returns:
- criteria is showWeekends
-
isShowFutureDates
public boolean isShowFutureDates()Returns if criteria is showFutureDates- Returns:
- criteria is showFutureDates
-
isShowTodayButton
public boolean isShowTodayButton()Returns if criteria is showTodayButton- Returns:
- criteria is showTodayButton
-
getComponentTag
Retrieve component tag- Overrides:
getComponentTag
in classComponent
- Returns:
- Component tag
-
isRequiredConverter
public boolean isRequiredConverter()If validation is set to required, returns true- Returns:
- required required value
-
getType
Returns the element's TYPE- Returns:
- Element TYPE
-
getElementGroup
Get elementGroup- Returns:
- key
-
getHelpTemplate
Description copied from class:Element
Retrieve help template- Overrides:
getHelpTemplate
in classElement
- Returns:
- Help template
-
isPrintable
public boolean isPrintable()Check if component is printable- Returns:
- Component is printable
-
getReportStructure
public List<Element> getReportStructure(List<Element> printElementList, String label, com.fasterxml.jackson.databind.node.ObjectNode parameters, String dataSuffix) Get print element list (to be overwritten)- Overrides:
getReportStructure
in classElement
- Parameters:
printElementList
- Print element listlabel
- Last labelparameters
- ParametersdataSuffix
- Data suffix- Returns:
- Print bean
-