public final class AlgorithmLogicalField
extends java.lang.Object
Constructor and Description |
---|
AlgorithmLogicalField(java.lang.String name,
MaskingAlgorithm.MaskingType type)
Constructor.
|
AlgorithmLogicalField(java.lang.String name,
MaskingAlgorithm.MaskingType type,
java.lang.String description,
boolean isReadOnly,
boolean isOptional)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
MaskingAlgorithm.MaskingType |
getType() |
boolean |
isOptional() |
boolean |
isReadOnly() |
public AlgorithmLogicalField(@Nonnull java.lang.String name, @Nonnull MaskingAlgorithm.MaskingType type)
name
- The name of the field, which must be unique among all fields for the algorithm.type
- The mask type of the field.public AlgorithmLogicalField(@Nonnull java.lang.String name, @Nonnull MaskingAlgorithm.MaskingType type, java.lang.String description, boolean isReadOnly, boolean isOptional)
name
- The name of the field, which must be unique among all fields for the algorithm.type
- The mask type of the field.description
- An optional text description of the field or its usageisReadOnly
- When this is true, the algorithm consumes this field as input, but does not
mask it.isOptional
- Whether this field must be present for the masking assignment to be
considered valid.public java.lang.String getName()
public MaskingAlgorithm.MaskingType getType()
public java.lang.String getDescription()
public boolean isReadOnly()
public boolean isOptional()