org.infolayer.connection.ram
Class RamConnection

java.lang.Object
  extended byorg.infolayer.model.Connection
      extended byorg.infolayer.connection.ram.RamConnection
All Implemented Interfaces:
ModificationListener
Direct Known Subclasses:
AkelConnection

public class RamConnection
extends Connection

A transient connection


Constructor Summary
RamConnection()
           
 
Method Summary
 void close()
           
 void hex(java.lang.StringBuffer buf, long l, int digits)
           
 void init(UmlClass base, java.lang.String connector)
          Argument: base directory
 void modified(UmlObject umlObject)
          Mark the given instance as modified, so it will be written back to the underlying persistent storage
 void open()
          Opens a connection that has been created before.
 
Methods inherited from class org.infolayer.model.Connection
create, createUmlObject, generateId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RamConnection

public RamConnection()
Method Detail

init

public void init(UmlClass base,
                 java.lang.String connector)
Argument: base directory

Specified by:
init in class Connection

open

public void open()
Description copied from class: Connection
Opens a connection that has been created before. Separation of creation and open allows the holder to store a reference before the connection is actually accessed since the access may result in further indirect access to the connection

Specified by:
open in class Connection

hex

public void hex(java.lang.StringBuffer buf,
                long l,
                int digits)

modified

public void modified(UmlObject umlObject)
Mark the given instance as modified, so it will be written back to the underlying persistent storage


close

public void close()
Specified by:
close in class Connection