Interface IRestHeaderDefinition
- All Known Implementing Classes:
RestHeaderDefinition
public interface IRestHeaderDefinition
This interface defines the header of a rest message.
- Since:
- 9.0
- Author:
- a.pragt
-
Method Summary
Modifier and TypeMethodDescriptionThis 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.
-
Method Details
-
getName
String getName()This method returns the name of the header.- Returns:
- The name of the header, may not be null.
-
getAttributeName
String getAttributeName()This method returns the attribute representing the content of the header.- Returns:
- The content attribute, may not be null.
-
isAttributeMultivalued
boolean isAttributeMultivalued()This method returns whether the attribute representing the content of the header is multivalued.- Returns:
- Boolean indicating whether the attribute is multivalued
-
getValidations
IFieldValidationDefinition[] getValidations()This method returns the validations of the attribute.- Returns:
- The validations of the attribute, may not be null.
-