|
Oracle Application Server 10g DMS API Reference 10g (9.0.4) B12020-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.dms.instrument.Noun
Noun
objects are used to organize the DMS name hierarchy. Nouns may contain Sensors or other Nouns. Generally, Nouns correspond program objects that are to be measured.
Method Summary | |
static Noun |
create(Noun parent, java.lang.String name, java.lang.String type) Creates a new Noun given a noun parent, and a basename for the new noun (not a pathname) |
static Noun |
create(java.lang.String pathname, java.lang.String type) Creates a new Noun given a pathname. |
void |
destroy() Destroys the Noun and all of its descendants. |
static Noun |
get(java.lang.String pathname) Returns a noun given the noun's pathname |
static Noun |
getRoot() Returns the root Noun for this JVM |
java.lang.String |
getType() Returns the type of a noun as a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static Noun create(java.lang.String pathname, java.lang.String type)
pathname
- the pathname of the Nountype
- name of type for the Nounpublic static Noun create(Noun parent, java.lang.String name, java.lang.String type)
parent
- the Noun's parentname
- the Noun's short basename (not a pathname).type
- the Noun's typepublic java.lang.String getType()
public static Noun get(java.lang.String pathname)
pathname
- the pathname of the in the form <delim>name<delim>name... examples: /Wisconsin/Green/Monroe.Oregon.Multnomah.Portland etc.null
if the Noun cannot be found.public static Noun getRoot()
public void destroy()
|
Oracle Application Server 10g DMS API Reference 10g (9.0.4) B12020-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |