public class OAObjectPojoLoader extends Object implements Serializable
Note: the pojo generator for oamodels might not have pkey properties for pojo objects, so this is a way to use importMatches and link unique values that are defined in the model to find exact matches.
See OABuilder model OABuilderPojo.obx
See PojoLoader in OABuilder for version used for code generator.
Constructor and Description |
---|
OAObjectPojoLoader() |
Modifier and Type | Method and Description |
---|---|
Pojo |
loadIntoPojo(OAObjectInfo oi) |
protected boolean |
markAllPojoPropertyKeys(PojoLinkOne plo,
OAObjectInfo oi) |
protected void |
markAllPojoPropertyKeys(Pojo pojo,
OAObjectInfo oi) |
protected void |
processPojoLinkOne(OAObjectInfo oi,
String prefixPropertyPath,
Pojo pojo,
PojoLinkOne pojoLinkOne,
OALinkInfo lp) |
protected void |
processPojoLinkOneWithEqualPropPathsAndUnique(OAObjectInfo oi,
String prefixPropertyPath,
Pojo pojo,
OALinkInfo lp,
PojoLinkOne plo) |
protected void |
processPojoLinkOneWithImportMatches(OAObjectInfo oi,
String prefixPropertyPath,
Pojo pojo,
PojoLinkOne plo,
OALinkInfo lp) |
public Pojo loadIntoPojo(OAObjectInfo oi)
protected void processPojoLinkOne(OAObjectInfo oi, String prefixPropertyPath, Pojo pojo, PojoLinkOne pojoLinkOne, OALinkInfo lp)
protected void processPojoLinkOneWithImportMatches(OAObjectInfo oi, String prefixPropertyPath, Pojo pojo, PojoLinkOne plo, OALinkInfo lp)
protected void processPojoLinkOneWithEqualPropPathsAndUnique(OAObjectInfo oi, String prefixPropertyPath, Pojo pojo, OALinkInfo lp, PojoLinkOne plo)
protected void markAllPojoPropertyKeys(Pojo pojo, OAObjectInfo oi)
protected boolean markAllPojoPropertyKeys(PojoLinkOne plo, OAObjectInfo oi)
Copyright © 1999–2025 ViaOA. All rights reserved.