Class RestHeaderDefinition
java.lang.Object
com.aquima.interactions.communication.impl.RestHeaderDefinition
- All Implemented Interfaces:
IRestHeaderDefinition
This class holds the static definition of a rest header.
- Since:
- 9.0
- Author:
- Arjan Pragt
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
RestHeaderDefinition
(IRestHeaderDS datasource, IEntityDefinition entityDefinition, IRuleEngine ruleEngine) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the api documentation of the header.This method returns the attribute representing the content of the header.getName()
This method returns the name of the header.This method returns the validations of the attribute.boolean
This method returns whether the attribute representing the content of the header is multivalued.
-
Constructor Details
-
RestHeaderDefinition
protected RestHeaderDefinition(IRestHeaderDS datasource, IEntityDefinition entityDefinition, IRuleEngine ruleEngine)
-
-
Method Details
-
getName
Description copied from interface:IRestHeaderDefinition
This method returns the name of the header.- Specified by:
getName
in interfaceIRestHeaderDefinition
- Returns:
- The name of the header, may not be null.
-
getAttributeName
Description copied from interface:IRestHeaderDefinition
This method returns the attribute representing the content of the header.- Specified by:
getAttributeName
in interfaceIRestHeaderDefinition
- Returns:
- The content attribute, may not be null.
-
getApiDocumentation
Description copied from interface:IRestHeaderDefinition
This method returns the api documentation of the header.- Specified by:
getApiDocumentation
in interfaceIRestHeaderDefinition
- Returns:
- The api documentation of the header, may be null.
-
isAttributeMultivalued
public boolean isAttributeMultivalued()Description copied from interface:IRestHeaderDefinition
This method returns whether the attribute representing the content of the header is multivalued.- Specified by:
isAttributeMultivalued
in interfaceIRestHeaderDefinition
- Returns:
- Boolean indicating whether the attribute is multivalued
-
getValidations
Description copied from interface:IRestHeaderDefinition
This method returns the validations of the attribute.- Specified by:
getValidations
in interfaceIRestHeaderDefinition
- Returns:
- The validations of the attribute, may not be null.
-