com.vhosting.netconf
Class Datastore

java.lang.Object
  extended by com.vhosting.netconf.Datastore

public class Datastore
extends java.lang.Object

This class represents a datastore. A datastore is a special tag used in the RPC messages to refer precisely to the configuration data in a given datastore.

Version:
1.00, 02/11/2010
Author:
Giuseppe Palmeri

Field Summary
static Datastore candidate
          Identifies the "candidate" datastore.
static Datastore running
          Identifies the "running" datastore.
static Datastore startup
          Identifies the "startup" datastore.
 
Method Summary
 java.lang.String getName()
          Return the datastore name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

running

public static final Datastore running
Identifies the "running" datastore. This is the Datastore of the configuration data that are currently used by the system.


candidate

public static final Datastore candidate
Identifies the "candidate" datastore. This is the Datastore of the configuration data that is used as the working copy.


startup

public static final Datastore startup
Identifies the "startup" datastore. This is the Datastore of the configuration data that is used as a copy of data initialization.

Method Detail

getName

public final java.lang.String getName()
Return the datastore name.

Returns:
the name of the datastore.