ExternalLink | javax.xml.registry.infomodel |
JAXR 1.0; JWSDP 1.0, J2EE 1.4 |
public interface ExternalLink extends RegistryObject, URIValidator { // Public Instance Methods public abstract String getExternalURI( ) throws javax.xml.registry.JAXRException; //L0 public abstract Collection getLinkedObjects( ) throws javax.xml.registry.JAXRException; //L0 public abstract void setExternalURI(String uri ) throws javax.xml.registry.JAXRException; //L0 }
A RegistryObject may have any number of ExternalLink s that act as references to information related to the object that resides outside of the registry. The location of the referenced information is given by a URI that can be set using the setExternalURI( ) method and retrieved by calling getExternalURI( ) . The getLinkedObjects( ) method returns a Collection containing all of the RegistryObject s to which the ExternalLink has been applied using the RegistryObject addExternalLink( ) or addExternalLinks( ) methods. Compare this level 0 facility to ExtrinsicObject , which stores a copy of the information in a repository linked to the registry (but is available only with a level 1 JAXR provider).
RegistryObject.{addExternalLink( ) , removeExternalLink( )}
javax.xml.registry.LifeCycleManager.createExternalLink( )