public class ResultSetProps extends VSVariables implements IVSParticipant, IVSTableListener, IClassInstantiationAtResolve
IVSComponentState.State
EMPTY, EMPTY_CLASSES, EMPTY_CNRS, EXTENDS_FRAMEWORK_ERROR_ID
GPDEBUG, PROP_ATTR_STRING_EDITOR_PROP, PROP_ATTR_STRING_ERRORED_NAME, PROP_ATTR_STRING_EXTENDS, PROP_ATTR_STRING_EXTENDS_FINAL, PROP_ATTR_STRING_EXTENDS_PRIVATE, PROP_ATTR_STRING_NULLABLE, PROP_ATTR_STRING_PRIVATE, PROP_ATTR_STRING_PRIVATE_CHANGE_EVENT, PROP_ATTR_STRING_READ_ONLY, PROP_USER_1, PROP_USER_2
EQC_ERROR_IGNORE_ALL, EQC_ERROR_IGNORE_REFERENCES, EQC_IGNORE_ARRAY, EQC_IGNORE_VOLATILE_OR_EDITOR, EQC_PRIVATE, EQC_SAVE_FILE, EXT_CONTAINER_EXTENDS, EXT_CONTAINER_EXTENDS_VALID, EXT_EXTENDED, EXT_FINAL, EXT_OVERRIDES, EXT_OVERRIDES_FINAL_ERR, EXT_PRIVATE
Constructor and Description |
---|
ResultSetProps()
Creates a Result Set property container with the specified name with a null value.
|
ResultSetProps(Atom propertyAtom)
Creates a Result Set property container with the specified name with a null value.
|
Modifier and Type | Method and Description |
---|---|
ResultSetProps |
clone()
Clones this ResultSetProp.
|
boolean |
doOverwrite()
Gets the flag if the table should overwrite existing entries in the VSTable when
populating it.
|
ClassReference |
getClassReference()
The Java class associated with result set output.
|
ResultSetColumnProp[] |
getColumns()
Gets the result set columns.
|
DatabaseProps |
getDatabaseProps()
Gets the Database Transaction properties.
|
String |
getDescription()
Gets the result set description.
|
int |
getMaximumRowCount()
Gets the maximum number of rows to retrieve.
|
String |
getParticipantDescription()
Returns the given description of the referrer participant.
|
String |
getParticipantType()
Returns the given type of the referrer participant.
|
IResultSetProcessor |
getResultSetProcessor()
Gets the instance of the
IResultSetProcessor . |
VSParticipant |
getTargetVirtualSpaceParticipant()
Gets the target VirtualSpace participant for output data.
|
VirtualSpace |
getVirtualSpace()
Gets the VirtualSpace.
|
VSParticipant |
getVSReference(Atom refAtom)
Gets a VSReference instance from the container or any parent containers.
|
VSTable |
getVSTable()
Gets the VirtualSpace table for all the output.
|
VSTableReference |
getVSTableReference()
Gets the VirtualSpace table reference for all the output.
|
VSReferenceOwnerData<VSTable,VSTableReference> |
getVSTableReferenceOwnerData()
Gets the table reference owner data for the table column reference.
|
void |
onBroken(VSRelativeReference<?> reference,
VSTable table)
Called when the property reference has been broken, i.e.
|
void |
onCellStateChanged(VSField cell,
IVSComponentState.State state,
boolean on)
Called when the cell changes state.
|
void |
onCellValueChanged(VSField cell,
Value value,
GProp<?> trigger,
IPostEventProcessing postProcessing)
Called when the cell value is set.
|
void |
onParentStateChanged(IVSComponent parent,
IVSComponentState.State state,
boolean on)
Called when the column changes state.
|
void |
onResolved(VSRelativeReference<?> reference,
VSTable table)
Called when the property reference has been resolved.
|
void |
onRowAdded(VSRow row,
int index)
Called when a row is added.
|
void |
onRowRemoved(VSRow row,
int index)
Called when a row is removed.
|
void |
onRowStateChanged(VSRow row,
IVSComponentState.State state,
boolean on)
Called when a row selection state changed.
|
void |
onSingleSelectionChanged(VSTable table,
int index)
Called when the single selection changes.
|
void |
onStateChanged(VSTable table,
IVSComponentState.State state,
boolean on)
Called when the table changes state.
|
void |
onVirtualSpaceVirtualized(IAppSessionGyro appGyro,
VirtualSpace virtualizedVirtualSpace)
Called when the VirtualSpace has been virtualized, giving the opportunity for
e.g.
|
getVariables
__transferChildProps, addPredefinedProps, addProp, addProp, addProp2, addProp2, appendPropValue, canRequestFocus, completeVirtualize, containsProp, containsProp, convertLoadedProp, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, createUniqueAtom, createVSReference, doPropEqualsArrayValues, doVirtualizePropCnr, enablePropCommunication, enablePropHashMap, equalsTree, equalsTree, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsContainer, getExtendsError, getExtendsName, getExtendsOverride, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getPredefinedProps, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropBaseReference, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue0, getReferences, getRetargetedVerifyContainer, getString, getString, getString, getString, getValueClasses, hasFocus, hasSendData, initializeElement, initializeExtendsFramework, initializeProp, initializeValue, initPropCnr, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsPropertyValid, isExtendsRoot, isPropAddRemoveAllowed, isPropCommunicating, isPropExtended, isSibling, list, list, logPropNotFound, maybeAddProp, onInsertProp, onPropDispose, onPropRemoved, onPropTreeInitialized, onReferenceEvent, paramString, prepare, removeAllProps, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, replaceProps, requestFocus, requestFocus, requestFocusEx, requestFocusEx, resolveReferences, resolveRuntimeReferences, setBool, setBool, setBool, setBool, setCreateRequiredProp, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, shouldCreateProps, toElementString, toNativeValue0, usePropHashMap, usesPropIndex, validateChildPropInValue, validateClassInstances, validatePropType, validatePropValue, verify, verifyInternalUseOnly, verifyTree, virtualize
addPropError, addPropListener, convertPropError, dispose, equals, equals, equalsErrors, equalsObj, equalsPropValue, equalValues, extendsClone, finalize, fine, fine, finer, finer, finest, finest, fromElementString, getAliasName, getAppSessionGyro, getAppWorker, getAtomPath, getAttribute, getChildReferencePropName, getClientSessionGyro, getClientWorker, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropName, getFullPropNameDebug, getFullPropNameDebug, getListeners, getParent, getParent, getProjectName, getPropAtom, getPropError, getPropError, getPropErroredName, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromPath, getPropFromReference, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropReferenceTarget, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getPropValueObject, getReferencePropName, getRelativePropName, getRootFromName, getRootName, getRootParent, getRootParent, getTreeLock, hasChanged, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropForEditor, isPropNullable, isPropPrivate, isPropPrivateAtCreation, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropUSER, isPropValueTreeLockNeeded, isPropVirtualized, isPropVirtualizing, isPropVolatile, isPropVolatileOrEditorOnly, isProxied, list, list, list, mapAliasToReference, mapAliasToReference, mapReferenceToAlias, mapReferenceToAlias, mapReferenceToProjectRelative, modifyPropValue, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPrepare, onPropInvalidateCache, onPropParentChanged, onPropValueSet, onRemoteEvent, onVirtualizationCompleted, onVirtualized, paramValue, post, post, removePropError, removePropListener, removePropUSER, renameProp, renameProp2, resetChangedTree, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPrivateCreateRequiredProp, setPropError, setPropErroredName, setPropExtended, setPropExtendsFinal, setPropExtendsPrivate, setPropForEditor, setPropNullable, setPropPrivate, setPropReadOnly, setPropUSER, setPropValue, setPropValue, setPropValue, setPropValueIncognito, setPropVolatile, severe, severe, severe, shouldSerializeToXML, throwIfReadOnly, toNativeValue, toString, toString, triggerRemoteEvent, triggerRemoteEvent, validateProp, verifyHasPropertyItem, warning, warning, warning
getClass, hashCode, notify, notifyAll, wait, wait, wait
assignVirtualSpace, getVSParticipantAtom
isParticipating, isPrimaryParticipant
addProp, addProp, addProp2, addProp2, canRequestFocus, canRequestFocus, canRequestFocus, containsProp, containsProp, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, couldRequestFocusIfVirtualized, createCopyOfAtom, createUniqueAtom, createUniqueAtom, enablePropCommunication, enablePropHashMap, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getAllProps, getBool, getBool, getBool, getBool, getChildPropError, getChildPropError, getChildPropErrorSeverity, getChildPropErrorSeverity, getErrorsProp, getExtendsError, getExtendsName, getExtendsPossibleClasses, getFirstProp, getFirstProp, getFocusEngine, getInt, getInt, getInt, getInt, getLong, getLong, getLong, getLong, getNumber, getNumber, getNumber, getNumber, getPossibleChildren, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getProp, getPropCnr, getPropCount, getPropIndex, getPropIndex, getPropIndexes, getProps, getProps, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getPropValue, getString, getString, getString, getString, hasFocus, initializeExtendsFramework, insertProp, insertProp2, isChild, isExtendsOverriden, isExtendsRoot, isPropAddRemoveAllowed, isPropExtended, isSibling, removeAllProps, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, removeProp2, reorderProps, requestFocus, requestFocusEx, setBool, setBool, setBool, setBool, setExtendsName, setExtendsOverride, setInt, setInt, setInt, setLong, setLong, setLong, setLong, setNumber, setNumber, setNumber, setNumber, setProp, setProp, setProp, setProp2, setProp2, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setPropValue, setString, setString, setString, setString, usePropHashMap, usesPropIndex, validateClassInstances
addPropError, addPropListener, dispose, equals, fine, fine, finer, finer, finest, finest, fromElementString, getAppSessionGyro, getAtomPath, getClientSessionGyro, getConstraints, getEnvironment, getErroredPropItems, getErroredProps, getErrorsProp, getExtendsRootContainer, getFullPropName, getFullPropNameDebug, getParent, getParent, getPropAtom, getPropBaseReference, getPropError, getPropError, getPropErrorSeverity, getPropExtendsFlags, getPropFromPath, getPropFromReference, getPropIndex, getPropName, getPropPath, getPropPath, getPropRootPropMgr, getPropTreeErrorSeverity, getPropValue, getPropValue, getReferencePropName, getReferences, getRelativePropName, getRootParent, getTreeLock, getValueClasses, hasChanged, hasPrivateChangeEventProp, hasPropError, hasPropTreeError, info, info, initializeGElement, initializeGProp, isDisposed, isPropChildOf, isPropClientCreated, isPropCommunicating, isPropCreateRequired, isPropExtended, isPropExtendsFinal, isPropExtendsPrivate, isPropExtendsPrivateInRoot, isPropExtendsPrivateInRoot, isPropFile, isPropFolder, isPropNullable, isPropPrivate, isPropReadOnly, isPropReferenceTreeValid, isPropRoot, isPropVirtualized, list, list, list, list, list, mapAliasToReference, mapReferenceToAlias, mapReferenceToProjectRelative, moveProp, moveProp, moveProp, onEvent, onEventSelf, onPropTreeInitialized, onRemoteEvent, removePropError, removePropListener, renameProp, resolveRuntimeReferences, setChanged, setConstraints, setConstraints, setParent, setPrivateChangeEventProp, setPropError, setPropExtendsFinal, setPropExtendsPrivate, setPropNullable, setPropPrivate, setPropReadOnly, setPropValue, setPropValue, severe, severe, severe, toElementString, toNativeValue, triggerRemoteEvent, triggerRemoteEvent, validateProp, validatePropType, validatePropValue, verify, verifyHasPropertyItem, warning, warning, warning
shouldInstantiateAtResolve
public ResultSetProps()
public ResultSetProps(Atom propertyAtom)
propertyAtom
- the property atom.public ResultSetProps clone()
clone
in class VSVariables
public DatabaseProps getDatabaseProps()
public String getDescription()
public ResultSetColumnProp[] getColumns()
public int getMaximumRowCount()
public String getParticipantDescription()
getParticipantDescription
in interface IReferrerParticipant
public String getParticipantType()
getParticipantType
in interface IReferrerParticipant
public VSParticipant getVSReference(Atom refAtom)
VSRelativeReference
to look up the VSReference
instance in order to resolve the relative path to the target property.getVSReference
in interface IGProp<GProp<?>[]>
getVSReference
in class PropCnr
refAtom
- The property atom of the requesting relative reference property.VSReference
or null
if unassigned.public VirtualSpace getVirtualSpace()
getVirtualSpace
in interface IVSAccessor
public VSParticipant getTargetVirtualSpaceParticipant()
public VSTableReference getVSTableReference()
public VSReferenceOwnerData<VSTable,VSTableReference> getVSTableReferenceOwnerData()
public VSTable getVSTable()
public boolean doOverwrite()
public void onResolved(VSRelativeReference<?> reference, VSTable table)
onResolved
in interface IVSTableListener
reference
- The VSRelativeReference instance holding the reference.table
- The target reference.public void onBroken(VSRelativeReference<?> reference, VSTable table)
onBroken
in interface IVSTableListener
reference
- The VSRelativeReference instance holding the reference.table
- The target reference.public void onStateChanged(VSTable table, IVSComponentState.State state, boolean on)
onStateChanged
in interface IVSTableListener
table
- The VS table.state
- The state change.on
- New state.public void onSingleSelectionChanged(VSTable table, int index)
onSingleSelectionChanged
in interface IVSTableListener
table
- The table.index
- The row index, -1 if table is unselected.public void onParentStateChanged(IVSComponent parent, IVSComponentState.State state, boolean on)
onParentStateChanged
in interface IVSComponentListener
parent
- The parent who's state was changed.state
- The state change, possible values PARENT_ENABLED, PARENT_READONLY, PARENT_VISIBLE.on
- New state.public void onRowAdded(VSRow row, int index)
onRowAdded
in interface IVSTableListener
row
- The row.index
- The index.public void onRowRemoved(VSRow row, int index)
onRowRemoved
in interface IVSTableListener
row
- The row.index
- The index.public void onRowStateChanged(VSRow row, IVSComponentState.State state, boolean on)
onRowStateChanged
in interface IVSTableListener
row
- The row.state
- The state change.on
- New state.public void onCellStateChanged(VSField cell, IVSComponentState.State state, boolean on)
onCellStateChanged
in interface IVSTableListener
cell
- The VS cell.state
- The state change.on
- New state.public void onCellValueChanged(VSField cell, Value value, GProp<?> trigger, IPostEventProcessing postProcessing)
onCellValueChanged
in interface IVSTableListener
cell
- 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.public ClassReference getClassReference()
public IResultSetProcessor getResultSetProcessor()
IResultSetProcessor
.public void onVirtualSpaceVirtualized(IAppSessionGyro appGyro, VirtualSpace virtualizedVirtualSpace)
This call is done to the non-virtualized instance of the VirtualSpace participant.
onVirtualSpaceVirtualized
in interface IVSParticipant
appGyro
- The application gyro instance.virtualizedVirtualSpace
- The virtualized VirtualSpace instance.iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.