com.softwareag.mdm.adaptation
Class AdaptationName

java.lang.Object
  extended bycom.softwareag.mdm.adaptation.AdaptationName
Direct Known Subclasses:
AdaptationReference

public abstract class AdaptationName
extends Object

Identifies an adaptation. Several implementations are provided:

An adaptation is retrieved by calling method AdaptationHome.findAdaptationOrNull(AdaptationName).

See Also:
AdaptationHome.findAdaptationOrNull(AdaptationName), resolve()

Constructor Summary
AdaptationName()
           
 
Method Summary
static AdaptationName forName(String aName)
          Returns an instance of AdaptationReference or a temporary activation name if the string has a specific internal format.
abstract  String getStringName()
          Returns the string that identifies this instance.
 Adaptation resolve()
          Deprecated. Replaced by AdaptationHome.findAdaptationOrNull(AdaptationName)
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AdaptationName

public AdaptationName()
Method Detail

forName

public static AdaptationName forName(String aName)
Returns an instance of AdaptationReference or a temporary activation name if the string has a specific internal format.

Throws:
IllegalArgumentException - if identifier does not conform to AdaptationReference.REFERENCE_PATTERN.
See Also:
AdaptationReference.forPersistentName(String)

getStringName

public abstract String getStringName()
Returns the string that identifies this instance.


resolve

public Adaptation resolve()
Deprecated. Replaced by AdaptationHome.findAdaptationOrNull(AdaptationName)

Looks up in the Reference branch an adaptation with this name.


toString

public String toString()


(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.