Node Director
Public Member Functions | Static Public Member Functions | List of all members
com.graeff.dbedit.Record Class Reference

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.

Detailed Description

A record is a set of attributes and associated values.

It is quite similiar to a DBObject.

Constructor & Destructor Documentation

com.graeff.dbedit.Record.Record ( )

Member Function Documentation

void com.graeff.dbedit.Record.add ( String  name,
String  value 
)
Vector com.graeff.dbedit.Record.get ( String  name)
Vector com.graeff.dbedit.Record.get ( IgnoreCaseString  name)

Returns a list of values associated with the given attribute.

Enumeration com.graeff.dbedit.Record.getAttributes ( )
void com.graeff.dbedit.Record.remove ( String  name)
void com.graeff.dbedit.Record.set ( String  name,
Vector  vals 
)
void com.graeff.dbedit.Record.set ( IgnoreCaseString  name,
Vector  vals 
)

Associates the given list of values with the given attribute name.

static Vector com.graeff.dbedit.Record.split ( String  str)
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().


The documentation for this class was generated from the following file: