Skip to main content
[ This file is autogenerated from apexdoc ]

AqObjectMetadataWithChildren

Represents object metadata with its child object definitions in a hierarchical structure. Used internally during SObject to JSON conversion to build the metadata tree.

Group modules/mapping tool

Overview​

AqObjectMetadataWithChildren is an internal utility class that represents ObjectDefinitionMapping metadata along with its child object definitions. It's used by AqSObjectToJSONConverter to:

  • Build hierarchical metadata structures
  • Organize parent-child object relationships
  • Manage SObject collections for each level of the hierarchy
  • Support recursive query building for nested structures

Usage​

This class is used internally during the SObject to JSON conversion process. It helps organize the metadata structure and associated records before they're converted to JSON format.

Constructors​

public AqObjectMetadataWithChildren(ObjectDefinitionMapping__mdt objectDefinition)​

public AqObjectMetadataWithChildren(ObjectDefinitionMapping__mdt objectDefinition, List<SObject> objects)​


Methods​

public ObjectDefinitionMapping__mdt getObjectDefinition()​

public List<AqObjectMetadataWithChildren> getObjectChildrenDefinition()​

public List<SObject> getObjects()​

public void setObjects(List<SObject> objects)​

public void addChild(AqObjectMetadataWithChildren childRecord)​

public Boolean matchesObjectDefinition(ObjectDefinitionMapping__mdt objectDefinition)​