Constructor and Description |
---|
ConstantPattern(java.lang.String patternDef)
The constructor method of ConstantPattern.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | getCode()
This method gets the constant string
|
char | getMaskCharacter()
This method gets the mask character
|
java.lang.String | getPatternDefinition()
This method gets the pattern constant string
|
java.math.BigDecimal | getPatternSpace()
This method gets the pattern code space size
|
void | setPatternDefinition(java.lang.String patternDef)
This method sets the pattern string
|
boolean | validatePattern()
This method validates the constant pattern
|
public ConstantPattern(java.lang.String patternDef)
public java.lang.String getCode()
public java.math.BigDecimal getPatternSpace()
public boolean validatePattern()
public java.lang.String getPatternDefinition()
public char getMaskCharacter()
The constant pattern is special and will use 0 as the mask character.
This value will never be used by code generator.
public void setPatternDefinition(java.lang.String patternDef)