Summary Table
Categories |
Total Count |
PII |
0 |
URL |
0 |
DNS |
0 |
EKL |
0 |
IP |
0 |
PORT |
0 |
VsID |
0 |
CF |
0 |
AI |
0 |
VPD |
0 |
PL |
0 |
Other |
0 |
File Content
package gov.va.med.pbm.ampl.constant;
/**
* This class consists of constants used by the API.
*
* @author Ian Meinert
* @since 1.0
*/
public class AmplConstants {
/**
* Default constructor for the static methods.
*/
private AmplConstants() {
// Not used
}
/**
* The maximum value for a random int range.
*/
public static final int RANDOM_MAX_INT_RANGE = 9999999;
/**
* The maximum value for a random long range.
*/
public static final long RANDOM_MAX_LONG_RANGE = 9999999;
/**
* The maximum value for the hour in a random time.
*/
public static final int RANDOM_TIME_HOUR_MAX = 23;
/**
* The maximum value for the minue in a random time.
*/
public static final int RANDOM_TIME_MIN_MAX = 59;
/**
* The maximum value for the second in a random time.
*/
public static final int RANDOM_TIME_SEC_MAX = 59;
/**
* Constant representation of the number 0.3.
*/
public static final Float ZERO_POINT_THREE = 0.3F;
/**
* Constant representation of the BSA Dubois formula using meter for height.
*/
public static final double BSA_FACT_M = 0.20247;
/**
* Constant representation of the BSA Dubois formula weight exponent.
*/
public static final double BSA_WT_EXP = 0.425;
/**
* Constant representation of the BSA Dubois formula height exponent.
*/
public static final double BSA_HT_EXP = 0.725;
/**
* Constant representation of the number 0.85.
*/
public static final double ZERO_POINT_EIGHTY_FIVE = 0.85;
/**
* Constant representation of the number 1.
*/
public static final int NUMBER_ONE = 1;
/**
* Constant representation of the number 1.3.
*/
public static final double ONE_POINT_THREE = 1.3;
/**
* Constant representation of the number 2.
*/
public static final int NUMBER_TWO = 2;
/**
* Constant representation of the number 2.3.
*/
public static final Float TWO_POINT_THREE = 2.3F;
/**
* Constant representation of the number 3.
*/
public static final int NUMBER_THREE = 3;
/**
* Constant representation of the number 5.
*/
public static final int FIVE = 5;
/**
* Constant representation of the number 25.
*/
public static final int DEFAULT_PAGE_SIZE = 25;
/**
* Constant representation of the prime number 31.
*/
public static final int PRIME_NUMBER = 31;
/**
* Constant representation of the number 45.
*/
public static final int FOURTY_FIVE = 45;
/**
* Constant representation of the number 50.
*/
public static final int FIFTY = 50;
/**
* Constant representation of the number 60.
*/
public static final int SIXTY = 60;
/**
* Constant representation of the number 72.
*/
public static final int SEVENTY_TWO = 72;
/**
* Constant representation of the number 100.
*/
public static final int MATH_ROUND_ONE_HUNDRED = 100;
/**
* Constant representation of the number 140.
*/
public static final int ONE_HUNDRED_FOURTY = 140;
/**
* Maximum length for a string. Used to mitigate Denial of Service security vulnerability.
*/
public static final int MAX_STR_LEN = 10000;
/**
* The string constant representing the AND keyword for search operations.
*/
public static final String AND_OPERATOR = "AND";
/**
* The string constant representing the OR keyword for search operations.
*/
public static final String OR_OPERATOR = "OR";
/**
* The string constant representing the OR keyword delimitor for search operations.
*/
public static final String OR_FILTER_DELIMITER = "\" \"";
}