Class SalesforceField.SalesforceFieldBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>>

Enclosing class:
SalesforceField

public abstract static class SalesforceField.SalesforceFieldBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>> extends Asset.AssetBuilder<C,B>
  • Constructor Details

    • SalesforceFieldBuilder

      public SalesforceFieldBuilder()
  • Method Details

    • $fillValuesFrom

      protected B $fillValuesFrom(C instance)
      Overrides:
      $fillValuesFrom in class Asset.AssetBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>>
    • typeName

      public B typeName(String typeName)
      Fixed typeName for SalesforceFields.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>>
      Returns:
      this.
    • apiName

      public B apiName(String apiName)
      Name of this asset in the Salesforce API.
      Returns:
      this.
    • applicationContainer

      public B applicationContainer(IApplicationContainer applicationContainer)
      ApplicationContainer asset containing this Catalog asset.
      Returns:
      this.
    • assetApplicationQualifiedName

      public B assetApplicationQualifiedName(String assetApplicationQualifiedName)
      Qualified name of the Application Container that contains this asset.
      Returns:
      this.
    • dataType

      public B dataType(String dataType)
      Data type of values in this field.
      Returns:
      this.
    • defaultValueFormula

      public B defaultValueFormula(String defaultValueFormula)
      Formula for the default value for this field.
      Returns:
      this.
    • formula

      public B formula(String formula)
      Formula for this field, if it is a calculated field.
      Returns:
      this.
    • inlineHelpText

      public B inlineHelpText(String inlineHelpText)
      Help text for this field.
      Returns:
      this.
    • inputToAirflowTask

      public B inputToAirflowTask(IAirflowTask inputToAirflowTask)
    • inputToAirflowTasks

      public B inputToAirflowTasks(Collection<? extends IAirflowTask> inputToAirflowTasks)
    • clearInputToAirflowTasks

      public B clearInputToAirflowTasks()
    • inputToProcess

      public B inputToProcess(ILineageProcess inputToProcess)
    • inputToProcesses

      public B inputToProcesses(Collection<? extends ILineageProcess> inputToProcesses)
    • clearInputToProcesses

      public B clearInputToProcesses()
    • inputToSparkJob

      public B inputToSparkJob(ISparkJob inputToSparkJob)
    • inputToSparkJobs

      public B inputToSparkJobs(Collection<? extends ISparkJob> inputToSparkJobs)
    • clearInputToSparkJobs

      public B clearInputToSparkJobs()
    • isCalculated

      public B isCalculated(Boolean isCalculated)
      Whether this field is calculated (true) or not (false).
      Returns:
      this.
    • isCaseSensitive

      public B isCaseSensitive(Boolean isCaseSensitive)
      Whether this field is case sensitive (true) or in-sensitive (false).
      Returns:
      this.
    • isEncrypted

      public B isEncrypted(Boolean isEncrypted)
      Whether this field is encrypted (true) or not (false).
      Returns:
      this.
    • isNullable

      public B isNullable(Boolean isNullable)
      Whether this field allows null values (true) or not (false).
      Returns:
      this.
    • isPolymorphicForeignKey

      public B isPolymorphicForeignKey(Boolean isPolymorphicForeignKey)
      Whether this field references a record of multiple objects (true) or not (false).
      Returns:
      this.
    • isUnique

      public B isUnique(Boolean isUnique)
      Whether this field must have unique values (true) or not (false).
      Returns:
      this.
    • lookupObject

      public B lookupObject(ISalesforceObject lookupObject)
    • lookupObjects

      public B lookupObjects(Collection<? extends ISalesforceObject> lookupObjects)
    • clearLookupObjects

      public B clearLookupObjects()
    • maxLength

      public B maxLength(Long maxLength)
      Maximum length of this field.
      Returns:
      this.
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

      public B modelImplementedEntities(Collection<? extends IModelEntity> modelImplementedEntities)
    • clearModelImplementedEntities

      public B clearModelImplementedEntities()
    • numericScale

      public B numericScale(Double numericScale)
      Number of digits allowed to the right of the decimal point.
      Returns:
      this.
    • object

      public B object(ISalesforceObject object)
      Object in which this field exists.
      Returns:
      this.
    • objectQualifiedName

      public B objectQualifiedName(String objectQualifiedName)
      Unique name of the object in which this field exists.
      Returns:
      this.
    • order

      public B order(Integer order)
      Order (position) of this field within the object.
      Returns:
      this.
    • organizationQualifiedName

      public B organizationQualifiedName(String organizationQualifiedName)
      Fully-qualified name of the organization in Salesforce.
      Returns:
      this.
    • outputFromAirflowTask

      public B outputFromAirflowTask(IAirflowTask outputFromAirflowTask)
    • outputFromAirflowTasks

      public B outputFromAirflowTasks(Collection<? extends IAirflowTask> outputFromAirflowTasks)
    • clearOutputFromAirflowTasks

      public B clearOutputFromAirflowTasks()
    • outputFromProcess

      public B outputFromProcess(ILineageProcess outputFromProcess)
    • outputFromProcesses

      public B outputFromProcesses(Collection<? extends ILineageProcess> outputFromProcesses)
    • clearOutputFromProcesses

      public B clearOutputFromProcesses()
    • outputFromSparkJob

      public B outputFromSparkJob(ISparkJob outputFromSparkJob)
    • outputFromSparkJobs

      public B outputFromSparkJobs(Collection<? extends ISparkJob> outputFromSparkJobs)
    • clearOutputFromSparkJobs

      public B clearOutputFromSparkJobs()
    • picklistValue

      public B picklistValue(String picklistValue)
    • picklistValues

      public B picklistValues(Collection<? extends String> picklistValues)
    • clearPicklistValues

      public B clearPicklistValues()
    • precision

      public B precision(Integer precision)
      Total number of digits allowed
      Returns:
      this.
    • self

      protected abstract B self()
      Specified by:
      self in class Asset.AssetBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>>
    • build

      public abstract C build()
      Specified by:
      build in class Asset.AssetBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>>
    • toString

      public String toString()
      Overrides:
      toString in class Asset.AssetBuilder<C extends SalesforceField,B extends SalesforceField.SalesforceFieldBuilder<C,B>>