com.threerings.admin.server.persist
Class ConfigRecord

java.lang.Object
  extended by com.samskivert.depot.impl.QueryResult
      extended by com.samskivert.depot.PersistentRecord
          extended by com.threerings.admin.server.persist.ConfigRecord
All Implemented Interfaces:
Serializable, Cloneable

public class ConfigRecord
extends PersistentRecord

Stores information about a configuration entry in the database.

See Also:
Serialized Form

Field Summary
static Class<ConfigRecord> _R
           
 String field
           
static ColumnExp<String> FIELD
           
 String node
           
static ColumnExp<String> NODE
           
 String object
           
static ColumnExp<String> OBJECT
           
static int SCHEMA_VERSION
           
 String value
           
static ColumnExp<String> VALUE
           
 
Constructor Summary
ConfigRecord()
          An empty constructor for unmarshalling.
ConfigRecord(String node, String object, String field, String value)
           
 
Method Summary
static Key<ConfigRecord> getKey(String node, String object, String field)
          Create and return a primary Key to identify a ConfigRecord with the supplied key values.
 
Methods inherited from class com.samskivert.depot.PersistentRecord
colexp, newKey, registerKeyFields
 
Methods inherited from class com.samskivert.depot.impl.QueryResult
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_R

public static final Class<ConfigRecord> _R

NODE

public static final ColumnExp<String> NODE

OBJECT

public static final ColumnExp<String> OBJECT

FIELD

public static final ColumnExp<String> FIELD

VALUE

public static final ColumnExp<String> VALUE

SCHEMA_VERSION

public static final int SCHEMA_VERSION
See Also:
Constant Field Values

node

public String node

object

public String object

field

public String field

value

public String value
Constructor Detail

ConfigRecord

public ConfigRecord()
An empty constructor for unmarshalling.


ConfigRecord

public ConfigRecord(String node,
                    String object,
                    String field,
                    String value)
Method Detail

getKey

public static Key<ConfigRecord> getKey(String node,
                                       String object,
                                       String field)
Create and return a primary Key to identify a ConfigRecord with the supplied key values.