|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.nite.meta.impl.NiteVirtualResource
public class NiteVirtualResource
A virtual resource is a grouping of other resources, for example a gold-standard set that can be used by multiple automatic processes. Methods are provided for querying its dependencies.
| Constructor Summary | |
|---|---|
NiteVirtualResource(NResourceGroup nrg,
java.lang.String id,
java.lang.String def)
|
|
| Method Summary | |
|---|---|
void |
addDependency(NResource res,
java.lang.String observation)
add a dependency with resource resolved and observation (regexp) as a String |
void |
addDependency(java.lang.String res,
java.lang.String observation)
add a dependency with resource and observation (regexp) as Strings |
boolean |
dependsOn(NResource depresource)
returns true if this resource can trace a dependency on the given resource for any observation (i.e. |
java.lang.String |
getCoding()
return the name of the coding this virtual resource implements |
java.util.List |
getDependencies()
return a List of NResourceDependency elements |
java.lang.String |
getDescription()
return the textual description of this resource |
java.lang.String |
getID()
return the ID of this virtual resource |
java.lang.String |
getIncompatibleID()
return the value of the 'notloadedwith' attribute - i.e. |
NResourceGroup |
getResourceGroup()
return the NResourceGroup to which this NResource belongs |
boolean |
isDefault()
return true if this resource has a 'default' attribute that is set to 'true' |
void |
setIncompatibleID(java.lang.String inc)
set the value of the 'notloadedwith' attribute - i.e. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NiteVirtualResource(NResourceGroup nrg,
java.lang.String id,
java.lang.String def)
| Method Detail |
|---|
public java.lang.String getCoding()
getCoding in interface NResourcepublic java.lang.String getID()
getID in interface NResource
public void addDependency(java.lang.String res,
java.lang.String observation)
addDependency in interface NResource
public void addDependency(NResource res,
java.lang.String observation)
addDependency in interface NResourcepublic java.util.List getDependencies()
getDependencies in interface NResourcepublic boolean dependsOn(NResource depresource)
dependsOn in interface NResourcepublic NResourceGroup getResourceGroup()
getResourceGroup in interface NResourcepublic boolean isDefault()
isDefault in interface NResourcepublic java.lang.String getDescription()
getDescription in interface NResourcepublic java.lang.String getIncompatibleID()
getIncompatibleID in interface NResourcepublic void setIncompatibleID(java.lang.String inc)
setIncompatibleID in interface NResource
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||