Class ResultProps

    • Constructor Detail

      • ResultProps

        public ResultProps()
        Creates a Result property container with the specified name with a null value.
      • ResultProps

        public ResultProps​(Atom propertyAtom)
        Creates a Result property container with the specified name with a null value.
        Parameters:
        propertyAtom - the property atom.
    • Method Detail

      • getDatabaseProps

        public DatabaseProps getDatabaseProps()
        Gets the Database Transaction properties.
        Returns:
        The Database Transaction properties, or null if this property is orphaned.
      • getDescription

        public java.lang.String getDescription()
        Gets the result set description.
        Returns:
        A description, or null for none.
      • getVSReference

        public VSParticipant getVSReference​(Atom refAtom)
        Gets a VSReference instance from the container or any parent containers. The method is used by VSRelativeReference to look up the VSReference instance in order to resolve the relative path to the target property.
        Specified by:
        getVSReference in interface IGProp<GProp<?>[]>
        Overrides:
        getVSReference in class PropCnr
        Parameters:
        refAtom - The property atom of the requesting relative reference property.
        Returns:
        The instance of the VSReference or null if unassigned.
      • getVirtualSpace

        public VirtualSpace getVirtualSpace()
        Gets the VirtualSpace.
        Specified by:
        getVirtualSpace in interface IVSAccessor
        Returns:
        The VirtualSpace connected to the result set, or null for none.
      • getTargetVirtualSpaceParticipant

        public VSParticipant getTargetVirtualSpaceParticipant()
        Gets the target VirtualSpace participant for output data.
        Returns:
        The target VirtualSpace participating with the output data, null for none.
      • getVSFieldReference

        public VSFieldReference getVSFieldReference()
        Gets the VSField reference.
        Returns:
        The VSField refence instance, or null if undefined.
      • getVSField

        public VSField getVSField()
        Gets the VirtualSpace table for all the output.
        Returns:
        The VirtualSpace Table, null for none.
      • onResolved

        public void onResolved​(VSRelativeReference<?> reference,
                               VSField field)
        Called when the property reference has been resolved. UI components use this method to set its state according to the field.
        Specified by:
        onResolved in interface IVSFieldListener
        Parameters:
        reference - The VSRelativeReference instance holding the reference.
        field - The target reference.
      • onBroken

        public void onBroken​(VSRelativeReference<?> reference,
                             VSField field)
        Called when the property reference has been broken, i.e. unresolved.
        Specified by:
        onBroken in interface IVSFieldListener
        Parameters:
        reference - The VSRelativeReference instance holding the reference.
        field - The target reference.
      • onParentStateChanged

        public void onParentStateChanged​(IVSComponent parent,
                                         IVSComponentState.State state,
                                         boolean on)
        Called when the column changes state.
        Specified by:
        onParentStateChanged in interface IVSComponentListener
        Parameters:
        parent - The parent who's state was changed.
        state - The state change, possible values PARENT_ENABLED, PARENT_READONLY, PARENT_VISIBLE.
        on - New state.
      • onValueChanged

        public void onValueChanged​(VSField field,
                                   Value value,
                                   GProp<?> trigger,
                                   IPostEventProcessing postProcessing)
        Called when the field value is set.
        Specified by:
        onValueChanged in interface IVSFieldListener
        Parameters:
        field - The VS field.
        value - The value, never null, but value.isNull() could be true.
        trigger - The trigger property that may be null.
        postProcessing - Post-processing instance.
      • getClassReference

        public ClassReference getClassReference()
        The Java class associated with result set output.
        Returns:
        The ClassReference instance, or null for none.
      • getResultProcessor

        public IUpdateProcessor getResultProcessor()
        Gets the instance of the IUpdateProcessor.
        Returns:
        The instance of IResultProcessor, or null for none.
      • onVirtualSpaceVirtualized

        public void onVirtualSpaceVirtualized​(IAppSessionGyro appGyro,
                                              VirtualSpace virtualizedVirtualSpace)
        Called when the VirtualSpace has been virtualized, giving the opportunity for e.g. data connectors to prepare it's virtualized counterparts if this is required.

        This call is done to the non-virtualized instance of the VirtualSpace participant.

        Specified by:
        onVirtualSpaceVirtualized in interface IVSParticipant
        Parameters:
        appGyro - The application gyro instance.
        virtualizedVirtualSpace - The virtualized VirtualSpace instance.