javax.xml.registry.infomodel

Interface RegistryEntry

  • All Superinterfaces:
    ExtensibleObject, RegistryObject, Versionable
    All Known Subinterfaces:
    ClassificationScheme, ExtrinsicObject, RegistryPackage, Service

    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.
    Author:
    Farrukh S. Najmi
    • Field Detail

      • STATUS_SUBMITTED

        static final int STATUS_SUBMITTED
        RegistryEntry has been submitted.
        See Also:
        Constant Field Values
      • STATUS_APPROVED

        static final int STATUS_APPROVED
        RegistryEntry has been submitted and approved.
        See Also:
        Constant Field Values
      • STATUS_DEPRECATED

        static final int STATUS_DEPRECATED
        RegistryEntry has been deprecated.
        See Also:
        Constant Field Values
      • STATUS_WITHDRAWN

        static final int STATUS_WITHDRAWN
        RegistryEntry has been withdrawn by the submitter.
        See Also:
        Constant Field Values
      • STABILITY_DYNAMIC

        static final int STABILITY_DYNAMIC
        RegistryEntry may change at any time.
        See Also:
        Constant Field Values
      • STABILITY_DYNAMIC_COMPATIBLE

        static final int STABILITY_DYNAMIC_COMPATIBLE
        RegistryEntry may change at any time, however the changes will be backward compatible.
        See Also:
        Constant Field Values
      • STABILITY_STATIC

        static final int STABILITY_STATIC
        RegistryEntry will not change.
        See Also:
        Constant Field Values
    • Method Detail

      • getStatus

        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:
        the life cycle status as an integer enumeration
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getStability

        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:
        the stability indicator as an integer enumeration
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        STABILITY_DYNAMIC
      • setStability

        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 - the stability indicator
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getExpiration

        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:
        the expiration Date for the stability indicator
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setExpiration

        void setExpiration(Date expiration)
                    throws JAXRException
        Sets the expirationDate.

        Capability Level: 1
        Parameters:
        expiration - the expiration Date for the stability indicator
        Throws:
        JAXRException - If the JAXR provider encounters an internal error

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Version en cache

21/08/2025 13:04:42 Cette version de la page est en cache (à la date du 21/08/2025 13:04:42) afin d'accélérer le traitement.
Vous pouvez activer le mode utilisateur dans le menu en haut pour afficher la version plus récente de la page.

Document créé le 24/12/2007, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/RegistryEntry.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, RegistryEntry (Java(TM) EE 7 Specification APIs)

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.