Package com.cobber.fta
Interface LTRandom
-
- All Known Implementing Classes:
Aadhar_IN
,Address2EN
,AddressEN
,CheckDigitABA
,CheckDigitCUSIP
,CheckDigitEAN13
,CheckDigitIBAN
,CheckDigitISBN
,CheckDigitISIN
,CheckDigitLT
,CheckDigitLuhn
,CheckDigitSEDOL
,CoordinateDMS
,CountryEN
,DOWAbbr
,DOWFull
,EmailLT
,FirstName
,FreeText
,Gender
,GUID
,IN_JA
,IPV4Address
,IPV6Address
,JobTitleEN
,LastName
,LatitudeDMS
,LogicalType
,LogicalTypeCode
,LogicalTypeFinite
,LogicalTypeFiniteSimple
,LogicalTypeFiniteSimpleExternal
,LogicalTypeInfinite
,LogicalTypeRegExp
,LongitudeDMS
,MiddleName
,MonthAbbr
,MonthFull
,NameFirstLast
,NameLastFirst
,NAStateProvince
,NHS_UK
,PersonName
,PhoneNumberLT
,PostalCodeFR
,PostalCodeJA
,PostalCodeMX
,PostalCodeSE
,SSN_CH
,SSN_FR
,UKPostalCode
,URLLT
,USZip5
,USZipPlus4
,VIN
public interface LTRandom
This interface provides a nextRandom method which creates a new valid example of the Semantic Type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
nextRandom()
nextRandom will generate a random (secure) valid example of this Semantic Type.void
seed(byte[] seed)
Seed the secure random number generator used to create examples.
-
-
-
Method Detail
-
nextRandom
String nextRandom()
nextRandom will generate a random (secure) valid example of this Semantic Type.- Returns:
- a new valid example of the Semantic Type.
-
seed
void seed(byte[] seed)
Seed the secure random number generator used to create examples.- Parameters:
seed
- The Byte array used to seed the random number geerator.
-
-