public interface TempTableRecord extends Persistable
Persistable
which it extends, support for
two new properties related to DataSet
are declared. Namely, they are the rowid
of the peer record (before-rowid
and (@code after-rowid) respectively) and
row-status
.
Note that these properties are not normal fields and are not accessible to ABL programmer using
standard persistence API (as fields). To access them, one need to use the dedicated
attributes BEFORE-ROWID
and AFTER-ROWID
of Buffer
object.
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
_datasourceRowid()
Gets the current value of the
DATA_SOURCE_ROWID property for this record. |
void |
_datasourceRowid(java.lang.Long rowid)
Sets the current value of the
DATA_SOURCE_ROWID property for this record. |
java.lang.Integer |
_errorFlags()
Gets the current value of the
__error-flag__ for this record. |
void |
_errorFlags(java.lang.Integer flag)
Sets the current value of the
__error-flag__ for this record. |
java.lang.String |
_errorString()
Gets the current value of the
__error-string__ for this record. |
void |
_errorString(java.lang.String error)
Dets the current value of the
__error-string__ for this record. |
java.lang.Long |
_originRowid()
Gets the current value of the
ORIGIN-ROWID property for this record. |
void |
_originRowid(java.lang.Long rowid)
Sets the current value of the
ORIGIN-ROWID property for this record. |
java.lang.Long |
_peerRowid()
Gets the rowid (as
Long value) of the peer record. |
void |
_peerRowid(java.lang.Long rowid)
Sets the rowid (as
Long value) of the peer record. |
java.lang.Integer |
_rowState()
Gets the current value of the
ROW-STATE property for this record. |
void |
_rowState(java.lang.Integer state)
Sets the value of the
ROW-STATUS property for this record. |
default java.lang.Object[] |
toArray()
Get an array with this record's meta information.
|
primaryKey, primaryKey
java.lang.Long _peerRowid()
Long
value) of the peer record. Exclusively, for a BEFORE-TABLE
record this is the after-rowid
and before-rowid
for AFTER-TABLE record.null
if there is none.Buffer.__AFTER_ROWID__
void _peerRowid(java.lang.Long rowid)
Long
value) of the peer record. Exclusively, for a BEFORE-TABLE
record this is the after-rowid
and before-rowid
for AFTER-TABLE record.rowid
- The new long rowid value of the peer record or null
.Buffer.__AFTER_ROWID__
java.lang.Integer _rowState()
ROW-STATE
property for this record. Valid values
are defined as constants in Buffer
interface. Additionally, null
value is
returned if property is not available.ROW-STATUS
property for this record as
explained above.Buffer.__ROW_STATE__
void _rowState(java.lang.Integer state)
ROW-STATUS
property for this record. Valid values are defined
as constants in Buffer
interface. Additionally null
value is allowed if
property is not available.state
- The new value of the ROW-STATE
property for this record as explained above.Buffer.__ROW_STATE__
java.lang.Long _originRowid()
ORIGIN-ROWID
property for this record. This property
of a record in a buffer of a CHANGE DATASET points to original record of the change.
Additionally, null
value is returned if property is not available.ROW-STATUS
property for this record as
explained above.Buffer.__ORIGIN_ROWID__
void _originRowid(java.lang.Long rowid)
ORIGIN-ROWID
property for this record. This property
of a record in a buffer of a CHANGE DATASET points to original record of the change.
Additionally, null
value is returned if property is not available.rowid
- The new value of the ORIGIN-ROWID
property for this record as explained
above.Buffer.__ORIGIN_ROWID__
java.lang.Long _datasourceRowid()
DATA_SOURCE_ROWID
property for this record. This property of a
record in a buffer of a CHANGE DATASET points to original record of the change. Additionally,
null
value is returned if property is not available.DATA_SOURCE_ROWID
property for this record as explained above.Buffer.__DATA_SOURCE_ROWID__
void _datasourceRowid(java.lang.Long rowid)
DATA_SOURCE_ROWID
property for this record. This property of a
record in a buffer of a CHANGE DATASET points to original record of the change. Additionally,
null
value is returned if property is not available.rowid
- The new value of the DATA_SOURCE_ROWID
property for this record as explained above.Buffer.__DATA_SOURCE_ROWID__
java.lang.Integer _errorFlags()
__error-flag__
for this record.__error-flag__
for this record.Buffer.__ERROR_FLAG__
void _errorFlags(java.lang.Integer flag)
__error-flag__
for this record.flag
- the current value of the __error-flag__
for this record.Buffer.__ERROR_FLAG__
java.lang.String _errorString()
__error-string__
for this record.__error-string__
for this record.Buffer.__ERROR_STRING__
void _errorString(java.lang.String error)
__error-string__
for this record.error
- the current value of the __error-string__
for this record.Buffer.__ERROR_STRING__
default java.lang.Object[] toArray()