Class ModelAttribute.ModelAttributeBuilder<C extends ModelAttribute,B extends ModelAttribute.ModelAttributeBuilder<C,B>>

Enclosing class:
ModelAttribute

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

    • ModelAttributeBuilder

      public ModelAttributeBuilder()
  • Method Details

    • $fillValuesFrom

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

      public B typeName(String typeName)
      Fixed typeName for ModelAttributes.
      Overrides:
      typeName in class Reference.ReferenceBuilder<C extends ModelAttribute,B extends ModelAttribute.ModelAttributeBuilder<C,B>>
      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.
    • 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()
    • modelAttributeDataType

      public B modelAttributeDataType(String modelAttributeDataType)
      Type of the attribute.
      Returns:
      this.
    • modelAttributeEntity

      public B modelAttributeEntity(IModelEntity modelAttributeEntity)
    • modelAttributeEntities

      public B modelAttributeEntities(Collection<? extends IModelEntity> modelAttributeEntities)
    • clearModelAttributeEntities

      public B clearModelAttributeEntities()
    • modelAttributeHasRelationships

      public B modelAttributeHasRelationships(Boolean modelAttributeHasRelationships)
      When true, this attribute has relationships with other attributes.
      Returns:
      this.
    • modelAttributeIsDerived

      public B modelAttributeIsDerived(Boolean modelAttributeIsDerived)
      When true, the values in this attribute are derived data.
      Returns:
      this.
    • modelAttributeIsForeign

      public B modelAttributeIsForeign(Boolean modelAttributeIsForeign)
      When true, this attribute is a foreign key to another entity.
      Returns:
      this.
    • modelAttributeIsNullable

      public B modelAttributeIsNullable(Boolean modelAttributeIsNullable)
      When true, the values in this attribute can be null.
      Returns:
      this.
    • modelAttributeIsPrimary

      public B modelAttributeIsPrimary(Boolean modelAttributeIsPrimary)
      When true, this attribute forms the primary key for the entity.
      Returns:
      this.
    • modelAttributeMappedFromAttribute

      public B modelAttributeMappedFromAttribute(IModelAttribute modelAttributeMappedFromAttribute)
    • modelAttributeMappedFromAttributes

      public B modelAttributeMappedFromAttributes(Collection<? extends IModelAttribute> modelAttributeMappedFromAttributes)
    • clearModelAttributeMappedFromAttributes

      public B clearModelAttributeMappedFromAttributes()
    • modelAttributeMappedToAttribute

      public B modelAttributeMappedToAttribute(IModelAttribute modelAttributeMappedToAttribute)
    • modelAttributeMappedToAttributes

      public B modelAttributeMappedToAttributes(Collection<? extends IModelAttribute> modelAttributeMappedToAttributes)
    • clearModelAttributeMappedToAttributes

      public B clearModelAttributeMappedToAttributes()
    • modelAttributePrecision

      public B modelAttributePrecision(Long modelAttributePrecision)
      Precision of the attribute.
      Returns:
      this.
    • modelAttributeRelatedFromAttribute

      public B modelAttributeRelatedFromAttribute(IModelAttributeAssociation modelAttributeRelatedFromAttribute)
    • modelAttributeRelatedFromAttributes

      public B modelAttributeRelatedFromAttributes(Collection<? extends IModelAttributeAssociation> modelAttributeRelatedFromAttributes)
    • clearModelAttributeRelatedFromAttributes

      public B clearModelAttributeRelatedFromAttributes()
    • modelAttributeRelatedToAttribute

      public B modelAttributeRelatedToAttribute(IModelAttributeAssociation modelAttributeRelatedToAttribute)
    • modelAttributeRelatedToAttributes

      public B modelAttributeRelatedToAttributes(Collection<? extends IModelAttributeAssociation> modelAttributeRelatedToAttributes)
    • clearModelAttributeRelatedToAttributes

      public B clearModelAttributeRelatedToAttributes()
    • modelAttributeScale

      public B modelAttributeScale(Long modelAttributeScale)
      Scale of the attribute.
      Returns:
      this.
    • modelBusinessDate

      public B modelBusinessDate(Long modelBusinessDate)
      Business date for the asset.
      Returns:
      this.
    • modelDomain

      public B modelDomain(String modelDomain)
      Model domain in which this asset exists.
      Returns:
      this.
    • modelEntityName

      public B modelEntityName(String modelEntityName)
      Simple name of the entity in which this asset exists, or empty if it is itself a data model entity.
      Returns:
      this.
    • modelEntityQualifiedName

      public B modelEntityQualifiedName(String modelEntityQualifiedName)
      Unique name of the entity in which this asset exists, or empty if it is itself a data model entity.
      Returns:
      this.
    • modelExpiredAtBusinessDate

      public B modelExpiredAtBusinessDate(Long modelExpiredAtBusinessDate)
      Business expiration date for the asset.
      Returns:
      this.
    • modelExpiredAtSystemDate

      public B modelExpiredAtSystemDate(Long modelExpiredAtSystemDate)
      System expiration date for the asset.
      Returns:
      this.
    • modelImplementedEntity

      public B modelImplementedEntity(IModelEntity modelImplementedEntity)
    • modelImplementedEntities

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

      public B clearModelImplementedEntities()
    • modelName

      public B modelName(String modelName)
      Simple name of the model in which this asset exists, or empty if it is itself a data model.
      Returns:
      this.
    • modelNamespace

      public B modelNamespace(String modelNamespace)
      Model namespace in which this asset exists.
      Returns:
      this.
    • modelQualifiedName

      public B modelQualifiedName(String modelQualifiedName)
      Unique name of the model in which this asset exists, or empty if it is itself a data model.
      Returns:
      this.
    • modelSystemDate

      public B modelSystemDate(Long modelSystemDate)
      System date for the asset.
      Returns:
      this.
    • modelType

      public B modelType(String modelType)
      Type of the model asset (conceptual, logical, physical).
      Returns:
      this.
    • modelVersionAgnosticQualifiedName

      public B modelVersionAgnosticQualifiedName(String modelVersionAgnosticQualifiedName)
      Unique name of the parent in which this asset exists, irrespective of the version (always implies the latest version).
      Returns:
      this.
    • modelVersionName

      public B modelVersionName(String modelVersionName)
      Simple name of the version in which this asset exists, or empty if it is itself a data model version.
      Returns:
      this.
    • modelVersionQualifiedName

      public B modelVersionQualifiedName(String modelVersionQualifiedName)
      Unique name of the version in which this asset exists, or empty if it is itself a data model version.
      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()
    • self

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

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

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