public abstract class RestrictedStringDomain extends AbstractStringDomain
| Modifier | Constructor and Description |
|---|---|
protected |
RestrictedStringDomain(int maxLength)
Creates a new RestrictedStringDomain instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isRestrictedLength()
Returns true if sequences in this domain are restricted to a constant length.
|
void |
setLengthRange(Integer length)
Defines a constant length range for values in this domain.
|
void |
setLengthRange(Integer min,
Integer max)
Defines the length range for values in this domain.
|
void |
setLengthRange(NumberDomain.Range range)
Defines the length range for values in this domain.
|
candidates, dataValueOf, getLength, newValue, newValue, setExcludedStringscontains, getExcluded, getLengthRange, getMaxLength, getTypes, initLengthRange, isNotExcluded, setExcluded, setLengthRange, toString, values, valuesEqualclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarrayOf, arrayOf, arrayOf, contains, containsObject, select, selectValue, valueOfprotected RestrictedStringDomain(int maxLength)
public void setLengthRange(Integer length)
setLengthRange in class SequenceDomain<String>public void setLengthRange(Integer min, Integer max)
setLengthRange in class SequenceDomain<String>public void setLengthRange(NumberDomain.Range range)
setLengthRange in class SequenceDomain<String>protected boolean isRestrictedLength()
isRestrictedLength in class SequenceDomain<String>Copyright © 2020 The Cornutum Project. All rights reserved.