javax.xml.registry.infomodel

Interface RegistryObject

    • Method Detail

      • getKey

        Key getKey()
            throws JAXRException
        Gets the key representing the universally unique ID (UUID) for this object.

        Capability Level: 0
        Returns:
        the Key for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getDescription

        InternationalString getDescription()
                                    throws JAXRException
        Gets the textual description for this object.

        Capability Level: 0
        Returns:
        the description for this object which must not be null
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setDescription

        void setDescription(InternationalString description)
                     throws JAXRException
        Sets the context independent textual description for this object.

        Capability Level: 0
        Parameters:
        description - the description for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getName

        InternationalString getName()
                             throws JAXRException
        Gets the user-friendly name of this object.

        Capability Level: 0
        Returns:
        the name for this object which must not be null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setName

        void setName(InternationalString name)
              throws JAXRException
        Sets user-friendly name of object in repository.

        Capability Level: 0
        Parameters:
        name - the name for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setKey

        void setKey(Key key)
             throws JAXRException
        Sets the key representing the universally unique ID (UUID) for this object.

        Capability Level: 0
        Parameters:
        key - the key for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • toXML

        String toXML()
              throws JAXRException
        Returns a registry provider specific XML representation of this Object. This may be used as a last resort back door way to get to a provider specific information element that is not accessible via the API. Implementation may choose to throw a UnsupportedCapabilityException.

        Capability Level: 0
        Returns:
        the String containing the XML representation for this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addClassification

        void addClassification(Classification classification)
                        throws JAXRException
        Adds specified Classification to this object. Silently replaces the classifiedObject in Classification with reference to this object.

        Capability Level: 0
        Parameters:
        classification - the Classification being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addClassifications

        void addClassifications(Collection classifications)
                         throws JAXRException
        Adds specified Classifications to this object. Silently replaces the classifiedObject in Classifications with reference to this object.

        Capability Level: 0
        Parameters:
        classifications - the Collection of Classifications being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeClassification

        void removeClassification(Classification classification)
                           throws JAXRException
        Removes specified Classification from this object.

        Capability Level: 0
        Parameters:
        classification - the Classification being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeClassifications

        void removeClassifications(Collection classifications)
                            throws JAXRException
        Removes specified Classifications from this object.

        Capability Level: 0
        Parameters:
        classifications - the Collection of Classifications being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setClassifications

        void setClassifications(Collection classifications)
                         throws JAXRException
        Replaces all previous Classifications with specified Classifications.

        Capability Level: 0
        Parameters:
        classifications - the Collection of Classifications being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getClassifications

        Collection getClassifications()
                               throws JAXRException
        Gets the Classification instances that classify this object.

        Capability Level: 0
        Returns:
        Collection of Classification instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Classification
      • getAuditTrail

        Collection getAuditTrail()
                          throws JAXRException
        Returns the complete audit trail of all requests that effected a state change in this object as an ordered Collection of AuditableEvent objects.

        Capability Level: 1
        This method must throw UnsupportedCapabilityException in lower capability levels.
        Returns:
        Collection of AuditableEvent instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        AuditableEvent
      • addAssociation

        void addAssociation(Association association)
                     throws JAXRException
        Adds specified Association to use this object as source. Silently replaces the sourceObject in Association with reference to this object.

        Capability Level: 0
        Parameters:
        association - the Association being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addAssociations

        void addAssociations(Collection associations)
                      throws JAXRException
        Adds specified Associations to use this object as source. Silently replaces the sourceObject in Associations with reference to this object.

        Capability Level: 0
        Parameters:
        associations - the Collection of Associations being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeAssociation

        void removeAssociation(Association association)
                        throws JAXRException
        Removes specified Association from this object.

        Capability Level: 0
        Parameters:
        association - the Association being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeAssociations

        void removeAssociations(Collection associations)
                         throws JAXRException
        Removes specified Associations from this object.

        Capability Level: 0
        Parameters:
        associations - the Collection of Associations being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setAssociations

        void setAssociations(Collection associations)
                      throws JAXRException
        Replaces all previous Associations from this object with specified Associations.

        Capability Level: 0
        Parameters:
        associations - the Collection of Associations being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getAssociations

        Collection getAssociations()
                            throws JAXRException
        Gets all Associations where this object is source.

        Capability Level: 0
        Returns:
        Collection of Association instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        Association
      • getAssociatedObjects

        Collection getAssociatedObjects()
                                 throws JAXRException
        Returns the collection of RegistryObject instances associated with this object.

        Capability Level: 1
        This method must throw UnsupportedCapabilityException in lower capability levels.
        Returns:
        Collection of RegistryObject instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        RegistryObject
      • addExternalIdentifier

        void addExternalIdentifier(ExternalIdentifier externalIdentifier)
                            throws JAXRException
        Adds specified ExternalIdentifier as an external identifier to this object. Silently replaces the registryObject in ExternalIdentifier with reference to this object.

        Capability Level: 0
        Parameters:
        externalIdentifier - the ExternalIdentifier being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • addExternalIdentifiers

        void addExternalIdentifiers(Collection externalIdentifiers)
                             throws JAXRException
        Adds specified ExternalIdentifiers as an external identifiers to this object. Silently replaces the registryObject in ExternalIdentifiers with reference to this object.

        Capability Level: 0
        Parameters:
        externalIdentifiers - the Collection of ExternalIdentifiers being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeExternalIdentifier

        void removeExternalIdentifier(ExternalIdentifier externalIdentifier)
                               throws JAXRException
        Removes specified ExternalIdentifier as an external identifier from this object.

        Capability Level: 0
        Parameters:
        externalIdentifier - the ExternalIdentifier being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • removeExternalIdentifiers

        void removeExternalIdentifiers(Collection externalIdentifiers)
                                throws JAXRException
        Removes specified ExternalIdentifiers as an external identifiers from this object.

        Capability Level: 0
        Parameters:
        externalIdentifiers - the Collection of ExternalIdentifiers being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setExternalIdentifiers

        void setExternalIdentifiers(Collection externalIdentifiers)
                             throws JAXRException
        Replaces all previous external identifiers with specified Collection of ExternalIdentifiers as an external identifier.

        Capability Level: 0
        Parameters:
        externalIdentifiers - the Collection of ExternalIdentifiers being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getExternalIdentifiers

        Collection getExternalIdentifiers()
                                   throws JAXRException
        Returns the ExternalIdentifiers associated with this object that are external identifiers for this object.

        Capability Level: 0
        Returns:
        Collection of ExternalIdentifier instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        ExternalIdentifier
      • void addExternalLink(ExternalLink externalLink)
                      throws JAXRException
        Adds specified ExternalLink to this object.

        Capability Level: 0
        Parameters:
        externalLinks - the ExternalLink being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void addExternalLinks(Collection externalLinks)
                       throws JAXRException
        Adds specified ExternalLinks to this object.

        Capability Level: 0
        Parameters:
        externalLinks - the Collection of ExternalLinks being added
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void removeExternalLink(ExternalLink externalLink)
                         throws JAXRException
        Removes specified ExternalLink from this object.

        Capability Level: 0
        Parameters:
        externalLink - the ExternalLink being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void removeExternalLinks(Collection externalLinks)
                          throws JAXRException
        Removes specified ExternalLinks from this object.

        Capability Level: 0
        Parameters:
        externalLinks - the Collection of ExternalLinks being removed
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • void setExternalLinks(Collection externalLinks)
                       throws JAXRException
        Replaces all previous ExternalLinks with specified ExternalLinks.

        Capability Level: 0
        Parameters:
        externalLink - the Collection of ExternalLinks being set
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • Collection getExternalLinks()
                             throws JAXRException
        Returns the ExternalLinks associated with this object.

        Capability Level: 0
        Returns:
        Collection of ExternalLink instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        ExternalLink
      • getObjectType

        Concept getObjectType()
                       throws JAXRException
        Gets the object type that best describes the RegistryObject.

        Capability Level: 1
        This method must throw UnsupportedCapabilityException in lower capability levels.
        Returns:
        the object type as a Concept within the pre-defined ClassificationScheme named ObjectType
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getSubmittingOrganization

        Organization getSubmittingOrganization()
                                        throws JAXRException
        Gets the Organization that submitted this RegistryObject.
        Returns:
        the Organization that submitted this object to the registry
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getRegistryPackages

        Collection getRegistryPackages()
                                throws JAXRException
        Returns the Package associated with this object.

        Capability Level: 1
        This method must throw UnsupportedCapabilityException in lower capability levels.
        Returns:
        Collection of RegistryPackage instances. The Collection may be empty but not null.
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
        See Also:
        RegistryPackage
      • getLifeCycleManager

        LifeCycleManager getLifeCycleManager()
                                      throws JAXRException
        Returns the LifeCycleManager that created this object.

        Capability Level: 0
        Returns:
        the LifeCycleManager objet that created this object
        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 18:35:32 Cette version de la page est en cache (à la date du 21/08/2025 18:35:32) 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 18/04/2008, dernière modification le 18/08/2025
Source du document imprimé : https://www.gaudry.be/java-api-javaee-rf-javax/xml/registry/infomodel/registryobject.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, RegistryObject

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.