javax.xml.registry.infomodel
Interface RegistryEntry
- All Superinterfaces:
- ExtensibleObject, RegistryObject, java.io.Serializable, Versionable
- All Known Subinterfaces:
- ClassificationScheme, ExtrinsicObject, RegistryPackage
- public interface RegistryEntry
- extends RegistryObject, Versionable
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.
Method Summary |
java.util.Date |
getExpiration()
Gets expirationDate attribute of the RegistryEntry within the Registry. |
Concept |
getStability()
Gets the stability indicator for the RegistryEntry within the Registry. |
Concept |
getStatus()
Gets the life cycle status of the RegistryEntry within the registry. |
void |
setExpiration(java.util.Date date)
Sets the expirationDate
|
void |
setStability(Concept stability)
Sets the stability indicator for the RegistryEntry
|
Methods inherited from interface javax.xml.registry.infomodel.RegistryObject |
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getKey, getName, getObjectType, getOrganization, getPackages, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXML |
getStatus
public Concept getStatus()
throws JAXRException
- Gets the life cycle status of the RegistryEntry within the registry.
- Capability Level: 1
- This method may throw UnsupportedCapabilityException in lower capability levels.
getStability
public Concept getStability()
throws JAXRException
- Gets the stability indicator for the RegistryEntry within the Registry.
The stability indicator is provided by the submitter as a guarentee
of the level of stability for the content.
- Capability Level: 1
- This method may throw UnsupportedCapabilityException in lower capability levels.
setStability
public void setStability(Concept stability)
throws JAXRException
- Sets the stability indicator for the RegistryEntry
- Capability Level: 1
- This method may throw UnsupportedCapabilityException in lower capability levels.
getExpiration
public java.util.Date getExpiration()
throws JAXRException
- Gets expirationDate attribute of the RegistryEntry within the Registry.
This attribute defines a time limit upon the stability guarentee
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 may throw UnsupportedCapabilityException in lower capability levels.
setExpiration
public void setExpiration(java.util.Date date)
throws JAXRException
- Sets the expirationDate
- Capability Level: 1