Package dev.amp.validator
Class ErrorCodeMetadata
- java.lang.Object
-
- dev.amp.validator.ErrorCodeMetadata
-
public class ErrorCodeMetadata extends Object
Error code meta data data holder.- Author:
- nhant01, GeorgeLuo
-
-
Constructor Summary
Constructors Constructor Description ErrorCodeMetadata()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormat()Getting the format.intgetSpecificity()Getting the specificity.voidsetFormat(String format)Setting the format.voidsetSpecificity(int specificity)Setting the specificity.
-
-
-
Method Detail
-
getFormat
public String getFormat()
Getting the format.- Returns:
- returns the format.
-
setFormat
public void setFormat(String format)
Setting the format.- Parameters:
format- the format.
-
getSpecificity
public int getSpecificity()
Getting the specificity.- Returns:
- returns the specificity.
-
setSpecificity
public void setSpecificity(int specificity)
Setting the specificity.- Parameters:
specificity- the specificity.
-
-