com.jwpepper.cat
Class SectionReference

java.lang.Object
  |
  +--com.imaginary.lwp.BaseReference
        |
        +--com.jwpepper.cat.EntryReference
              |
              +--com.jwpepper.cat.CompositeEntryReference
                    |
                    +--com.jwpepper.cat.SectionReference

public class SectionReference
extends CompositeEntryReference

Provides a clean client interface into the section business object by delegating to the methods of the same name.
Last modified $Date: 1999/10/05 04:11:16 $

Version:
$Revision
Author:
Neophytos Iacovou (iacovou@ancept.com), George Reese (george@ancept.com)
See Also:
Section, Serialized Form

Constructor Summary
SectionReference()
          Empty constructor required by serialization.
SectionReference(long oid)
          Constructs a section reference that refers to the section having the specified objectID
SectionReference(Section ent)
          Constructs a section reference that points to the specified entity object.
 
Method Summary
 void assign(long oid, com.sun.java.util.collections.HashMap vals)
          Assigns a section reference preloaded with the specified values.
 
Methods inherited from class com.jwpepper.cat.CompositeEntryReference
addEntry, entries
 
Methods inherited from class com.jwpepper.cat.EntryReference
getCatalog, getDescription, getParent, getTitle
 
Methods inherited from class com.imaginary.lwp.BaseReference
assign, assign, get, getEntity, getLastUpdateID, getLastUpdateTime, getObjectID, put, reconnect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SectionReference

public SectionReference()
Empty constructor required by serialization.

SectionReference

public SectionReference(long oid)
Constructs a section reference that refers to the section having the specified objectID
Parameters:
oid - the identifier for the desired section instance

SectionReference

public SectionReference(Section ent)
                 throws java.rmi.RemoteException
Constructs a section reference that points to the specified entity object.
Parameters:
ent - the section to which this reference delegates
Throws:
java.rmi.RemoteException - a network error occurred
Method Detail

assign

public void assign(long oid,
                   com.sun.java.util.collections.HashMap vals)
Assigns a section reference preloaded with the specified values.
Parameters:
oid - the objectID of the section
vals - the values to preload
Overrides:
assign in class CompositeEntryReference