public class ExternalLinkImpl extends RegistryObjectImpl implements ExternalLink, Serializable
| Constructor and Description |
|---|
ExternalLinkImpl()
Default constructor initializes list and creates
URIValidatorImpl object for delgating uri validations
tasks.
|
ExternalLinkImpl(String uri)
Utility constructor used when URI is given.
|
ExternalLinkImpl(String uri,
String description)
Utility constructor with URI and description.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExternalURI()
Gets URI to the an external resource
|
Key |
getKey()
Override the behavior in RegistryObject to return a
provider generated id.
|
Collection |
getLinkedObjects()
Gets the collection of RegistryObjects that are annotated by this
ExternalLink
|
boolean |
getValidateURI()
Whether or not validation is turned on
|
void |
setExternalURI(String externalUri)
Sets URI for an external resource.
|
void |
setValidateURI(boolean validate)
Turns validation on or off.
|
addAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, addSlot, addSlots, areAssociationsLoaded, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getConnection, getDescription, getExternalIdentifiers, getExternalLinks, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getRegistryService, getServiceId, getSubmittingOrganization, isDeleted, isLoaded, isModified, isNew, isRetrieved, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, removeSlot, removeSlots, setAssociations, setAssociationsLoaded, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setIsDeleted, setIsLoaded, setIsModified, setIsNew, setIsRetrieved, setKey, setLifeCycleManager, setName, setObjectType, setRegistryService, setServiceId, setStatusFlags, setSubmittingOrganization, toXMLgetSlot, getSlotsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAssociation, addAssociations, addClassification, addClassifications, addExternalIdentifier, addExternalIdentifiers, addExternalLink, addExternalLinks, getAssociatedObjects, getAssociations, getAuditTrail, getClassifications, getDescription, getExternalIdentifiers, getExternalLinks, getLifeCycleManager, getName, getObjectType, getRegistryPackages, getSubmittingOrganization, removeAssociation, removeAssociations, removeClassification, removeClassifications, removeExternalIdentifier, removeExternalIdentifiers, removeExternalLink, removeExternalLinks, setAssociations, setClassifications, setDescription, setExternalIdentifiers, setExternalLinks, setKey, setName, toXMLaddSlot, addSlots, getSlot, getSlots, removeSlot, removeSlotspublic ExternalLinkImpl()
throws JAXRException
JAXRExceptionpublic ExternalLinkImpl(String uri) throws JAXRException
JAXRExceptionpublic ExternalLinkImpl(String uri, String description) throws JAXRException
JAXRExceptionpublic Collection getLinkedObjects() throws JAXRException
getLinkedObjects in interface ExternalLinkJAXRException - If the JAXR provider encounters an internal errorpublic void setValidateURI(boolean validate)
throws JAXRException
setValidateURI in interface URIValidatorvalidate - true implies JAXR provider must perform validation
of URIs when they are set; false implies validation is turned offJAXRException - If the JAXR provider encounters an internal errorURIValidatorImplpublic boolean getValidateURI()
getValidateURI in interface URIValidatortrue implies JAXR provider must perform validation
of URIs when they are set; false implies validation is turned offURIValidatorImplpublic String getExternalURI() throws JAXRException
getExternalURI in interface ExternalLinkJAXRException - If the JAXR provider encounters an internal errorpublic void setExternalURI(String externalUri) throws JAXRException
setExternalURI in interface ExternalLinkexternalUri - the URI String for this object (e.g. "http://java.sun.com")JAXRException - If the JAXR provider encounters an internal errorpublic Key getKey() throws JAXRException
getKey in interface RegistryObjectgetKey in class RegistryObjectImplJAXRException - If the JAXR provider encounters an internal errorCopyright © 2005–2017 Oracle Corporation. All rights reserved.