Class RestUrnFragmentDefinition
java.lang.Object
com.aquima.interactions.communication.impl.RestUrnFragmentDefinition
- All Implemented Interfaces:
IRestUrnFragmentDefinition
This class holds the static definition of a rest url fragment.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestUrnFragmentDefinition
(IRestUrnFragmentDS datasource, IEntityDefinition entityDefinition, IRuleEngine ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the attribute definition of the dynamic value.This method returns the default value of the urn fragment.This method returns the validations of the attribute.
-
Constructor Details
-
RestUrnFragmentDefinition
protected RestUrnFragmentDefinition(IRestUrnFragmentDS datasource, IEntityDefinition entityDefinition, IRuleEngine ruleEngine)
-
-
Method Details
-
getConstant
Description copied from interface:IRestUrnFragmentDefinition
This method returns the default value of the urn fragment. A fragment is either a constant or dynamic. If dynamic this method must return null.- Specified by:
getConstant
in interfaceIRestUrnFragmentDefinition
- Returns:
- The constant value or null.
-
getAttributeName
Description copied from interface:IRestUrnFragmentDefinition
This method returns the attribute definition of the dynamic value. A fragment is either a constant or dynamic. If constant this method must return null.- Specified by:
getAttributeName
in interfaceIRestUrnFragmentDefinition
- Returns:
- The attribute definition or null.
-
getValidations
Description copied from interface:IRestUrnFragmentDefinition
This method returns the validations of the attribute.- Specified by:
getValidations
in interfaceIRestUrnFragmentDefinition
- Returns:
- The validations of the attribute, may not be null.
-