Class PCompoundFieldSpec

java.lang.Object
com.portal.bas.PFieldSpecification
com.portal.bas.PCompoundFieldSpec
All Implemented Interfaces:
Serializable

public class PCompoundFieldSpec extends PFieldSpecification implements Serializable
PCompoundFieldSpec is a subclass of PFieldSpecification that represents more than one field in the specification. This should only be used for display purposes.

Example: FldNameinfo[any].FldFirstName + " " + * FldNameinfo[any].FldLastName

Version:
6
Author:
Larry Lynch-Freshner
See Also:
  • Method Details

    • getSpecs

      public Iterator getSpecs()
      Gets an iterator that iterates through the various field specifications and string constants that make up this compound specification.
      Returns:
      The specification iterator.
    • getSpecForElement

      public PFieldSpecification getSpecForElement(int index)
      If the compound specification includes an array specification, this method returns a compound specification for a single element of the array.
      Parameters:
      index - the array element to use in the specification
      Returns:
      A new field specification.
    • toString

      public String toString()
      Overrides the Object method.
      Overrides:
      toString in class Object
      Returns:
      A String description of the specification.
    • destructor

      public void destructor()