Class KeyImpl

  • All Implemented Interfaces:
    Serializable, javax.xml.registry.infomodel.Key

    public class KeyImpl
    extends Object
    implements javax.xml.registry.infomodel.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 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 javax.xml.registry.JAXRException
        Specified by:
        getId in interface javax.xml.registry.infomodel.Key
        Throws:
        javax.xml.registry.JAXRException
      • setId

        public void setId​(String id)
        Specified by:
        setId in interface javax.xml.registry.infomodel.Key