javax.xml.registry.infomodel

## Interface Key

-     public interface Key

  Represents a unique key that identifies a RegistryObject. Must be a DCE 128 UUID.
  Author:
    Farrukh S. Najmi
  See Also:
    `RegistryObject`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()` Returns the unique Id of this key.
    `void` | `setId(String id)` Sets the unique id associated with this key.

- - ### Method Detail

    - #### getId

          String getId()
                       throws JAXRException

      Returns the unique Id of this key. Default is a NULL String.

      Capability Level: 0
      Returns:
        the id for this object
      Throws:
        `JAXRException` - If the JAXR provider encounters an internal error

    - #### setId

          void setId(String id)
                     throws JAXRException

      Sets the unique id associated with this key.

      Capability Level: 0
      Parameters:
        `id` - the id being defined for this object
      Throws:
        `JAXRException` - If the JAXR provider encounters an internal error

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.