Package com.onwbp.adaptation
Class AdaptationReference
- java.lang.Object
- com.onwbp.adaptation.AdaptationName
- com.onwbp.adaptation.AdaptationReference
 
 
 - public final class AdaptationReference extends AdaptationName Uniquely identifies a dataset in a given dataspace or snapshot. The dataset reference is persistent.- See Also:
- Adaptation.getDatasetReference()
 
-   Field SummaryFields Modifier and Type Field Description static intMAX_LENGTHMaximum length of a reference string: 64.static StringREFERENCE_PATTERNRegular expression that controls the syntax of a dataset reference.
 -   Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckAdaptationReferenceStringName (String stringName)Throws anIllegalArgumentExceptionif the syntax of theStringparameter is not valid for the creation of anAdaptationReference.booleanequals (Object x)static AdaptationReferenceforPersistentName (String aPublicName)Returns a reference to a dataset given its name.StringgetStringName()Returns the string name.inthashCode()-   Methods inherited from class com.onwbp.adaptation.AdaptationNameforName, toString
 
-   
 
-   
-   Field Detail- MAX_LENGTH- public static final int MAX_LENGTH Maximum length of a reference string: 64.- See Also:
- Constant Field Values
 
 - REFERENCE_PATTERN- public static final String REFERENCE_PATTERN Regular expression that controls the syntax of a dataset reference. The regular expression is:- "[a-zA-Z_][-a-zA-Z0-9_.]*" - See Also:
- Constant Field Values
 
 
 -   Method Detail- checkAdaptationReferenceStringName- public static void checkAdaptationReferenceStringName(String stringName) Throws an- IllegalArgumentExceptionif the syntax of the- Stringparameter is not valid for the creation of an- AdaptationReference.
 - forPersistentName- public static AdaptationReference forPersistentName(String aPublicName) Returns a reference to a dataset given its name.
 - getStringName- public String getStringName() Description copied from class:- AdaptationNameReturns the string name.- Specified by:
- getStringNamein class- AdaptationName
 
 
 
-