Class RegistryEntryImpl
- java.lang.Object
-
- com.sun.xml.registry.uddi.infomodel.ExtensibleObjectImpl
-
- com.sun.xml.registry.uddi.infomodel.RegistryObjectImpl
-
- 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
Constructors Constructor Description RegistryEntryImpl()Default constructorRegistryEntryImpl(Key key)Constructor used by subclass to initialize RegistryObject dataRegistryEntryImpl(Key key, String description, String name)Constructor used by subclass to initialize RegistryObject data
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DategetExpiration()Level 1 methodintgetMajorVersion()Level 1 methodintgetMinorVersion()Level 1 methodintgetStability()Level 1 methodintgetStatus()Level 1 methodStringgetUserVersion()Level 1 methodvoidsetExpiration(Date date)Level 1 methodvoidsetMajorVersion(int majorVersion)Level 1 methodvoidsetMinorVersion(int minorVersion)Level 1 methodvoidsetStability(int stability)Level 1 methodvoidsetUserVersion(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.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
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
-
-
-
-
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 JAXRExceptionLevel 1 method- Specified by:
getStatusin interfaceRegistryEntry- Returns:
- the life cycle status as an integer enumeration
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getStability
public int getStability() throws JAXRExceptionLevel 1 method- Specified by:
getStabilityin interfaceRegistryEntry- 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 JAXRExceptionLevel 1 method- Specified by:
setStabilityin interfaceRegistryEntry- 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:
getExpirationin interfaceRegistryEntry- 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:
setExpirationin interfaceRegistryEntry- Parameters:
date- the expiration Date for the stability indicator- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getMajorVersion
public int getMajorVersion() throws JAXRExceptionLevel 1 method- Specified by:
getMajorVersionin interfaceVersionable- Returns:
- the major version for this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setMajorVersion
public void setMajorVersion(int majorVersion) throws JAXRExceptionLevel 1 method- Specified by:
setMajorVersionin interfaceVersionable- Parameters:
majorVersion- the major version number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
getMinorVersion
public int getMinorVersion() throws JAXRExceptionLevel 1 method- Specified by:
getMinorVersionin interfaceVersionable- Returns:
- the minor version for this object
- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
setMinorVersion
public void setMinorVersion(int minorVersion) throws JAXRExceptionLevel 1 method- Specified by:
setMinorVersionin interfaceVersionable- 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:
getUserVersionin interfaceVersionable- 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:
setUserVersionin interfaceVersionable- Parameters:
userVersion- the user-defined version number- Throws:
JAXRException- If the JAXR provider encounters an internal error
-
-