Foundations Apex API Developer Reference

fferpcore.Path

global with sharing class Path

A traversable path that is used to locate data.

Methods

Path

global Path(SObjectType objectType, List<SObjectField> fields)

Creates a path using the given SObjectType and SObjectFields.

Input Parameters

Name Type Description
objectType SObjectType The initial SObjectType.
fields List<SObjectField> The associated SObjectFields.

Path

global Path(SObjectType objectType, SObjectField field)

Creates a path using the given SObjectType and SObjectField.

Input Parameters

Name Type Description
objectType SObjectType The initial SObjectType.
field SObjectField The associated SObjectField.

Path

global Path(List<String> keys)

Creates a path using the given keys.

Input Parameters

Name Type Description
keys List<String> A list of keys to form the path.

Path

global Path(String key)

Creates a path using the given key.

Input Parameters

Name Type Description
key String A single key to form the path.

getKeys

global List<String> getKeys()

Return Value

The keys that form the path.

© Copyright 2009–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.