00001 00066 package com.arcle.rmt.superwaba.model.imp.rqml; 00067 00068 import superwaba.ext.xplat.io.Storable; 00069 00070 import com.arcle.rmt.superwaba.model.imp.*; 00071 import com.arcle.rmt.rqml.*; 00072 00079 public class DefinitionImpl extends StringOnlyImpl implements Definition { 00080 00081 public GenericMemento createMemento() { 00082 return new Memento(this); 00083 } 00084 00085 00086 00087 //----------------------------------------------------------------------- 00088 // Inner Classes 00089 00090 protected static class Memento extends StringOnlyImpl.Memento { 00091 public Memento(DefinitionImpl originator) { 00092 super(originator); 00093 } 00094 00095 public Storable getInstance() { 00096 // This memento is not directly stored in the Catalog, 00097 // so this factory method is not required. 00098 return null; 00099 } 00100 00101 public byte getID() { 00102 return DocumentImpl.DEFINITION_ID; 00103 } 00104 } 00105 }