Interface JOP.persist.PersistController
All Packages Class Hierarchy This Package Previous Next Index Home
Interface JOP.persist.PersistController
- public interface PersistController
- extends Object
A PersistController is passed to objects that implement
JOP.persist.Persistable or JOP.persist.PersistMarshall.
The purpose of the PersistController is to allow the object to...
- define its slots and for each slot its type
- save the values of each slot
- load values from the PersistController and save them in the
objects slot's.
The methods 'streamIn()', 'streamOut()' and
'defineObject()' are invoked automatically by the PersistManager.
The object's implementation of these methods should call methods
in the PersistController to access slot values or definitions.
The documentation for Persistable contains a complete example of use
of the Persistable interface.
JOP includes support for all Java scalar types and the Java objects for
each of those scalar types plus String and java.util.Date. Slots (fields)
are defined in terms of these types. TYPE_OBJECT indicates that the field
contains a reference to another object. Arrays (single dimension only)
are supported.
- See Also:
- Persistable
-
TYPE_BOOLEAN
- Slot contains a 'boolean' or a 'Boolean'
-
TYPE_BYTE
- Slot contains a 'byte'
-
TYPE_CHARACTER
- Slot contains a 'char' or a 'Character'
-
TYPE_DATE
- Slot contains a 'Date'
-
TYPE_DOUBLE
- Slot contains a 'double' or a 'Double'
-
TYPE_FLOAT
- Slot contains a 'float' or a 'Float'
-
TYPE_INTEGER
- Slot contains a 'int' or a 'Integer'
-
TYPE_LONG
- Slot contains a 'long' or a 'Long'
-
TYPE_OBJECT
- Slot contains an Object of undefined type
-
TYPE_SHORT
- Slot contains a 'short'
-
TYPE_STRING
- Slot contains a 'String'
-
booleanArray(String)
- Retrieve an array of type 'boolean' with the given name.
-
booleanValue(String)
- Retrieve a slot of type 'boolean' with the given name.
-
byteArray(String)
- Retrieve an array of type 'byte' with the given name.
-
byteValue(String)
- Retrieve a slot of type 'byte' with the given name.
-
charArray(String)
- Retrieve an array of type 'char' with the given name.
-
charValue(String)
- Retrieve a slot of type 'char' with the given name.
-
defineSlot(String, String, PersistSlotType)
- Defines the type of a slot.
-
defineSlotArray(String, String, PersistSlotType)
- Defines an array slot where each element of the
array has the type.
-
doubleArray(String)
- Retrieve an array of type 'double' with the given name.
-
doubleValue(String)
- Retrieve a slot of type 'double' with the given name.
-
floatArray(String)
- Retrieve an array of type 'float' with the given name.
-
floatValue(String)
- Retrieve a slot of type 'float' with the given name.
-
getBoolean(String)
- Retrieve a reference to a 'Boolean' object for the slot with the given name.
-
getBooleanArray(String)
- Retrieve a reference to a 'Boolean array' object for the slot with the given name.
-
getCharacter(String)
- Retrieve a reference to a 'Character' object for the slot with the given name.
-
getCharacterArray(String)
- Retrieve a reference to a 'Character array' object for the slot with the given name.
-
getDate(String)
- Retrieve a reference to a 'Date' object for the slot with the given name.
-
getDateArray(String)
- Retrieve a reference to a 'Date array' object for the slot with the given name.
-
getDouble(String)
- Retrieve a reference to a 'Double' object for the slot with the given name.
-
getDoubleArray(String)
- Retrieve a reference to a 'Double array' object for the slot with the given name.
-
getFloat(String)
- Retrieve a reference to a 'Float' object for the slot with the given name.
-
getFloatArray(String)
- Retrieve a reference to a 'Float array' object for the slot with the given name.
-
getInteger(String)
- Retrieve a reference to an 'Integer' object for the slot with the given name.
-
getIntegerArray(String)
- Retrieve a reference to an 'Integer array' object for the slot with the given name.
-
getLong(String)
- Retrieve a reference to a 'Long' object for the slot with the given name.
-
getLongArray(String)
- Retrieve a reference to a 'Long array' object for the slot with the given name.
-
getObject(String)
- Retrieve a reference to an 'Object' for the slot with the given name.
-
getObjectArray(String)
- Retrieve a reference to an 'Object' for the slot with the given name.
-
getPersistManager()
- Returns the PeristManager associated with this PersistController.
-
getString(String)
- Retrieve a reference to a 'String' object for the slot with the given name.
-
getStringArray(String)
- Retrieve a reference to a 'String array' object for the slot with the given name.
-
intArray(String)
- Retrieve an array of type 'int' with the given name.
-
intValue(String)
- Retrieve a slot of type 'int' with the given name.
-
longArray(String)
- Retrieve an array of type 'long' with the given name.
-
longValue(String)
- Retrieve a slot of type 'long' with the given name.
-
put(String, Boolean)
- Save a slot value.
-
put(String, boolean)
- Save a slot value.
-
put(String, Boolean[])
- Save a slot array.
-
put(String, boolean[])
- Save a slot array.
-
put(String, byte)
- Save a slot value.
-
put(String, byte[])
- Save a slot array.
-
put(String, char)
- Save a slot value.
-
put(String, char[])
- Save a slot array.
-
put(String, Character)
- Save a slot value.
-
put(String, Character[])
- Save a slot array.
-
put(String, Date)
- Save a slot value.
-
put(String, Date[])
- Save a slot array.
-
put(String, double)
- Save a slot value.
-
put(String, Double)
- Save a slot value.
-
put(String, Double[])
- Save a slot array.
-
put(String, double[])
- Save a slot array.
-
put(String, Float)
- Save a slot value.
-
put(String, float)
- Save a slot value.
-
put(String, Float[])
- Save a slot array.
-
put(String, float[])
- Save a slot array.
-
put(String, int)
- Save a slot value.
-
put(String, int[])
- Save a slot array.
-
put(String, Integer)
- Save a slot value.
-
put(String, Integer[])
- Save a slot array.
-
put(String, long)
- Save a slot value.
-
put(String, Long)
- Save a slot value.
-
put(String, Long[])
- Save a slot array.
-
put(String, long[])
- Save a slot array.
-
put(String, Object)
- Save a slot value.
-
put(String, Object[])
- Save a slot array.
-
put(String, short)
- Save a slot value.
-
put(String, short[])
- Save a slot array.
-
put(String, String)
- Save a slot value.
-
put(String, String[])
- Save a slot array.
-
shortArray(String)
- Retrieve an array of type 'short' with the given name.
-
shortValue(String)
- Retrieve a slot of type 'short' with the given name.
TYPE_FLOAT
public final static PersistSlotType TYPE_FLOAT
- Slot contains a 'float' or a 'Float'
TYPE_DOUBLE
public final static PersistSlotType TYPE_DOUBLE
- Slot contains a 'double' or a 'Double'
TYPE_INTEGER
public final static PersistSlotType TYPE_INTEGER
- Slot contains a 'int' or a 'Integer'
TYPE_SHORT
public final static PersistSlotType TYPE_SHORT
- Slot contains a 'short'
TYPE_BYTE
public final static PersistSlotType TYPE_BYTE
- Slot contains a 'byte'
TYPE_LONG
public final static PersistSlotType TYPE_LONG
- Slot contains a 'long' or a 'Long'
TYPE_BOOLEAN
public final static PersistSlotType TYPE_BOOLEAN
- Slot contains a 'boolean' or a 'Boolean'
TYPE_CHARACTER
public final static PersistSlotType TYPE_CHARACTER
- Slot contains a 'char' or a 'Character'
TYPE_STRING
public final static PersistSlotType TYPE_STRING
- Slot contains a 'String'
TYPE_DATE
public final static PersistSlotType TYPE_DATE
- Slot contains a 'Date'
TYPE_OBJECT
public final static PersistSlotType TYPE_OBJECT
- Slot contains an Object of undefined type
defineSlot
public abstract void defineSlot(String classname,
String slotname,
PersistSlotType type) throws Exception
- Defines the type of a slot. This method can only
be invoked from within the defineObject() method of
an object that implements either Persistable
or PersistMarshall.
- Parameters:
- classname - The full name of this class. It should include the
name of the package.
- slotname - The external (ie the PersistManager's) name of the slot. This
need not be the same as the internal slot name. Slotnames must be unique for
a class and all it's superclasses.
- type - One of the value types for the slot.
- See Also:
- defineObject, PersistMarshall
defineSlotArray
public abstract void defineSlotArray(String classname,
String slotname,
PersistSlotType type) throws Exception
- Defines an array slot where each element of the
array has the type.
intValue
public abstract int intValue(String name) throws Exception
- Retrieve a slot of type 'int' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'int' value
- See Also:
- streamIn, PersistMarshall
charValue
public abstract char charValue(String name) throws Exception
- Retrieve a slot of type 'char' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'char' value
- See Also:
- streamIn, PersistMarshall
byteValue
public abstract byte byteValue(String name) throws Exception
- Retrieve a slot of type 'byte' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'byte' value
- See Also:
- streamIn, PersistMarshall
shortValue
public abstract short shortValue(String name) throws Exception
- Retrieve a slot of type 'short' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'short' value
- See Also:
- streamIn, PersistMarshall
longValue
public abstract long longValue(String name) throws Exception
- Retrieve a slot of type 'long' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'long' value
- See Also:
- streamIn, PersistMarshall
floatValue
public abstract float floatValue(String name) throws Exception
- Retrieve a slot of type 'float' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'float' value
- See Also:
- streamIn, PersistMarshall
doubleValue
public abstract double doubleValue(String name) throws Exception
- Retrieve a slot of type 'double' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'double' value
- See Also:
- streamIn, PersistMarshall
booleanValue
public abstract boolean booleanValue(String name) throws Exception
- Retrieve a slot of type 'boolean' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'boolean' value
- See Also:
- streamIn, PersistMarshall
intArray
public abstract int[] intArray(String name) throws Exception
- Retrieve an array of type 'int' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'int' value
- See Also:
- streamIn, PersistMarshall
charArray
public abstract char[] charArray(String name) throws Exception
- Retrieve an array of type 'char' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'char' value
- See Also:
- streamIn, PersistMarshall
byteArray
public abstract byte[] byteArray(String name) throws Exception
- Retrieve an array of type 'byte' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'byte' value
- See Also:
- streamIn, PersistMarshall
shortArray
public abstract short[] shortArray(String name) throws Exception
- Retrieve an array of type 'short' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'short' value
- See Also:
- streamIn, PersistMarshall
longArray
public abstract long[] longArray(String name) throws Exception
- Retrieve an array of type 'long' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'long' value
- See Also:
- streamIn, PersistMarshall
floatArray
public abstract float[] floatArray(String name) throws Exception
- Retrieve an array of type 'float' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'float' value
- See Also:
- streamIn, PersistMarshall
doubleArray
public abstract double[] doubleArray(String name) throws Exception
- Retrieve an array of type 'double' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'double' value
- See Also:
- streamIn, PersistMarshall
booleanArray
public abstract boolean[] booleanArray(String name) throws Exception
- Retrieve an array of type 'boolean' with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'boolean' value
- See Also:
- streamIn, PersistMarshall
getDate
public abstract Date getDate(String name) throws Exception
- Retrieve a reference to a 'Date' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Date' object reference
- See Also:
- streamIn, PersistMarshall
getCharacter
public abstract Character getCharacter(String name) throws Exception
- Retrieve a reference to a 'Character' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Character' object reference
- See Also:
- streamIn, PersistMarshall
getString
public abstract String getString(String name) throws Exception
- Retrieve a reference to a 'String' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'String' object reference
- See Also:
- streamIn, PersistMarshall
getInteger
public abstract Integer getInteger(String name) throws Exception
- Retrieve a reference to an 'Integer' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Integer' object
- See Also:
- streamIn, PersistMarshall
getLong
public abstract Long getLong(String name) throws Exception
- Retrieve a reference to a 'Long' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Long' object
- See Also:
- streamIn, PersistMarshall
getFloat
public abstract Float getFloat(String name) throws Exception
- Retrieve a reference to a 'Float' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Float' object
- See Also:
- streamIn, PersistMarshall
getDouble
public abstract Double getDouble(String name) throws Exception
- Retrieve a reference to a 'Double' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Double' object
- See Also:
- streamIn, PersistMarshall
getBoolean
public abstract Boolean getBoolean(String name) throws Exception
- Retrieve a reference to a 'Boolean' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Boolean' object
- See Also:
- streamIn, PersistMarshall
getObject
public abstract Object getObject(String name) throws Exception
- Retrieve a reference to an 'Object' for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
The object will be of the same type as the object
that was saved in the corresponding 'put()' call.
The calling method must cast the returned object to
an object of the appropriate type before assigning it
to a slot value.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Object'
- See Also:
- streamIn, PersistMarshall
getDateArray
public abstract Date[] getDateArray(String name) throws Exception
- Retrieve a reference to a 'Date array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Date array' object reference
- See Also:
- streamIn, PersistMarshall
getCharacterArray
public abstract Character[] getCharacterArray(String name) throws Exception
- Retrieve a reference to a 'Character array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Character array' object reference
- See Also:
- streamIn, PersistMarshall
getStringArray
public abstract String[] getStringArray(String name) throws Exception
- Retrieve a reference to a 'String array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'String array' object reference
- See Also:
- streamIn, PersistMarshall
getIntegerArray
public abstract Integer[] getIntegerArray(String name) throws Exception
- Retrieve a reference to an 'Integer array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Integer array' object
- See Also:
- streamIn, PersistMarshall
getLongArray
public abstract Long[] getLongArray(String name) throws Exception
- Retrieve a reference to a 'Long array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Long array' object
- See Also:
- streamIn, PersistMarshall
getFloatArray
public abstract Float[] getFloatArray(String name) throws Exception
- Retrieve a reference to a 'Float array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Float array' object
- See Also:
- streamIn, PersistMarshall
getDoubleArray
public abstract Double[] getDoubleArray(String name) throws Exception
- Retrieve a reference to a 'Double array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Double array' object
- See Also:
- streamIn, PersistMarshall
getBooleanArray
public abstract Boolean[] getBooleanArray(String name) throws Exception
- Retrieve a reference to a 'Boolean array' object for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Boolean array' object
- See Also:
- streamIn, PersistMarshall
getObjectArray
public abstract Object[] getObjectArray(String name) throws Exception
- Retrieve a reference to an 'Object' for the slot with the given name. This
method can only be invoked from within streamIn() of an
object that implements Persistable or from a class that
implements PersistMarshall.
The object will be of the same type as the object
that was saved in the corresponding 'put()' call.
The calling method must cast the returned object to
an object of the appropriate type before assigning it
to a slot value.
- Parameters:
- name - The name of the slot. This name must correspond
to one of the slot names and types defined
in the user provided 'defineObject()' method by a
call to 'defineSlot()'.
- Returns:
- s the 'Object'
- See Also:
- streamIn, PersistMarshall
put
public abstract void put(String name,
int value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
char value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
byte value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
short value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
long value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
float value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
double value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
boolean value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
String value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Date value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Integer value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Character value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Long value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Float value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Double value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Boolean value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Object value) throws Exception
- Save a slot value. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The value to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
int value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
char value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
byte value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
short value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
long value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
float value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
double value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
boolean value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
String value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Date value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Integer value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Character value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Long value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Float value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Double value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Boolean value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
put
public abstract void put(String name,
Object value[]) throws Exception
- Save a slot array. This method can only be invoked
from within streamOut() of an object that implements
Persistable or from a class that implements PersistMarshall.
The type of the argument and the slotname must match
a slot defined in the user provided 'defineObject()' method.
- Parameters:
- name - The name of the slot. Must have been
previously defined.
- value - The array to be saved.
- See Also:
- streamOut, PersistMarshall
getPersistManager
public abstract PersistManager getPersistManager() throws Exception
- Returns the PeristManager associated with this PersistController.
- Returns:
- s The persist manager
All Packages Class Hierarchy This Package Previous Next Index Home