Quick merlin/composition question:
I have a ComponentModel. I want to keep some sort of unique identifier to this model as the key to a map. Rather than use the model object itself as a key, is there a particular property which will guarantee me uniqueness within a deployment context?
Perhaps "model.getQualifiedName()" ?
Yes.
The value returned from "model.getQualifiedName()" is equivalent to the context entries "urn:avalon:partition" / "urn:avalon:name". I.e. its the full path address to the particular deployment model. The qualified name can be used in the containment model getModel( path ) operation to get back a uniquely identifiable model.
Stephen.
J. Aaron Farr SONY ELECTRONICS DDP-CIM (724) 696-7653
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--
|------------------------------------------------| | Magic by Merlin | | Production by Avalon | | | | http://avalon.apache.org/merlin | | http://dpml.net/merlin/distributions/latest | |------------------------------------------------|
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
