Top Description Fields Methods
javax.xml.registry.infomodel

public Interface ExtrinsicObject

extends RegistryEntry
Imports
java.net.*, javax.xml.registry.*

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

Inherited from javax.xml.registry.infomodel.RegistryEntry:
STABILITY_DYNAMICSTABILITY_DYNAMIC_COMPATIBLESTABILITY_STATICSTATUS_APPROVEDSTATUS_DEPRECATEDSTATUS_SUBMITTEDSTATUS_WITHDRAWN

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the mime type associated with this object
getMimeType
()

Gets the mime type associated with this object.

public DataHandler

Returns:

the DataHandler for the repository item
getRepositoryItem
()

Gets the repository item for this object.

public boolean

Returns:

true if the ExtrinsicObject is readable by the registry operator; false otherwise
isOpaque
()

Determines whether the ExtrinsicObject is opaque (not readable) by the registry operator.

public void
setMimeType(String
the mime type associated with this object
mimeType
)

Sets the mime type associated with this object.

public void
setOpaque(boolean
boolean value set to true if the ExtrinsicObject is readable by the registry operator; false otherwise
isOpaque
)

Sets whether the ExtrinsicObject is opaque (not readable) by the registry.

public void
setRepositoryItem(DataHandler
the DataHandler for the repository item. Must not be null
repositoryItem
)

Sets the repository item for this object.

Inherited from javax.xml.registry.infomodel.RegistryEntry:
getExpirationgetStabilitygetStatussetExpirationsetStability

Method Detail

getMimeTypeback to summary
public String getMimeType() throws JAXRException

Gets the mime type associated with this object. Default is a NULL String.

Capability Level: 1
Returns:String

the mime type associated with this object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
getRepositoryItemback to summary
public DataHandler getRepositoryItem() throws JAXRException

Gets the repository item for this object. Must not return null.

Capability Level: 1
Returns:DataHandler

the DataHandler for the repository item

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
isOpaqueback to summary
public 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:boolean

true if the ExtrinsicObject is readable by the registry operator; false otherwise

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setMimeTypeback to summary
public void setMimeType(String mimeType) throws JAXRException

Sets the mime type associated with this object.

Capability Level: 1
Parameters
mimeType:String

the mime type associated with this object

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setOpaqueback to summary
public void setOpaque(boolean isOpaque) throws JAXRException

Sets whether the ExtrinsicObject is opaque (not readable) by the registry.

Capability Level: 1
Parameters
isOpaque:boolean

boolean value set to true if the ExtrinsicObject is readable by the registry operator; false otherwise

Exceptions
JAXRException:
If the JAXR provider encounters an internal error
setRepositoryItemback to summary
public void setRepositoryItem(DataHandler repositoryItem) throws JAXRException

Sets the repository item for this object.

Capability Level: 1
Parameters
repositoryItem:DataHandler

the DataHandler for the repository item. Must not be null

Exceptions
JAXRException:
If the JAXR provider encounters an internal error