public class LookupOutwardLink extends OutwardLink
Constructor and Description |
---|
LookupOutwardLink(java.lang.String thePath,
VirtualDB layer,
DBClassConcrete baseClass) |
Modifier and Type | Method and Description |
---|---|
void |
addLookup(DBField fld,
java.lang.Object value)
Sets a value for a field that can be used for looking up linked objects.
|
protected DBObject |
createTarget(DBObject base) |
DBObject |
nextStep(DBObject base,
boolean createMissingObjects,
HintField hint)
The next step in the path
|
equals, getAsciiDescription, getAsciiDescription, getBinaryDescription, getBinaryDescription, getParams, nextStepClassConcrete, toString
compatibleClass, createLink, findBaseField, getBaseClassConcrete, getBaseField
public LookupOutwardLink(java.lang.String thePath, VirtualDB layer, DBClassConcrete baseClass) throws InvalidLink
thePath
- layer
- the layerbaseClass
- The base classInvalidLink
@CheckReturnValue @Nullable public DBObject nextStep(DBObject base, boolean createMissingObjects, HintField hint) throws java.lang.Exception
OutwardLink
nextStep
in class OutwardLink
base
- the base objectcreateMissingObjects
- hint
- the hintjava.lang.Exception
- a serious problempublic void addLookup(DBField fld, java.lang.Object value)
fld
- value
- the valuestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.