org.jtheque.core.managers.schema
Class SchemaConfiguration

java.lang.Object
  extended by org.jtheque.core.managers.state.AbstractState
      extended by org.jtheque.core.managers.schema.SchemaConfiguration
All Implemented Interfaces:
IState

public final class SchemaConfiguration
extends AbstractState

The configuration of the schemas.

Author:
Baptiste Wicht

Constructor Summary
SchemaConfiguration()
           
 
Method Summary
 org.jtheque.utils.bean.Version getVersion(java.lang.String name)
          Return the version of the schema.
 boolean isNotRecovered(java.lang.String name)
          Indicate if the schema has been recovered or not.
 void setRecovered(java.lang.String name)
          Mark the schema as recovered.
 void setVersion(java.lang.String name, org.jtheque.utils.bean.Version version)
          Set the version of the schema.
 
Methods inherited from class org.jtheque.core.managers.state.AbstractState
delegateLoad, delegateSave, getProperties, getProperty, getProperty, isDelegated, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaConfiguration

public SchemaConfiguration()
Method Detail

getVersion

public org.jtheque.utils.bean.Version getVersion(java.lang.String name)
Return the version of the schema.

Parameters:
name - The name of the schema.
Returns:
The version of the schema.

setVersion

public void setVersion(java.lang.String name,
                       org.jtheque.utils.bean.Version version)
Set the version of the schema.

Parameters:
name - The name of the schema.
version - The version of the schema.

isNotRecovered

public boolean isNotRecovered(java.lang.String name)
Indicate if the schema has been recovered or not.

Parameters:
name - The name of the schema.
Returns:
true if the schema has been recovered else false.

setRecovered

public void setRecovered(java.lang.String name)
Mark the schema as recovered.

Parameters:
name - The name of the schema.


Copyright © 2009 JTheque. All Rights Reserved.