Package com.aquima.interactions.composer
Interface IRepeatExpression
- All Known Implementing Classes:
RepeatExpression
public interface IRepeatExpression
Interface describing a repeat expression that can be used for element references in the composer.
- Since:
- 7.0
- Author:
- Jon van Leuven
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns the expression that result in instances.This method returns the optional reference to an element that should be used when the repeat expression results in no instances.This method returns the optional attribute used for sorting the instances.boolean
This method returns a flag indicating if the repeat expression is a relation attribute.boolean
This method returns the optional flag indicating the sort order.
-
Method Details
-
getExpression
IExpression getExpression()This method returns the expression that result in instances.- Returns:
- The repeat expression, never null.
-
isSortAscending
boolean isSortAscending()This method returns the optional flag indicating the sort order.- Returns:
- Flag indicating the sort order.
-
getSortAttribute
String getSortAttribute()This method returns the optional attribute used for sorting the instances.- Returns:
- The attribute name, may be null.
-
getNoResultElement
AbstractReference getNoResultElement()This method returns the optional reference to an element that should be used when the repeat expression results in no instances.- Returns:
- The element reference, may be null.
-
isRelationAttribute
boolean isRelationAttribute()This method returns a flag indicating if the repeat expression is a relation attribute.- Returns:
- Flag indicating if the repeat expression is a relation attribute.
-