org.jtheque.core.managers.update
Class UpdatableState

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

public final class UpdatableState
extends AbstractState

A state for the updatables versions.

Author:
Baptiste Wicht

Constructor Summary
UpdatableState()
           
 
Method Summary
 org.jtheque.utils.bean.Version getVersion(java.lang.String name)
          Return the version of the updatable.
 void setVersion(java.lang.String name, org.jtheque.utils.bean.Version version)
          Set the version of the updatable.
 
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

UpdatableState

public UpdatableState()
Method Detail

getVersion

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

Parameters:
name - The name of the updtable.
Returns:
The version of the updatable.

setVersion

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

Parameters:
name - The name of the updatable.
version - The version of the updaable.


Copyright © 2009 JTheque. All Rights Reserved.