com.loribel.commons.abstraction
Interface GB_MementoCompliant

All Known Subinterfaces:
GB_BOMetaModel, GB_BusinessObject
All Known Implementing Classes:
GB_BOEnumItemBOGen, GB_BOEnumItemSearchBOGen, GB_BOEnumValuesBOGen, GB_BOEnumValuesGroupBOGen, GB_BOExtendsBOGen, GB_BOExtensionBOGen, GB_BOLinkIdBOGen, GB_BOLinkIdLongBOGen, GB_BOMetaDataBOGen, GB_BOMetaDataSearchBOGen, GB_BOPropertyBOGen, GB_BOPropertySearchBOGen, GB_BOStringMBOGen, GB_BusinessObjectAbstract, GB_BusinessObjectDefault, GB_BusinessObjectSimpleAbstract, GB_ValueOwnerImpl

public interface GB_MementoCompliant

Abstraction of object that accept the usage of memento pattern.

Version:
2003/11/21 - 16:42:16 - gen 7.12
Author:
Gregory Borelli

Method Summary
 void installMemento(GB_Memento a_memento)
          Install a memento to an object.
 GB_Memento newMemento()
          Create a new memento for this object.
 

Method Detail

installMemento

public void installMemento(GB_Memento a_memento)
Install a memento to an object.

Parameters:
a_memento - GB_Memento - the memento used to restore the value

newMemento

public GB_Memento newMemento()
Create a new memento for this object.

Returns:
GB_Memento


Copyright © 2002-2007 Gregory Borelli [Loribel]. All Rights Reserved.