ReplacedProperty#
- public class ReplacedProperty extends Property#
A wrapper of
Propertyobjects used by the back-end implementation for the MariaDB back-end.This class helps to transform deeply nested properties, properties with overridden data types, and other properties that cannot be represented in a single data table row to the flat (row-like) representation used internally by the back-end (which is an implementation detail of the back-end or part of the non-public API of the back-end from that point of view).
For example the following Property, that has a subproperty <P1 id=111> < P2 id=222 value = 5> <P1/>
would be replaced with a ReplacedProperty wrapper object, that has a
.replacementin addtion to the original attributes..replacementrepresents the Property that replaces the original one it has a new ID and the value is the origianl Property ID. r = ReplacedProperty(p1); r.replacement.value == p1.ID //true
Fields#
real_id#
replacement#
Constructors#
ReplacedProperty#
Methods#
getId#
hasId#
- public boolean hasId()#
isStage2Replacement#
- public boolean isStage2Replacement()#
setReplacementId#
setStage2Replacement#
- public void setStage2Replacement(boolean t)#