public class

SearchKeysBuilder

extends Object
implements Builder
java.lang.Object
   ↳ org.mule.modules.peoplesoft.metadata.builder.SearchKeysBuilder

Class Overview

Builder implementation to retrieve the input metadata of a unique instance of a given Component Interface using its GETKEYS properties.

Summary

Public Constructors
SearchKeysBuilder()
Public Methods
MetaData build(String component, MetadataBuilder metadataBuilder)
Method to be override by each concrete builder implementation.
Protected Methods
MetaData buildMetadata(CIPropertyInfoCollectionAccessor collection, String component, boolean skipReadOnlyFields)
void buildObjectFromInfoCollection(DynamicObjectBuilder<?> dynamicObject, CIPropertyInfoCollectionAccessor infoCollection, boolean skipReadOnlyFields)
Re-assembles a DynamicObjectBuilder based on the property collection of CI.
CIAccessor init(String component, MetadataBuilder metadataBuilder)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.mule.modules.peoplesoft.metadata.Builder

Public Constructors

public SearchKeysBuilder ()

Public Methods

public MetaData build (String component, MetadataBuilder metadataBuilder)

Method to be override by each concrete builder implementation.

Parameters
component The name (ID) of the Component Interface
metadataBuilder An initialized instance of MetadataBuilder
Returns
  • A MetaData object

Protected Methods

protected MetaData buildMetadata (CIPropertyInfoCollectionAccessor collection, String component, boolean skipReadOnlyFields)

Parameters
collection
component
skipReadOnlyFields

protected void buildObjectFromInfoCollection (DynamicObjectBuilder<?> dynamicObject, CIPropertyInfoCollectionAccessor infoCollection, boolean skipReadOnlyFields)

Re-assembles a DynamicObjectBuilder based on the property collection of CI. The modified instance of DynamicObjectBuilder will then be used to build the final metadata model.

Parameters
dynamicObject A DynamicObjectBuilder object
infoCollection A helper object CIPropertyInfoCollectionAccessor to handle the collection of properties of the CI
skipReadOnlyFields A flag to skip fields marked as readOnly=true

protected CIAccessor init (String component, MetadataBuilder metadataBuilder)

Parameters
component
metadataBuilder