Class PatternFormatEntry


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class PatternFormatEntry
    extends FormatEntry
    The Pattern masking format randomly selects values according to pattern to replace the original values.

    Rules Max Generated Data Length 30 characters Use ‘%c’ for a random lowercase letter Use ‘%C’ for a random uppercase letter Use ‘%u[]’ for a random character out of all characters enclosed in [] Use ‘%%’ for a ‘%’ Use ‘%d’ for a random digit Use ‘%nd’,‘%nc’, ‘%nC’, or ‘%nu[]’ n random letters or digits or characters enclosed in [], n can be 0-9 only Any other character will be included as it is Examples %3d-%5C will generate 416-JQPCS %3d-%5c will generate 392-dehco %u[$^#] will generate $ %%%3d will generate %704
    Note: Objects should always be created or deserialized using the PatternFormatEntry.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the PatternFormatEntry.Builder, which maintain a set of all explicitly set fields called PatternFormatEntry.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).