public interface ExtrinsicObject extends RegistryEntry
Examples of content described by ExtrinsicObject include Collaboration Protocol Profiles (CPP), business process descriptions, and schemas.
STABILITY_DYNAMIC, STABILITY_DYNAMIC_COMPATIBLE, STABILITY_STATIC, STATUS_APPROVED, STATUS_DEPRECATED, STATUS_SUBMITTED, STATUS_WITHDRAWN
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.
|
getExpiration, getStability, getStatus, setExpiration, setStability
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
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion
String getMimeType() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setMimeType(String mimeType) throws JAXRException
mimeType
- the mime type associated with this objectJAXRException
- If the Jakarta XML Registries provider encounters an internal errorboolean isOpaque() throws JAXRException
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.
true
if the ExtrinsicObject is readable by the registry operator; false
otherwiseJAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setOpaque(boolean isOpaque) throws JAXRException
isOpaque
- boolean value set to true
if the ExtrinsicObject is readable by the registry operator; false
otherwiseJAXRException
- If the Jakarta XML Registries provider encounters an internal errorDataHandler getRepositoryItem() throws JAXRException
JAXRException
- If the Jakarta XML Registries provider encounters an internal errorvoid setRepositoryItem(DataHandler repositoryItem) throws JAXRException
repositoryItem
- the DataHandler for the repository item. Must not be nullJAXRException
- If the Jakarta XML Registries provider encounters an internal errorCopyright © 2019 Eclipse Foundation.
Use is subject to license terms.