/*
 * JBoss, the OpenSource WebOS
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package javax.xml.registry.infomodel;

import javax.activation.DataHandler;
import javax.xml.registry.JAXRException;

/**
 * @author Scott.Stark@jboss.org
 * @version $Revision: 1.1 $
 */
public interface ExtrinsicObject
   extends RegistryEntry
{
   public String getMimeType() throws JAXRException;
   public DataHandler getRepositoryItem() throws JAXRException;
   public boolean isOpaque() throws JAXRException;
   public void setMimeType(String mimeType) throws JAXRException;
   public void setOpaque(boolean flag) throws JAXRException;
   public void setRepositoryItem(DataHandler item) throws JAXRException;

}