public abstract class AbstractReplacementValue
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_SELECTION
This type of replacement is used for when there are multiple values available to choose from.
|
Constructor and Description |
---|
AbstractReplacementValue(java.lang.String id,
java.lang.String columnName,
java.lang.String description,
boolean shouldEnforce,
java.lang.String pattern,
java.lang.String defaultValue) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(java.lang.String value) |
void |
addValues(java.util.Collection<java.lang.String> newValues) |
java.lang.Object |
clone() |
java.lang.String |
getColumnName() |
java.lang.String |
getDefaultValue() |
java.lang.String |
getDescription() |
java.lang.String |
getId() |
java.lang.String |
getPattern() |
java.util.List<java.lang.String> |
getValues() |
void |
setShouldEnforce(boolean shouldEnforce) |
boolean |
shouldEnforce() |
public static final int TYPE_SELECTION
public AbstractReplacementValue(java.lang.String id, java.lang.String columnName, java.lang.String description, boolean shouldEnforce, java.lang.String pattern, java.lang.String defaultValue)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getId()
public java.lang.String getColumnName()
public boolean shouldEnforce()
public void setShouldEnforce(boolean shouldEnforce)
public java.util.List<java.lang.String> getValues()
public void addValue(java.lang.String value)
public void addValues(java.util.Collection<java.lang.String> newValues)
public java.lang.String getDescription()
public java.lang.String getPattern()
public java.lang.String getDefaultValue()