public class BundleHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static TypeConverter |
type |
| Modifier and Type | Method and Description |
|---|---|
static BundleData |
buildBundleData(BundleDef def,
LobData lob) |
static int |
computeHash(Property prop) |
static List<RefLink> |
createRefLinks(Property prop) |
static Bundle |
merge(BundleDef def,
BundleHeader header,
LobData lob,
List<Tuple> tuples)
Reconstruct bundle from
- header fields [header]
- unmarshalled entity fragments [lob]
- unmarshalled root fragment [lob]
- refs [lob]
- database records [tuples]
|
public static final TypeConverter type
public static Bundle merge(BundleDef def, BundleHeader header, LobData lob, List<Tuple> tuples)
def - bundle definitionheader - bundle header (bid, revision, extra fields)lob - data unmarshalled from jsontuples - database recordspublic static BundleData buildBundleData(BundleDef def, LobData lob)
public static int computeHash(Property prop)
Copyright © 2021. All rights reserved.