public class AllowedTokensImpl extends AbstractSWEImpl implements AllowedTokens
Modifier and Type | Field and Description |
---|---|
protected Pattern |
compiledPattern |
protected String |
pattern |
protected List<String> |
valueList |
extensionList, id
Constructor and Description |
---|
AllowedTokensImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String value)
Adds a new value property
|
AllowedTokensImpl |
copy() |
protected String |
getAssertionMessage() |
int |
getNumValues()
Returns number of value properties
|
String |
getPattern()
Gets the pattern property
|
List<String> |
getValueList()
Gets the list of value properties
|
boolean |
isSetPattern()
Checks if pattern is set
|
boolean |
isValid(String value) |
void |
setPattern(String pattern)
Sets the pattern property
|
addExtension, copyTo, getExtensionList, getId, getNumExtensions, isSetId, setId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addExtension, getExtensionList, getId, getNumExtensions, isSetId, setId
public AllowedTokensImpl copy()
public boolean isValid(String value)
protected String getAssertionMessage()
public List<String> getValueList()
getValueList
in interface AllowedTokens
public int getNumValues()
getNumValues
in interface AllowedTokens
public void addValue(String value)
addValue
in interface AllowedTokens
public String getPattern()
getPattern
in interface AllowedTokens
public boolean isSetPattern()
isSetPattern
in interface AllowedTokens
public void setPattern(String pattern)
setPattern
in interface AllowedTokens
Copyright © 2016 Sensia Software LLC. All rights reserved.