Class Element

java.lang.Object
com.portal.pcm.Field
com.portal.pcm.Element
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
ArrayField

public class Element extends Field
The element class contains information pertaining to fields that belong to an FList array.
See Also:
  • Field Details

    • ELEMID_ANY

      public static final int ELEMID_ANY
      'Any' Element ID - matches all element IDs.
      See Also:
    • ELEMID_ASSIGN

      public static final int ELEMID_ASSIGN
      'Assign' Element ID - Used to request element ID assignment.
      See Also:
    • ELEMID_MAX

      public static final int ELEMID_MAX
      Maximum element ID value.
      See Also:
  • Constructor Details

    • Element

      public Element(int nameID, int typeID, int elementID)
      Constructs an instance of Element from a name ID, a type ID, and an element ID.
      Parameters:
      nameID - A valid Portal field name.
      typeID - A valid Portal storable class type name.
      elementID - A valid element ID.
      See Also:
    • Element

      public Element(int nameID, int typeID, int elementID, String name)
  • Method Details

    • getElementID

      public int getElementID()
      Returns the element ID.
      Returns:
      The element id.
    • setElementID

      public void setElementID(int elementID)
      Sets the element ID.
      Parameters:
      elementID - The element ID.
    • toString

      public String toString()
      Description copied from class: Field
      Returns a string representation of field.
      Overrides:
      toString in class Field
      Returns:
      A string representation of this field.