-
- 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
-
-
Field Summary
-
Fields inherited from interface javax.xml.registry.infomodel.RegistryEntry
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description String
getMimeType()
Gets the mime type associated with this object.DataHandler
getRepositoryItem()
Gets the repository item for this object.boolean
isOpaque()
Determines whether the ExtrinsicObject is opaque (not readable) by the registry operator.void
setMimeType(String mimeType)
Sets the mime type associated with this object.void
setOpaque(boolean isOpaque)
Sets whether the ExtrinsicObject is opaque (not readable) by the registry.void
setRepositoryItem(DataHandler repositoryItem)
Sets the repository item for this object.-
Methods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStability
-
Methods 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, toXML
-
Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
-
Methods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
-
-
-
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 totrue
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
-
-
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 14:28:46 Cette version de la page est en cache (à la date du 21/08/2025 14:28:46) 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/ExtrinsicObject.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
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.