gr.uoa.di.madgik.grs.bridge
Class GCubeRecord

java.lang.Object
  extended by gr.uoa.di.madgik.grs.record.Record
      extended by gr.uoa.di.madgik.grs.bridge.GCubeRecord
All Implemented Interfaces:
gr.uoa.di.madgik.grs.record.IPumpable, Serializable
Direct Known Subclasses:
GCubeXMLRecord

public abstract class GCubeRecord
extends gr.uoa.di.madgik.grs.record.Record

Base record that is manageable by the upgrade / downgrade facilities

Author:
gpapanikos
See Also:
Serialized Form

Constructor Summary
GCubeRecord()
           
 
Method Summary
abstract  String downgrade()
          Downgrade the record to a string serialization that is compatible to the serialization of an "old style" ResultSet record
abstract  void upgrade(String record)
          Upgrade from the provided "old style" ResultSet record serialization to the provided record
 
Methods inherited from class gr.uoa.di.madgik.grs.record.Record
bind, deflate, dispose, extendDeflate, extendDispose, extendInflate, extendMakeLocal, extendReceive, extendSend, fromXML, getDefinition, getDefinitionIndex, getField, getField, getFields, getID, hide, inflate, inflate, isBoundTo, isRemoteCopy, makeAvailable, makeAvailable, makeAvailable, makeLocal, markActivity, prebind, receive, receiveFromXML, requestPartial, resolveTransportDirective, send, sendToXML, setDefinitionIndex, setFields, setID, setRemoteCopy, show, toXML, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GCubeRecord

public GCubeRecord()
Method Detail

downgrade

public abstract String downgrade()
                          throws GCubeBridgeException
Downgrade the record to a string serialization that is compatible to the serialization of an "old style" ResultSet record

Returns:
the serialization
Throws:
GCubeBridgeException - the downgrade could not be performed

upgrade

public abstract void upgrade(String record)
                      throws GCubeBridgeException
Upgrade from the provided "old style" ResultSet record serialization to the provided record

Parameters:
record - the ResultSet record serialization
Throws:
GCubeBridgeException - the upgrade could not be performed


Copyright © 2014. All Rights Reserved.