public final class AdaptationReference extends AdaptationName
Adaptation.getDatasetReference()| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LENGTH
Maximum length of a reference string: 64.
|
static String |
REFERENCE_PATTERN
Regular expression that controls the syntax of a dataset reference.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
checkAdaptationReferenceStringName(String stringName)
Throws an
IllegalArgumentException if the syntax of the
String parameter is not valid for the creation of an
AdaptationReference. |
boolean |
equals(Object x) |
static AdaptationReference |
forPersistentName(String aPublicName)
Returns a reference to a dataset given its name.
|
String |
getStringName()
Returns the string name.
|
int |
hashCode() |
forName, toStringpublic static final int MAX_LENGTH
public static final String REFERENCE_PATTERN
"[a-zA-Z_][-a-zA-Z0-9_.]*"
public static void checkAdaptationReferenceStringName(String stringName)
IllegalArgumentException if the syntax of the
String parameter is not valid for the creation of an
AdaptationReference.public static AdaptationReference forPersistentName(String aPublicName)
public String getStringName()
AdaptationNamegetStringName in class AdaptationName