Class EditorInputVariable

All Implemented Interfaces:
IPropDesigner, EventListener, IGProp<GProp<?>[]>, IPropCnr, IVSComponentListener, IVSComponentState, IVSFieldListener, Cloneable, IAdaptable

public class EditorInputVariable extends InputVariable implements IPropDesigner
Editor version of the Input Variable connects a VSField with an input variable or parameter to an SQL query statement.
Author:
Christopher Mindus
  • Constructor Details Link icon

    • EditorInputVariable Link icon

      public EditorInputVariable()
      Creates the property container without a name. The name must be set in all cases using the setPropertyAtom call.
    • EditorInputVariable Link icon

      public EditorInputVariable(Atom propertyAtom)
      Creates the property container with the specified name. All system-reserved names for components begins with "$".
      Parameters:
      propertyAtom - the name of the component, unique within it's parent.
  • Method Details Link icon

    • getDesigner Link icon

      public DatabaseDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • clone Link icon

      public EditorInputVariable clone()
      Clone must be overridden.
      Overrides:
      clone in class InputVariable
    • getVSField Link icon

      public EditorVSField getVSField()
      Gets the VSField.
      Overrides:
      getVSField in class InputVariable
      Returns:
      The VSField associated, or null for none (or unresolved).
    • setSQLDataType Link icon

      public boolean setSQLDataType(int type)
      Sets the SQL data type.

      This method is used internally by the Designer during creation of the SQL statement and should not be called elsewhere.

      Overrides:
      setSQLDataType in class InputVariable
      Parameters:
      type - The SQL data type for the column as defined by Types.
      Returns:
      true for changed, false for no change.
    • verify Link icon

      public boolean verify(PropVerification verification)
      Verifies this property container. The check performed is the extension of classes and that no circular reference is present.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.