javax.xml.registry.infomodel

Interface ExtrinsicObject

  • All Superinterfaces:
    ExtensibleObject, RegistryEntry, RegistryObject, Versionable

    public interface ExtrinsicObject
    extends RegistryEntry
    ExtrinsicObjects provide metadata that describes submitted content whose type is not intrinsically known to the registry and therefore must be described by means of additional attributes (e.g., mime type).

    Examples of content described by ExtrinsicObject include Collaboration Protocol Profiles (CPP), business process descriptions, and schemas.

    Author:
    Farrukh S. Najmi
    • Method Detail

      • getMimeType

        String getMimeType()
                    throws JAXRException
        Gets the mime type associated with this object. Default is a NULL String.

        Capability Level: 1
        Returns:
        the mime type associated with this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setMimeType

        void setMimeType(String mimeType)
                  throws JAXRException
        Sets the mime type associated with this object.

        Capability Level: 1
        Parameters:
        mimeType - the mime type associated with this object
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • isOpaque

        boolean isOpaque()
                  throws JAXRException
        Determines whether the ExtrinsicObject is opaque (not readable) by the registry operator.

        In some situations, a Submitting Organization may submit content that is encrypted and not even readable by the registry. This attribute allows the registry to know whether this is the case.

        Capability Level: 1
        Returns:
        true if the ExtrinsicObject is readable by the registry operator; false otherwise
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setOpaque

        void setOpaque(boolean isOpaque)
                throws JAXRException
        Sets whether the ExtrinsicObject is opaque (not readable) by the registry.

        Capability Level: 1
        Parameters:
        isOpaque - boolean value set to true if the ExtrinsicObject is readable by the registry operator; false otherwise
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • getRepositoryItem

        DataHandler getRepositoryItem()
                               throws JAXRException
        Gets the repository item for this object. Must not return null.

        Capability Level: 1
        Returns:
        the DataHandler for the repository item
        Throws:
        JAXRException - If the JAXR provider encounters an internal error
      • setRepositoryItem

        void setRepositoryItem(DataHandler repositoryItem)
                        throws JAXRException
        Sets the repository item for this object.

        Capability Level: 1
        Parameters:
        repositoryItem - the DataHandler for the repository item. Must not be null
        Throws:
        JAXRException - If the JAXR provider encounters an internal error

Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/xml/registry/infomodel/ExtrinsicObject.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com, ExtrinsicObject (Java(TM) EE 7 Specification APIs)

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.