Node Director
|
A record is a set of attributes and associated values. More...
Inherits Hashtable.
Public Member Functions | |
Record () | |
Vector | get (String name) |
Returns a list of values associated with the given attribute. | |
Vector | get (IgnoreCaseString name) |
Returns a list of values associated with the given attribute. | |
void | set (String name, Vector vals) |
Associates the given list of values with the given attribute name. | |
void | set (IgnoreCaseString name, Vector vals) |
Associates the given list of values with the given attribute name. | |
void | add (String name, String value) |
Adds a value to the list of values associated with an attribute. | |
void | remove (String name) |
Removes an attribute and its associated values. | |
Enumeration | getAttributes () |
Returns an Enumeration of attribute names known to this Record. |
Static Public Member Functions | |
static Vector | split (String str) |
Splits a string into multiple substrings. |
A record is a set of attributes and associated values.
It is quite similiar to a DBObject.
com.graeff.dbedit.Record.Record | ( | ) |
void com.graeff.dbedit.Record.add | ( | String | name, |
String | value | ||
) |
Adds a value to the list of values associated with an attribute.
Referenced by sfi.director.application.FrontendHTTPServer.edit_editor(), com.graeff.dbedit.importers.DN.exportRecord(), sfi.director.gui.importers.Expand.exportRecord(), com.graeff.dbedit.importers.ObjectClass.exportRecord(), sfi.director.gui.importers.OptionEmbed.exportRecord(), sfi.director.gui.importers.PasswordHash.exportRecord(), com.graeff.dbedit.importers.List.exportRecord(), sfi.director.gui.importers.PasswordHash.importRecord(), sfi.director.gui.importers.Settings.importRecord(), com.graeff.dbedit.importers.Migrate.importRecord(), com.graeff.dbedit.importers.List.importRecord(), com.graeff.dbedit.Interface.importRecord(), sfi.director.gui.importers.OptionEmbed.importRecord(), and sfi.director.util.Tools.toDBEditRecord().
Vector com.graeff.dbedit.Record.get | ( | String | name | ) |
Returns a list of values associated with the given attribute.
Referenced by sfi.director.application.scripttask.SetVHost.create(), sfi.director.application.scripttask.SetHostIP.create(), sfi.director.application.scripttask.SetUserRef.create(), sfi.director.application.scripttask.ConfigureNetwork.create(), sfi.director.application.scripttask.SetServerPassword.create(), sfi.director.application.DaemonObjectEdit.expand(), com.graeff.dbedit.importers.DN.exportRecord(), com.graeff.dbedit.importers.ObjectClass.exportRecord(), sfi.director.gui.importers.Settings.exportRecord(), sfi.director.gui.importers.OptionEmbed.exportRecord(), sfi.director.gui.importers.PasswordHash.exportRecord(), com.graeff.dbedit.importers.List.exportRecord(), sfi.director.util.Tools.fieldToDBObject(), com.graeff.dbedit.Field.guiEvent(), sfi.director.gui.importers.PasswordHash.importRecord(), sfi.director.gui.importers.Settings.importRecord(), com.graeff.dbedit.importers.List.importRecord(), com.graeff.dbedit.importers.Migrate.importRecord(), com.graeff.dbedit.Interface.importRecord(), sfi.director.gui.importers.OptionEmbed.importRecord(), sfi.director.util.Tools.toDBObject(), and com.graeff.dbedit.Field.toString().
Vector com.graeff.dbedit.Record.get | ( | IgnoreCaseString | name | ) |
Returns a list of values associated with the given attribute.
Enumeration com.graeff.dbedit.Record.getAttributes | ( | ) |
Returns an Enumeration of attribute names known to this Record.
Referenced by sfi.director.gui.importers.Settings.exportRecord(), sfi.director.util.Tools.fieldToDBObject(), and sfi.director.util.Tools.toDBObject().
void com.graeff.dbedit.Record.remove | ( | String | name | ) |
Removes an attribute and its associated values.
Referenced by com.graeff.dbedit.importers.DN.exportRecord(), sfi.director.gui.importers.Expand.exportRecord(), sfi.director.gui.importers.PasswordHash.exportRecord(), com.graeff.dbedit.importers.List.exportRecord(), sfi.director.gui.importers.PasswordHash.importRecord(), com.graeff.dbedit.importers.ObjectClass.importRecord(), com.graeff.dbedit.importers.Migrate.importRecord(), and com.graeff.dbedit.importers.List.importRecord().
void com.graeff.dbedit.Record.set | ( | String | name, |
Vector | vals | ||
) |
Associates the given list of values with the given attribute name.
Referenced by sfi.director.gui.importers.Settings.exportRecord(), sfi.director.gui.importers.OptionEmbed.exportRecord(), com.graeff.dbedit.fields.Selection.getSchema(), com.graeff.dbedit.Field.guiEvent(), com.graeff.dbedit.fields.Selection.select(), com.graeff.dbedit.Field.sendUpdated(), and sfi.director.util.Tools.toDBEditRecord().
void com.graeff.dbedit.Record.set | ( | IgnoreCaseString | name, |
Vector | vals | ||
) |
Associates the given list of values with the given attribute name.
|
static |
Splits a string into multiple substrings.
The separator character is ';'.
Referenced by com.graeff.dbedit.importers.DN.exportRecord(), and com.graeff.dbedit.fields.Selection.init().