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

java.lang.Object
  extended by com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
      extended by com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
          extended by com.sun.xml.registry.uddi.infomodel.RegistryEntryImpl
All Implemented Interfaces:
Serializable, ExtensibleObject, RegistryEntry, RegistryObject, Versionable
Direct Known Subclasses:
ClassificationSchemeImpl, ExtrinsicObjectImpl, RegistryPackageImpl, ServiceImpl

public class RegistryEntryImpl
extends RegistryObjectImpl
implements RegistryEntry, Versionable, Serializable

Implementation of RegistryEntry interface

Author:
Bobby Bissett
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
 
Constructor Summary
RegistryEntryImpl()
          Default constructor
RegistryEntryImpl(Key key)
          Constructor used by subclass to initialize RegistryObject data
RegistryEntryImpl(Key key, String description, String name)
          Constructor used by subclass to initialize RegistryObject data
 
Method Summary
 Date getExpiration()
          Level 1 method
 int getMajorVersion()
          Level 1 method
 int getMinorVersion()
          Level 1 method
 int getStability()
          Level 1 method
 int getStatus()
          Level 1 method
 String getUserVersion()
          Level 1 method
 void setExpiration(Date date)
          Level 1 method
 void setMajorVersion(int majorVersion)
          Level 1 method
 void setMinorVersion(int minorVersion)
          Level 1 method
 void setStability(int stability)
          Level 1 method
 void setUserVersion(String userVersion)
          Level 1 method
 
Methods inherited from class com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getRegistryService, getServiceId, getSubmittingOrganization, isDeleted, isLoaded, isModified, isNew, isRetrieved, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, removeSlot, removeSlots, setAssociations, setAssociationsLoaded, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setIsDeleted, setIsLoaded, setIsModified, setIsNew, setIsRetrieved, setKey, setLifeCycleManager, setName, setObjectType, setRegistryService, setServiceId, setStatusFlags, setSubmittingOrganization, toXML
 
Methods inherited from class com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
getSlot, getSlots
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML
 
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
 

Constructor Detail

RegistryEntryImpl

public RegistryEntryImpl()
Default constructor


RegistryEntryImpl

public RegistryEntryImpl(Key key,
                         String description,
                         String name)
Constructor used by subclass to initialize RegistryObject data


RegistryEntryImpl

public RegistryEntryImpl(Key key)
Constructor used by subclass to initialize RegistryObject data

Method Detail

getStatus

public int getStatus()
              throws JAXRException
Level 1 method

Specified by:
getStatus in interface RegistryEntry
Returns:
the life cycle status as an integer enumeration
Throws:
JAXRException - If the JAXR provider encounters an internal error

getStability

public int getStability()
                 throws JAXRException
Level 1 method

Specified by:
getStability in interface RegistryEntry
Returns:
the stability indicator as an integer enumeration
Throws:
JAXRException - If the JAXR provider encounters an internal error
See Also:
RegistryEntry.STABILITY_DYNAMIC

setStability

public void setStability(int stability)
                  throws JAXRException
Level 1 method

Specified by:
setStability in interface RegistryEntry
Parameters:
stability - the stability indicator
Throws:
JAXRException - If the JAXR provider encounters an internal error

getExpiration

public Date getExpiration()
                   throws JAXRException
Level 1 method

Specified by:
getExpiration in interface RegistryEntry
Returns:
the expiration Date for the stability indicator
Throws:
JAXRException - If the JAXR provider encounters an internal error

setExpiration

public void setExpiration(Date date)
                   throws JAXRException
Level 1 method

Specified by:
setExpiration in interface RegistryEntry
Parameters:
date - the expiration Date for the stability indicator
Throws:
JAXRException - If the JAXR provider encounters an internal error

getMajorVersion

public int getMajorVersion()
                    throws JAXRException
Level 1 method

Specified by:
getMajorVersion in interface Versionable
Returns:
the major version for this object
Throws:
JAXRException - If the JAXR provider encounters an internal error

setMajorVersion

public void setMajorVersion(int majorVersion)
                     throws JAXRException
Level 1 method

Specified by:
setMajorVersion in interface Versionable
Parameters:
majorVersion - the major version number
Throws:
JAXRException - If the JAXR provider encounters an internal error

getMinorVersion

public int getMinorVersion()
                    throws JAXRException
Level 1 method

Specified by:
getMinorVersion in interface Versionable
Returns:
the minor version for this object
Throws:
JAXRException - If the JAXR provider encounters an internal error

setMinorVersion

public void setMinorVersion(int minorVersion)
                     throws JAXRException
Level 1 method

Specified by:
setMinorVersion in interface Versionable
Parameters:
minorVersion - the minor version number
Throws:
JAXRException - If the JAXR provider encounters an internal error

getUserVersion

public String getUserVersion()
                      throws JAXRException
Level 1 method

Specified by:
getUserVersion in interface Versionable
Returns:
the user-defined version number
Throws:
JAXRException - If the JAXR provider encounters an internal error

setUserVersion

public void setUserVersion(String userVersion)
                    throws JAXRException
Level 1 method

Specified by:
setUserVersion in interface Versionable
Parameters:
userVersion - the user-defined version number
Throws:
JAXRException - If the JAXR provider encounters an internal error


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