public class PropertyNameDomain extends AbstractStringDomain
| Constructor and Description |
|---|
PropertyNameDomain()
Creates a new PropertyNameDomain instance.
|
PropertyNameDomain(int minLength,
int maxLength)
Creates a new PropertyNameDomain instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String value)
Returns true if the given value belongs to this domain.
|
String |
getNameChars()
Returns the set of chars allowed in property names for this domain.
|
protected String |
newValue(ResolverContext context,
int length)
Returns a new random string of the given length for this domain.
|
void |
setNameChars(String nameChars)
Changes the set of chars allowed in property names for this domain.
|
candidates, dataValueOf, getLength, newValue, setExcludedStringsgetExcluded, getLengthRange, getMaxLength, getTypes, initLengthRange, isNotExcluded, isRestrictedLength, setExcluded, setLengthRange, setLengthRange, setLengthRange, setLengthRange, toString, values, valuesEqualclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarrayOf, arrayOf, arrayOf, contains, containsObject, select, selectValue, valueOfpublic PropertyNameDomain()
public PropertyNameDomain(int minLength,
int maxLength)
public void setNameChars(String nameChars)
public String getNameChars()
public boolean contains(String value)
contains in interface ValueDomain<String>contains in class SequenceDomain<String>protected String newValue(ResolverContext context, int length)
newValue in class AbstractStringDomainCopyright © 2020 The Cornutum Project. All rights reserved.