Class UUIDAnonymizer
java.lang.Object
com.rolfje.anonimatron.anonymizer.UUIDAnonymizer
- All Implemented Interfaces:
Anonymizer
-
Constructor Details
-
UUIDAnonymizer
public UUIDAnonymizer()
-
-
Method Details
-
anonymize
Description copied from interface:AnonymizerAnonymizes the given data into a non-tracable, non-reversible synonym, and does it consistently, so that A always translates to B.- Specified by:
anonymizein interfaceAnonymizer- Parameters:
from- the data to be anonymized, usually passed in as aString,Integer,Dateor other classes which can be stored in a single JDBC database column.size- the optional maximum size of the generated valueshortlived- indicates that the generated synonym must have theSynonym.isShortLived()boolean set- Returns:
- a
Synonym
-
getType
- Specified by:
getTypein interfaceAnonymizer- Returns:
- The ID or name of this anonymizer, as used in the XML configuration file. This is generally something along the lines of "LASTNAME" or "UNEVENNUMBER". Please see the output of the -configexample command line option when running Anonimatron.
-