Top Description Fields Methods
javax.xml.registry.infomodel

public Interface RegistryEntry

extends RegistryObject, Versionable
Known Direct Subinterfaces
javax.xml.registry.infomodel.RegistryPackage, javax.xml.registry.infomodel.Service, javax.xml.registry.infomodel.ClassificationScheme, javax.xml.registry.infomodel.ExtrinsicObject
Imports
java.util.*, java.net.*, javax.xml.registry.*

The RegistryEntry interface is a base interface for interfaces in the model that require additional metadata beyond what is provided by the RegistryObject interface. A few interfaces in the model represent high level (coarse grain) objects in the registry that require additional metadata such as version information and indication of the stability or volatility of the information.
Author
Farrukh S. Najmi

Field Summary

Modifier and TypeField and Description
public static final int
STABILITY_DYNAMIC

RegistryEntry may change at any time.

public static final int
STABILITY_DYNAMIC_COMPATIBLE

RegistryEntry may change at any time, however the changes will be backward compatible.

public static final int
STABILITY_STATIC

RegistryEntry will not change.

public static final int
STATUS_APPROVED

RegistryEntry has been submitted and approved.

public static final int
STATUS_DEPRECATED

RegistryEntry has been deprecated.

public static final int
STATUS_SUBMITTED

RegistryEntry has been submitted.

public static final int
STATUS_WITHDRAWN

RegistryEntry has been withdrawn by the submitter.

Method Summary

Modifier and TypeMethod and Description
public Date

Returns:

the expiration Date for the stability indicator
getExpiration
()

Gets expirationDate attribute of the RegistryEntry within the Registry.

public int

Returns:

the stability indicator as an integer enumeration
getStability
()

Gets the stability indicator for the RegistryEntry within the Registry.

public int

Returns:

the life cycle status as an integer enumeration
getStatus
()

Gets the life cycle status of the RegistryEntry within the registry.

public void
setExpiration(Date
the expiration Date for the stability indicator
expiration
)

Sets the expirationDate.

public void
setStability(int
the stability indicator
stability
)

Sets the stability indicator for the RegistryEntry.

Inherited from javax.xml.registry.infomodel.RegistryObject:
addAssociationaddAssociationsaddClassificationaddClassificationsaddExternalIdentifieraddExternalIdentifiersaddExternalLinkaddExternalLinksgetAssociatedObjectsgetAssociationsgetAuditTrailgetClassificationsgetDescriptiongetExternalIdentifiersgetExternalLinksgetKeygetLifeCycleManagergetNamegetObjectTypegetRegistryPackagesgetSubmittingOrganizationremoveAssociationremoveAssociationsremoveClassificationremoveClassificationsremoveExternalIdentifierremoveExternalIdentifiersremoveExternalLinkremoveExternalLinkssetAssociationssetClassificationssetDescriptionsetExternalIdentifierssetExternalLinkssetKeysetNametoXML
Inherited from javax.xml.registry.infomodel.Versionable:
getMajorVersiongetMinorVersiongetUserVersionsetMajorVersionsetMinorVersionsetUserVersion

Field Detail

STABILITY_DYNAMICback to summary
public static final int STABILITY_DYNAMIC

RegistryEntry may change at any time.

STABILITY_DYNAMIC_COMPATIBLEback to summary
public static final int STABILITY_DYNAMIC_COMPATIBLE

RegistryEntry may change at any time, however the changes will be backward compatible.

STABILITY_STATICback to summary
public static final int STABILITY_STATIC

RegistryEntry will not change.

STATUS_APPROVEDback to summary
public static final int STATUS_APPROVED

RegistryEntry has been submitted and approved.

STATUS_DEPRECATEDback to summary
public static final int STATUS_DEPRECATED

RegistryEntry has been deprecated.

STATUS_SUBMITTEDback to summary
public static final int STATUS_SUBMITTED

RegistryEntry has been submitted.

STATUS_WITHDRAWNback to summary
public static final int STATUS_WITHDRAWN

RegistryEntry has been withdrawn by the submitter.

Method Detail

getExpirationback to summary
public Date getExpiration() throws JAXRException

Gets expirationDate attribute of the RegistryEntry within the Registry. This attribute defines a time limit upon the stability indication provided by the stability attribute. Once the expirationDate has been reached the stability attribute in effect becomes STABILITY_DYNAMIC implying that content can change at any time and in any manner. A null value implies that there is no expiration on stability attribute.

Capability Level: 1
This method must throw UnsupportedCapabilityException in lower capability levels.
Returns:Date

the expiration Date for the stability indicator

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getStabilityback to summary
public int getStability() throws JAXRException

Gets the stability indicator for the RegistryEntry within the Registry. The stability indicator is provided by the submitter as an indication of the level of stability for the content.

Capability Level: 1
This method must throw UnsupportedCapabilityException in lower capability levels.
Returns:int

the stability indicator as an integer enumeration

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
See Also
RegistryEntry#STABILITY_DYNAMIC
getStatusback to summary
public int getStatus() throws JAXRException

Gets the life cycle status of the RegistryEntry within the registry.

Capability Level: 1
This method must throw UnsupportedCapabilityException in lower capability levels.
Returns:int

the life cycle status as an integer enumeration

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
See Also
RegistryEntry#STATUS_SUBMITTED
setExpirationback to summary
public void setExpiration(Date expiration) throws JAXRException

Sets the expirationDate.

Capability Level: 1
Parameters
expiration:Date

the expiration Date for the stability indicator

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setStabilityback to summary
public void setStability(int stability) throws JAXRException

Sets the stability indicator for the RegistryEntry.

Capability Level: 1
This method must throw UnsupportedCapabilityException in lower capability levels.
Parameters
stability:int

the stability indicator

Exceptions
JAXRException:
If the JAXR provider encounters an internal error