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

Key (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

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

public 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

public 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

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.