Package javax.xml.registry.infomodel
Interface RegistryEntry
- All Superinterfaces:
ExtensibleObject,RegistryObject,Versionable
- All Known Subinterfaces:
ClassificationScheme,ExtrinsicObject,RegistryPackage,Service
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
FieldsModifier and TypeFieldDescriptionstatic final intRegistryEntry may change at any time.static final intRegistryEntry may change at any time, however the changes will be backward compatible.static final intRegistryEntry will not change.static final intRegistryEntry has been submitted and approved.static final intRegistryEntry has been deprecated.static final intRegistryEntry has been submitted.static final intRegistryEntry has been withdrawn by the submitter. -
Method Summary
Modifier and TypeMethodDescriptionGets expirationDate attribute of the RegistryEntry within the Registry.intGets the stability indicator for the RegistryEntry within the Registry.intGets the life cycle status of the RegistryEntry within the registry.voidsetExpiration(Date expiration) Sets the expirationDate.voidsetStability(int stability) Sets the stability indicator for the RegistryEntry.Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsMethods 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, toXMLMethods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
Field Details
-
STATUS_SUBMITTED
static final int STATUS_SUBMITTEDRegistryEntry has been submitted.- See Also:
-
STATUS_APPROVED
static final int STATUS_APPROVEDRegistryEntry has been submitted and approved.- See Also:
-
STATUS_DEPRECATED
static final int STATUS_DEPRECATEDRegistryEntry has been deprecated.- See Also:
-
STATUS_WITHDRAWN
static final int STATUS_WITHDRAWNRegistryEntry has been withdrawn by the submitter.- See Also:
-
STABILITY_DYNAMIC
static final int STABILITY_DYNAMICRegistryEntry may change at any time.- See Also:
-
STABILITY_DYNAMIC_COMPATIBLE
static final int STABILITY_DYNAMIC_COMPATIBLERegistryEntry may change at any time, however the changes will be backward compatible.- See Also:
-
STABILITY_STATIC
static final int STABILITY_STATICRegistryEntry will not change.- See Also:
-
-
Method Details
-
getStatus
Gets the life cycle status of the RegistryEntry within the registry.- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- Returns:
- the life cycle status as an integer enumeration
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
getStability
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:
- the stability indicator as an integer enumeration
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error- See Also:
-
setStability
Sets the stability indicator for the RegistryEntry.- Capability Level: 1
- This method must throw UnsupportedCapabilityException in lower capability levels.
- Parameters:
stability- the stability indicator- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getExpiration
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:
- the expiration Date for the stability indicator
- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setExpiration
Sets the expirationDate.- Capability Level: 1
- Parameters:
expiration- the expiration Date for the stability indicator- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-