All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class JObserve.FieldLink

java.lang.Object
   |
   +----JObserve.FieldLink

public class FieldLink
extends Object
Link class for scan fields Provides a base class for singly linked lists of fields. A null Next value indicates the end of the list.

See Also:
FieldList

Variable Index

 o ComputedValue
 o ExplicitValue
 o Failed
Symbolic values for present member Failed, NotPresent, ComputedValue, ExplicitValue
 o myName
Name of the class
 o Next
Link to next field, null terminates.
 o NotPresent

Constructor Index

 o FieldLink()
Constructor

Method Index

 o Delete(Scan)
Delete current value and replace with default
 o Display(Scan)
Display current value
 o Edit(Scan)
Edit current value
 o GiveValue()
Write value to string(s) Virtual version.
 o Name()
Class name
 o ParseValue(String, int, boolean)
Read value from string Virtual version.
 o Postprocess(Scan)
Postprocess Usually nothing need be done.
 o Preprocess(Scan)
Preprocess Fill in defaults if not present.
 o SetDefault(Scan, Scan)
Set defaults Fill in defaults if not explicit in Current but is in Default.

Variables

 o Failed
 public static final int Failed
Symbolic values for present member Failed, NotPresent, ComputedValue, ExplicitValue

 o NotPresent
 public static final int NotPresent
 o ComputedValue
 public static final int ComputedValue
 o ExplicitValue
 public static final int ExplicitValue
 o Next
 public FieldLink Next
Link to next field, null terminates.

 o myName
 public String myName
Name of the class

Constructors

 o FieldLink
 public FieldLink()
Constructor

Methods

 o Name
 public String Name()
Class name

Returns:
String Name of the class
 o SetDefault
 public void SetDefault(Scan Current,
                        Scan Default)
Set defaults Fill in defaults if not explicit in Current but is in Default.

Parameters:
Scan - of which this field is a member.
Scan - to get defaults from
 o Preprocess
 public void Preprocess(Scan Current)
Preprocess Fill in defaults if not present.

Parameters:
Scan - of which this field is a member.
 o Postprocess
 public void Postprocess(Scan Current)
Postprocess Usually nothing need be done.

Parameters:
Scan - of which this field is a member.
 o Delete
 public void Delete(Scan Current)
Delete current value and replace with default

Parameters:
Scan - of which this field is a member.
 o Display
 public void Display(Scan Current)
Display current value

Parameters:
Scan - of which this field is a member. this one needs alot more thought about the signature
 o Edit
 public void Edit(Scan Current)
Edit current value

Parameters:
Scan - of which this field is a member. this one needs alot more thought about the signature
 o ParseValue
 public void ParseValue(String Value,
                        int Index,
                        boolean Constant)
Read value from string Virtual version. Set value to input string.

Parameters:
String - Value string
index - Index (not used)
boolean - true if a constant value
 o GiveValue
 public String[] GiveValue()
Write value to string(s) Virtual version. Only returns a value if an Explicit value is present. Format: Name(index)* Value<\br> Where (index) is present if the value is an array (not the case for Field), and the "*" indicates a constant (not editable) value

Returns:
String one entry per Value array element; null if no explicit value.

All Packages  Class Hierarchy  This Package  Previous  Next  Index