public final class AdaptationReference extends AdaptationName
Adaptation.getDatasetReference()| Modifier and Type | Field and Description | 
|---|---|
| static int | MAX_LENGTHMaximum length of a reference string: 64. | 
| static String | REFERENCE_PATTERNRegular expression that controls the syntax of a dataset reference. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | checkAdaptationReferenceStringName(String stringName)Throws an  IllegalArgumentExceptionif the syntax of theStringparameter is not valid for the creation of anAdaptationReference. | 
| 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