Class OctInstance

Class OctInstance

java.lang.Object
   |
   +----PersistentObject
           |
           +----OctObject
                   |
                   +----OctInstance

public class OctInstance
extends OctObject
Declaration for OctInstance object

Variable Index

 o className
 o facet
Name of the facet
 o master
Name of the master
 o name
Name of the instance
 o objFields
 o octFields
 o transform
Tranformation
 o version
Version number (default to OCT.CURRENT_VERSION)
 o view
Name of the view

Constructor Index

 o OctInstance(OctCell)
Constructor of an OctInstance (for loading from data back-end server)
 o OctInstance(OctCell, OctTransform, String, String, String, String, int)
Constructor of an OctInstance (for dynamic creation)

Method Index

 o GetObjFields()
Filled if any of the fields are objects
 o Load(int)
Loads the fields of an OctInstance from data back-end
 o Load(String)
Should not be called
 o SetObjFields()
Performs the neccessary overhead to allow this object to be manipulated over the network

Variables

 o className
  public final static String className
 o octFields
  public final static int octFields
 o objFields
  public final static int objFields
 o transform
  public OctTransform transform
Tranformation
 o name
  public String name
Name of the instance
 o master
  public String master
Name of the master
 o view
  public String view
Name of the view
 o facet
  public String facet
Name of the facet
 o version
  public int version
Version number (default to OCT.CURRENT_VERSION)

Constructors

 o OctInstance
  public OctInstance(OctCell octCell,
                     OctTransform transform,
                     String name,
                     String master,
                     String view,
                     String facet,
                     int version)
Constructor of an OctInstance (for dynamic creation)
Parameters:
octCell - The OctCell that the object resides in
name - The name of the instance
view - The view of the cell master
master - The master of the instance
version - The version of the instance
transform - The transform of the cell
 o OctInstance
  public OctInstance(OctCell octCell)
Constructor of an OctInstance (for loading from data back-end server)
Parameters:
octCell - The OctCell that the object resides in

Methods

 o SetObjFields
  protected void SetObjFields()
Performs the neccessary overhead to allow this object to be manipulated over the network
Overrides:
SetObjFields in class PersistentObject
 o Load
  public boolean Load(int intId)
Loads the fields of an OctInstance from data back-end
Parameters:
intId - The integer (unique) Id for the object
Overrides:
Load in class PersistentObject
 o Load
  public boolean Load(String strId)
Should not be called
Overrides:
Load in class PersistentObject
 o GetObjFields
  protected int GetObjFields()
Filled if any of the fields are objects
Overrides:
GetObjFields in class PersistentObject