com.sun.xml.registry.uddi.infomodel
Class KeyImpl

java.lang.Object
  extended by com.sun.xml.registry.uddi.infomodel.KeyImpl
All Implemented Interfaces:
Serializable, Key

public class KeyImpl
extends Object
implements Key, Serializable

Implementation of the Key interface. This class contains a string representing the Key's id.

Author:
Bobby Bissett
See Also:
Serialized Form

Constructor Summary
KeyImpl()
          Default constructor.
KeyImpl(String keyId)
          Utility constructor
 
Method Summary
 String getId()
          Returns the unique Id of this key.
 void setId(String id)
          Sets the unique id associated with this key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyImpl

public KeyImpl()
Default constructor. Default for id is null.


KeyImpl

public KeyImpl(String keyId)
Utility constructor

Method Detail

getId

public String getId()
             throws JAXRException
Description copied from interface: Key
Returns the unique Id of this key. Default is a NULL String.

Capability Level: 0

Specified by:
getId in interface Key
Returns:
the id for this object
Throws:
JAXRException - If the JAXR provider encounters an internal error

setId

public void setId(String id)
Description copied from interface: Key
Sets the unique id associated with this key.

Capability Level: 0

Specified by:
setId in interface Key
Parameters:
id - the id being defined for this object


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.