站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

Key (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

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
 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

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.