Class Anonymizer.AbstractAnonymizer<V,R>

java.lang.Object
overit.geocall.basic.anonymizer.Anonymizer.AbstractAnonymizer<V,R>
Direct Known Subclasses:
Anonymizer.CoordinateAnonymizer, Anonymizer.DateAnonymizer, Anonymizer.DoubleAnonymizer, Anonymizer.EmailAnonymizer, Anonymizer.IntegerAnonymizer, Anonymizer.ItalianFiscalCodeAnonymizer, Anonymizer.LongAnonymizer, Anonymizer.PhoneAnonymizer, Anonymizer.TextAnonymizer, Anonymizer.TimeAnonymizer
Enclosing class:
Anonymizer

protected abstract class Anonymizer.AbstractAnonymizer<V,R> extends Object
  • Field Details

    • _field

      protected String _field
  • Constructor Details

    • AbstractAnonymizer

      protected AbstractAnonymizer(String field)
  • Method Details

    • setValue

      public R setValue(V value)
      Set forcibly the value for the field.
      Parameters:
      value - value that will be assigned to that field. If null, will be set the null value. If the context doesn't contains the field, nothing will happens.
      Returns:
      a reference of this object.
    • validate

      protected void validate(V value)