Package net.datafaker.providers.base
Class BloodType
- Since:
- 1.4.0
-
Field Summary
Fields inherited from class net.datafaker.providers.base.AbstractProvider
faker
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
BloodType
-
-
Method Details
-
aboTypes
This method returns a ABO blood type- Returns:
- a string of ABO blood type
-
rhTypes
This method returns an Rh blood type- Returns:
- a string of Rh blood type
-
pTypes
This method returns a P blood type- Returns:
- a string of P blood type
-
bloodGroup
Returns a blood group such as O−, O+, A-, A+, B-, B+, AB-, AB+- Returns:
- a blood group such as O−, O+, A-, A+, B-, B+, AB-, AB+
-