|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NResource
A single resource in a resource file, provides access methods for its ID, coding and dependencies. Subclassed by NRealResource and NVirtualResource
| 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 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 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. |
| Method Detail |
|---|
void addDependency(java.lang.String res,
java.lang.String observation)
void addDependency(NResource res,
java.lang.String observation)
java.lang.String getCoding()
java.lang.String getID()
java.util.List getDependencies()
NResourceGroup getResourceGroup()
boolean isDefault()
java.lang.String getDescription()
java.lang.String getIncompatibleID()
void setIncompatibleID(java.lang.String inc)
boolean dependsOn(NResource depresource)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||