public interface ExternalResourceDependency extends MetaDataObject
ExternalResourceDependency object describes an resources's requirements on an
external resource. This object has four properties:
DataResource interface will be
used.| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Retrieves the textual description of the resource.
|
String |
getInterfaceName()
Retrieves the name of the Java interface through which this resource will be accessed.
|
String |
getKey()
Retrieves the key by which the resource is identified.
|
boolean |
isOptional()
Gets whether this resource dependency is optional.
|
void |
setDescription(String aDescription)
Retrieves the textual description of the resource.
|
void |
setInterfaceName(String aName)
Sets the name of the Java interface through which this resource will be accessed.
|
void |
setKey(String aKey)
Sets the key by which the resource is identified.
|
void |
setOptional(boolean aOptional)
Sets whether this resource dependency is optional.
|
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrlbuildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXMLString getKey()
void setKey(String aKey)
aKey - the key for this resource.String getDescription()
void setDescription(String aDescription)
aDescription - the textual description of the resource.String getInterfaceName()
null if none.void setInterfaceName(String aName)
aName - the name of the Java interface for this external resource, null if none.UIMA_UnsupportedOperationException - if this object is not modifiableboolean isOptional()
void setOptional(boolean aOptional)
aOptional - true if this resource dependency is optional, false if notCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.