public class UuidDomain extends RestrictedStringDomain
| Constructor and Description |
|---|
UuidDomain()
Creates a new UuidDomain instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(String value)
Returns true if the given value belongs to this domain.
|
protected DataValue<String> |
dataValueOf(String value)
Returns a
DataValue for the given value in this domain. |
protected void |
initLengthRange()
Defines the initial length range for values in this domain.
|
protected String |
newValue(ResolverContext context,
int length)
Returns a new random string of the given length for this domain.
|
protected boolean |
valuesEqual(String value1,
String value2)
Returns true if the given values are equal.
|
isRestrictedLength, setLengthRange, setLengthRange, setLengthRangecandidates, getLength, newValue, setExcludedStringsgetExcluded, getLengthRange, getMaxLength, getTypes, isNotExcluded, setExcluded, setLengthRange, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitarrayOf, arrayOf, arrayOf, contains, containsObject, select, selectValue, valueOfprotected DataValue<String> dataValueOf(String value)
DataValue for the given value in this domain.dataValueOf in class AbstractStringDomainprotected void initLengthRange()
initLengthRange in class SequenceDomain<String>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 AbstractStringDomainUUID.randomUUID()protected boolean valuesEqual(String value1, String value2)
valuesEqual in class SequenceDomain<String>Copyright © 2020 The Cornutum Project. All rights reserved.