Class OctTerm

Class OctTerm

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

public class OctTerm
extends OctObject
Declaration for OctTerm object

Variable Index

 o className
 o formalExternalId
externalId of the formal terminal (may be not assigned)
 o instanceId
objectId of the instance (if actual terminal) OCT.NULL_ID, if formal terminal
 o name
Name of the terminal
 o octFields
 o width
Width of the terminal

Constructor Index

 o OctTerm(OctCell)
Constructor of an OctTerm (for loading from data back-end server)
 o OctTerm(OctCell, String, int, int, int)
Constructor of an OctTerm (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 OctTerm 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 name
  public String name
Name of the terminal
 o instanceId
  public int instanceId
objectId of the instance (if actual terminal) OCT.NULL_ID, if formal terminal
 o formalExternalId
  public int formalExternalId
externalId of the formal terminal (may be not assigned)
 o width
  public int width
Width of the terminal

Constructors

 o OctTerm
  public OctTerm(OctCell octCell,
                 String name,
                 int instanceId,
                 int formalExternalId,
                 int width)
Constructor of an OctTerm (for dynamic creation)
Parameters:
octCell - The OctCell that the object resides in
name - The name of the terminal
instanceId - objectId of the instance to which it belongs
formalExternalId - externalId of the formal terminal that the actual terminal represents
width - The width of the terminal
 o OctTerm
  public OctTerm(OctCell octCell)
Constructor of an OctTerm (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 OctTerm 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()
Does not require filling since the object has no object fields
Overrides:
GetObjFields in class PersistentObject