jpa.p1.pub
Class PubRecord

java.lang.Object
  |
  +--jpa.p1.pub.PubRecord

public class PubRecord
extends java.lang.Object

This class represents a single PlatformOne record. It is implemented by the JPA PlatformOne Publishing package, and is created in response to an invocation of the createRecord method in the PubDataset class.


Method Summary
 PubUpdate beginUpdate(PubUpdateEvent oEvent)
          This method begins a series of field updates, returning a reference to an PubUpdate object.
 void close()
          This method closes the record.
 PubDataset getDataset()
          This method returns a reference to the parent dataset.
 java.lang.String getName()
          This method returns the record name.
 void open(java.lang.String schemaName, boolean bPersistent)
          This method opens the record for publication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
This method returns the record name.

getDataset

public PubDataset getDataset()
This method returns a reference to the parent dataset.

open

public void open(java.lang.String schemaName,
                 boolean bPersistent)
This method opens the record for publication. If the persistence flag is set to true, the record continues to exist after the last publisher has disconnected or closed the record. If is set to false, the record ceases to exist.

close

public void close()
This method closes the record. If the record is persistent, and this is the only client publishing to it, the record is deleted. All records are also closed when this client disconnects.

beginUpdate

public PubUpdate beginUpdate(PubUpdateEvent oEvent)
This method begins a series of field updates, returning a reference to an PubUpdate object. The single argument is a reference to an object that implements the PubUpdateEvent interface.