|
Key |
javax.xml.registry.infomodel |
JAXR 1.0; JWSDP 1.0, J2EE 1.4 |
|
public interface Key {
// Public Instance Methods
public abstract String getId( )
throws javax.xml.registry.JAXRException; //L0
public abstract void setId(String id)
throws javax.xml.registry.JAXRException; //L0
}
A Key object represents the unique key allocated
to a RegistryObject when it is first added to the
registry. The Key contains a string-valued
identifier that can be retrieved using the getId(
) method and set using setId( ).
Changing the identifier has the effect of changing the object in the
registry with which the RegistryObject is
associated. In general, you should allow the registry to assign the
key for a new registry object. However, ebXML registries also allow
the registry client to specify the key.
Passed To
javax.xml.registry.BusinessQueryManager.{findServiceBindings(
), findServices( )},
javax.xml.registry.RegistryException.setErrorObjectKey(
), RegistryObject.setKey( )
Returned By
javax.xml.registry.LifeCycleManager.createKey( ),
javax.xml.registry.RegistryException.getErrorObjectKey(
), RegistryObject.getKey( )