Class OctFacet

Class OctFacet

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

public class OctFacet
extends OctObject
Declaration for OctFacet object

Variable Index

 o cell
 o className
 o facet
 o mode
 o octFields
 o version
 o view

Constructor Index

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

Method Index

 o GetObjFields()
Does not require filling since the object has no object fields
 o Load(int)
Loads the fields of an OctFacet 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 cell
  public String cell
 o view
  public String view
 o facet
  public String facet
 o version
  public int version
 o mode
  public int mode

Constructors

 o OctFacet
  public OctFacet(OctCell octCell,
                  String cellName,
                  String viewName,
                  String facetName,
                  int version,
                  int mode)
Constructor of an OctFacet (for dynamic creation)
Parameters:
octCell - The OctCell that the object resides in
cell - The cell which contains this facet
view - The view of the cell
facet - The facet of the cell
version - The version of the cell(should set to OCT.CURRENT_VERSION)
mode - The mode of the cell (READ, WRITE or APPEND)
 o OctFacet
  public OctFacet(OctCell octCell)
Constructor of an OctFacet (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 OctFacet from data back-end
Parameters:
objectId - The String Id for the object (may not be applicable)
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()
Does not require filling since the object has no object fields
Overrides:
GetObjFields in class PersistentObject