|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
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 | |
java.lang.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(java.lang.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.ExtensibleObject |
addSlot, addSlots, getSlot, getSlots, removeSlot, removeSlots |
Methods inherited from interface javax.xml.registry.infomodel.Versionable |
getMajorVersion, getMinorVersion, getUserVersion, setMajorVersion, setMinorVersion, setUserVersion |
Method Detail |
public java.lang.String getMimeType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setMimeType(java.lang.String mimeType) throws JAXRException
mimeType
- the mime type associated with this object
JAXRException
- If the JAXR provider encounters an internal errorpublic boolean 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
otherwise
JAXRException
- If the JAXR provider encounters an internal errorpublic void setOpaque(boolean isOpaque) throws JAXRException
isOpaque
- boolean value set to true
if the ExtrinsicObject is readable by the registry operator; false
otherwise
JAXRException
- If the JAXR provider encounters an internal errorpublic DataHandler getRepositoryItem() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorpublic void setRepositoryItem(DataHandler repositoryItem) throws JAXRException
repositoryItem
- the DataHandler for the repository item. Must not be null
JAXRException
- If the JAXR provider encounters an internal error
|
SunONE Application Server v8.0 PE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2003 Sun Microsystems, Inc. All rights reserved.