Class ReportingRestUrnArgumentDS
java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.communication.report.ReportingRestUrnArgumentDS
- All Implemented Interfaces:
IRestUrnArgumentDS
,IReportingDS
IRestUrnArgumentDS implementation that adds error reporting.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Field Summary
Fields inherited from interface com.aquima.interactions.communication.ds.IRestUrnArgumentDS
CATEGORY
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ReportingRestUrnArgumentDS
(IInitializationReport report, IRestUrnArgumentDS datasource) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the attribute name of the fragment.This method returns the constant value of the fragment.getName()
This method returns the name of the argument, may not be null.boolean
This method returns whether the urn fragment is required or not.void
This method iterates about the validations of the argument.Methods inherited from class com.aquima.interactions.foundation.report.ReportingDS
addError, addMessage, getCategory, getReport
-
Constructor Details
-
ReportingRestUrnArgumentDS
-
-
Method Details
-
getName
Description copied from interface:IRestUrnArgumentDS
This method returns the name of the argument, may not be null.- Specified by:
getName
in interfaceIRestUrnArgumentDS
- Returns:
- The name of the argument.
-
getConstant
Description copied from interface:IRestUrnArgumentDS
This method returns the constant value of the fragment. Either this method may return a value or the attributename, otherwise null.- Specified by:
getConstant
in interfaceIRestUrnArgumentDS
- Returns:
- The constant value of the fragment.
-
getAttributeName
Description copied from interface:IRestUrnArgumentDS
This method returns the attribute name of the fragment. Either this method may return a value or the attributename, otherwise null.- Specified by:
getAttributeName
in interfaceIRestUrnArgumentDS
- Returns:
- The attributename representing the value of the fragment.
-
isRequired
public boolean isRequired()Description copied from interface:IRestUrnArgumentDS
This method returns whether the urn fragment is required or not. The default value is true.- Specified by:
isRequired
in interfaceIRestUrnArgumentDS
- Returns:
- If the argument is required, defaults to true.
-
iterateValidations
Description copied from interface:IRestUrnArgumentDS
This method iterates about the validations of the argument.- Specified by:
iterateValidations
in interfaceIRestUrnArgumentDS
- Parameters:
visitor
- The visitor accepting the validations.
-