Package javax.xml.registry.infomodel
Interface ExtrinsicObject
- All Superinterfaces:
ExtensibleObject,RegistryEntry,RegistryObject,Versionable
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
Modifier and TypeMethodDescriptionGets the mime type associated with this object.javax.activation.DataHandlerGets the repository item for this object.booleanisOpaque()Determines whether the ExtrinsicObject is opaque (not readable) by the registry operator.voidsetMimeType(String mimeType) Sets the mime type associated with this object.voidsetOpaque(boolean isOpaque) Sets whether the ExtrinsicObject is opaque (not readable) by the registry.voidsetRepositoryItem(javax.activation.DataHandler repositoryItem) Sets the repository item for this object.Methods inherited from interface javax.xml.registry.infomodel.ExtensibleObject
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotsMethods inherited from interface javax.xml.registry.infomodel.RegistryEntry
getExpiration, getStability, getStatus, setExpiration, setStabilityMethods 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, toXMLMethods inherited from interface javax.xml.registry.infomodel.Versionable
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
-
Method Details
-
getMimeType
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 Jakarta XML Registries provider encounters an internal error
-
setMimeType
Sets the mime type associated with this object.- Capability Level: 1
- Parameters:
mimeType- the mime type associated with this object- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
isOpaque
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:
trueif the ExtrinsicObject is readable by the registry operator;falseotherwise- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
setOpaque
Sets whether the ExtrinsicObject is opaque (not readable) by the registry.- Capability Level: 1
- Parameters:
isOpaque- boolean value set totrueif the ExtrinsicObject is readable by the registry operator;falseotherwise- Throws:
JAXRException- If the Jakarta XML Registries provider encounters an internal error
-
getRepositoryItem
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 Jakarta XML Registries provider encounters an internal error
-
setRepositoryItem
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 Jakarta XML Registries provider encounters an internal error
-