List of usage examples for javax.xml.registry.infomodel ExtrinsicObject setRepositoryItem
public void setRepositoryItem(javax.activation.DataHandler repositoryItem) throws JAXRException;
From source file:it.cnr.icar.eric.client.xml.registry.LifeCycleManagerImpl.java
/** * Creates an ExtrinsicObject instance using the specified parameters. * //from ww w .j av a2s . c om * * <p> * <DL> * <DT><B>Capability Level: 1 </B> * </DL> * * @param repositoryItem * the DataHandler for the repository item. Must not be null. * * @return the ExtrinsicObject instance created * * @throws JAXRException * if the JAXR provider encounters an internal error * */ public ExtrinsicObject createExtrinsicObject(javax.activation.DataHandler repositoryItem) throws javax.xml.registry.JAXRException { ExtrinsicObject eo = imFactory.createExtrinsicObject(this, (String) null); if (repositoryItem != null) { eo.setRepositoryItem(repositoryItem); } return eo; }