Class ModelVersion

All Implemented Interfaces:
IAsset, ICatalog, IModel, IModelVersion, IReferenceable, AuditDetail, Serializable, Comparable<Reference>

@Generated("com.atlan.generators.ModelGeneratorV2") public class ModelVersion extends Asset implements IModelVersion, IModel, ICatalog, IAsset, IReferenceable
Instance of a version of a data model in Atlan.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • trimToReference

      public ModelVersion trimToReference() throws InvalidRequestException
      Builds the minimal object necessary to create a relationship to a ModelVersion, from a potentially more-complete ModelVersion object.
      Overrides:
      trimToReference in class Asset
      Returns:
      the minimal object necessary to relate to the ModelVersion
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for a ModelVersion relationship are not found in the initial object
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select()
      Start a fluent search that will return all ModelVersion assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) ModelVersion assets will be included.
      Returns:
      a fluent search that includes all ModelVersion assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client)
      Start a fluent search that will return all ModelVersion assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) ModelVersion assets will be included.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      Returns:
      a fluent search that includes all ModelVersion assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(boolean includeArchived)
      Start a fluent search that will return all ModelVersion assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      includeArchived - when true, archived (soft-deleted) ModelVersions will be included
      Returns:
      a fluent search that includes all ModelVersion assets
    • select

      public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived)
      Start a fluent search that will return all ModelVersion assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the assets
      includeArchived - when true, archived (soft-deleted) ModelVersions will be included
      Returns:
      a fluent search that includes all ModelVersion assets
    • refByGuid

      public static ModelVersion refByGuid(String guid)
      Reference to a ModelVersion by GUID. Use this to create a relationship to this ModelVersion, where the relationship should be replaced.
      Parameters:
      guid - the GUID of the ModelVersion to reference
      Returns:
      reference to a ModelVersion that can be used for defining a relationship to a ModelVersion
    • refByGuid

      public static ModelVersion refByGuid(String guid, Reference.SaveSemantic semantic)
      Reference to a ModelVersion by GUID. Use this to create a relationship to this ModelVersion, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      guid - the GUID of the ModelVersion to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a ModelVersion that can be used for defining a relationship to a ModelVersion
    • refByQualifiedName

      public static ModelVersion refByQualifiedName(String qualifiedName)
      Reference to a ModelVersion by qualifiedName. Use this to create a relationship to this ModelVersion, where the relationship should be replaced.
      Parameters:
      qualifiedName - the qualifiedName of the ModelVersion to reference
      Returns:
      reference to a ModelVersion that can be used for defining a relationship to a ModelVersion
    • refByQualifiedName

      public static ModelVersion refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic)
      Reference to a ModelVersion by qualifiedName. Use this to create a relationship to this ModelVersion, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).
      Parameters:
      qualifiedName - the qualifiedName of the ModelVersion to reference
      semantic - how to save this relationship (replace all with this, append it, or remove it)
      Returns:
      reference to a ModelVersion that can be used for defining a relationship to a ModelVersion
    • get

      public static ModelVersion get(String id) throws AtlanException
      Retrieves a ModelVersion by one of its identifiers, complete with all of its relationships.
      Parameters:
      id - of the ModelVersion to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full ModelVersion, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the ModelVersion does not exist or the provided GUID is not a ModelVersion
    • get

      public static ModelVersion get(AtlanClient client, String id) throws AtlanException
      Retrieves a ModelVersion by one of its identifiers, complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the ModelVersion to retrieve, either its GUID or its full qualifiedName
      Returns:
      the requested full ModelVersion, complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the ModelVersion does not exist or the provided GUID is not a ModelVersion
    • get

      public static ModelVersion get(AtlanClient client, String id, boolean includeRelationships) throws AtlanException
      Retrieves a ModelVersion by one of its identifiers, optionally complete with all of its relationships.
      Parameters:
      client - connectivity to the Atlan tenant from which to retrieve the asset
      id - of the ModelVersion to retrieve, either its GUID or its full qualifiedName
      includeRelationships - if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved
      Returns:
      the requested full ModelVersion, optionally complete with all of its relationships
      Throws:
      AtlanException - on any error during the API invocation, such as the NotFoundException if the ModelVersion does not exist or the provided GUID is not a ModelVersion
    • restore

      public static boolean restore(String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) ModelVersion to active.
      Parameters:
      qualifiedName - for the ModelVersion
      Returns:
      true if the ModelVersion is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • restore

      public static boolean restore(AtlanClient client, String qualifiedName) throws AtlanException
      Restore the archived (soft-deleted) ModelVersion to active.
      Parameters:
      client - connectivity to the Atlan tenant on which to restore the asset
      qualifiedName - for the ModelVersion
      Returns:
      true if the ModelVersion is now active, and false otherwise
      Throws:
      AtlanException - on any API problems
    • creator

      public static ModelVersion.ModelVersionBuilder<?,?> creator(String name, ModelDataModel model) throws InvalidRequestException
      Builds the minimal object necessary to create a ModelVersion.
      Parameters:
      name - of the ModelVersion
      model - in which the version should be created, which must have at least a qualifiedName
      Returns:
      the minimal request necessary to create the ModelVersion, as a builder
      Throws:
      InvalidRequestException - if the model provided is without a qualifiedName
    • creator

      public static ModelVersion.ModelVersionBuilder<?,?> creator(String name, String modelQualifiedName)
      Builds the minimal object necessary to create a ModelVersion.
      Parameters:
      name - of the ModelVersion
      modelQualifiedName - unique name of the model in which this ModelVersion exists
      Returns:
      the minimal request necessary to create the ModelVersion, as a builder
    • creator

      public static ModelVersion.ModelVersionBuilder<?,?> creator(String name, String connectionQualifiedName, String modelName, String modelQualifiedName)
      Builds the minimal object necessary to create a ModelVersion.
      Parameters:
      name - of the ModelVersion
      connectionQualifiedName - unique name of the connection in which to create this ModelVersion
      modelName - simple name of the model in which to create this ModelVersion
      modelQualifiedName - unique name of the model in which to create this ModelVersion
      Returns:
      the minimal request necessary to create the ModelVersion, as a builder
    • updater

      public static ModelVersion.ModelVersionBuilder<?,?> updater(String qualifiedName, String name)
      Builds the minimal object necessary to update a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the minimal request necessary to update the ModelVersion, as a builder
    • generateQualifiedName

      public static String generateQualifiedName(String name, String modelQualifiedName)
      Generate a unique ModelVersion name.
      Parameters:
      name - of the ModelVersion
      modelQualifiedName - unique name of the model in which this ModelVersion exists
      Returns:
      a unique name for the ModelVersion
    • trimToRequired

      public ModelVersion.ModelVersionBuilder<?,?> trimToRequired() throws InvalidRequestException
      Builds the minimal object necessary to apply an update to a ModelVersion, from a potentially more-complete ModelVersion object.
      Overrides:
      trimToRequired in class Asset
      Returns:
      the minimal object necessary to update the ModelVersion, as a builder
      Throws:
      InvalidRequestException - if any of the minimal set of required properties for ModelVersion are not found in the initial object
    • removeDescription

      public static ModelVersion removeDescription(String qualifiedName, String name) throws AtlanException
      Remove the system description from a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeDescription

      public static ModelVersion removeDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the system description from a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static ModelVersion removeUserDescription(String qualifiedName, String name) throws AtlanException
      Remove the user's description from a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeUserDescription

      public static ModelVersion removeUserDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the user's description from a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant on which to remove the asset's description
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static ModelVersion removeOwners(String qualifiedName, String name) throws AtlanException
      Remove the owners from a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeOwners

      public static ModelVersion removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the owners from a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the ModelVersion's owners
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static ModelVersion updateCertificate(String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated ModelVersion, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateCertificate

      public static ModelVersion updateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) throws AtlanException
      Update the certificate on a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the ModelVersion's certificate
      qualifiedName - of the ModelVersion
      certificate - to use
      message - (optional) message, or null if no message
      Returns:
      the updated ModelVersion, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static ModelVersion removeCertificate(String qualifiedName, String name) throws AtlanException
      Remove the certificate from a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeCertificate

      public static ModelVersion removeCertificate(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the certificate from a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove the ModelVersion's certificate
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static ModelVersion updateAnnouncement(String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • updateAnnouncement

      public static ModelVersion updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException
      Update the announcement on a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant on which to update the ModelVersion's announcement
      qualifiedName - of the ModelVersion
      type - type of announcement to set
      title - (optional) title of the announcement to set (or null for no title)
      message - (optional) message of the announcement to set (or null for no message)
      Returns:
      the result of the update, or null if the update failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static ModelVersion removeAnnouncement(String qualifiedName, String name) throws AtlanException
      Remove the announcement from a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • removeAnnouncement

      public static ModelVersion removeAnnouncement(AtlanClient client, String qualifiedName, String name) throws AtlanException
      Remove the announcement from a ModelVersion.
      Parameters:
      client - connectivity to the Atlan client from which to remove the ModelVersion's announcement
      qualifiedName - of the ModelVersion
      name - of the ModelVersion
      Returns:
      the updated ModelVersion, or null if the removal failed
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static ModelVersion replaceTerms(String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the ModelVersion.
      Parameters:
      qualifiedName - for the ModelVersion
      name - human-readable name of the ModelVersion
      terms - the list of terms to replace on the ModelVersion, or null to remove all terms from the ModelVersion
      Returns:
      the ModelVersion that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • replaceTerms

      public static ModelVersion replaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException
      Replace the terms linked to the ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant on which to replace the ModelVersion's assigned terms
      qualifiedName - for the ModelVersion
      name - human-readable name of the ModelVersion
      terms - the list of terms to replace on the ModelVersion, or null to remove all terms from the ModelVersion
      Returns:
      the ModelVersion that was updated (note that it will NOT contain details of the replaced terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static ModelVersion appendTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the ModelVersion, without replacing existing terms linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing terms, and a second to append the new terms.
      Parameters:
      qualifiedName - for the ModelVersion
      terms - the list of terms to append to the ModelVersion
      Returns:
      the ModelVersion that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • appendTerms

      public static ModelVersion appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Link additional terms to the ModelVersion, without replacing existing terms linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing terms, and a second to append the new terms.
      Parameters:
      client - connectivity to the Atlan tenant on which to append terms to the ModelVersion
      qualifiedName - for the ModelVersion
      terms - the list of terms to append to the ModelVersion
      Returns:
      the ModelVersion that was updated (note that it will NOT contain details of the appended terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static ModelVersion removeTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a ModelVersion, without replacing all existing terms linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing terms, and a second to remove the provided terms.
      Parameters:
      qualifiedName - for the ModelVersion
      terms - the list of terms to remove from the ModelVersion, which must be referenced by GUID
      Returns:
      the ModelVersion that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • removeTerms

      public static ModelVersion removeTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException
      Remove terms from a ModelVersion, without replacing all existing terms linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing terms, and a second to remove the provided terms.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove terms from the ModelVersion
      qualifiedName - for the ModelVersion
      terms - the list of terms to remove from the ModelVersion, which must be referenced by GUID
      Returns:
      the ModelVersion that was updated (note that it will NOT contain details of the resulting terms)
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static ModelVersion appendAtlanTags(String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a ModelVersion, without replacing existing Atlan tags linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the ModelVersion
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated ModelVersion
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static ModelVersion appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException
      Add Atlan tags to a ModelVersion, without replacing existing Atlan tags linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the ModelVersion
      qualifiedName - of the ModelVersion
      atlanTagNames - human-readable names of the Atlan tags to add
      Returns:
      the updated ModelVersion
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static ModelVersion appendAtlanTags(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a ModelVersion, without replacing existing Atlan tags linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      qualifiedName - of the ModelVersion
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated ModelVersion
      Throws:
      AtlanException - on any API problems
    • appendAtlanTags

      public static ModelVersion appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException
      Add Atlan tags to a ModelVersion, without replacing existing Atlan tags linked to the ModelVersion. Note: this operation must make two API calls — one to retrieve the ModelVersion's existing Atlan tags, and a second to append the new Atlan tags.
      Parameters:
      client - connectivity to the Atlan tenant on which to append Atlan tags to the ModelVersion
      qualifiedName - of the ModelVersion
      atlanTagNames - human-readable names of the Atlan tags to add
      propagate - whether to propagate the Atlan tag (true) or not (false)
      removePropagationsOnDelete - whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)
      restrictLineagePropagation - whether to avoid propagating through lineage (true) or do propagate through lineage (false)
      Returns:
      the updated ModelVersion
      Throws:
      AtlanException - on any API problems
    • removeAtlanTag

      public static void removeAtlanTag(String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a ModelVersion.
      Parameters:
      qualifiedName - of the ModelVersion
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the ModelVersion
    • removeAtlanTag

      public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException
      Remove an Atlan tag from a ModelVersion.
      Parameters:
      client - connectivity to the Atlan tenant from which to remove an Atlan tag from a ModelVersion
      qualifiedName - of the ModelVersion
      atlanTagName - human-readable name of the Atlan tag to remove
      Throws:
      AtlanException - on any API problems, or if the Atlan tag does not exist on the ModelVersion
    • _internal

      public static ModelVersion.ModelVersionBuilder<?,?> _internal()
    • toBuilder

      public ModelVersion.ModelVersionBuilder<?,?> toBuilder()
      Overrides:
      toBuilder in class Reference
    • getApplicationContainer

      public IApplicationContainer getApplicationContainer()
      ApplicationContainer asset containing this Catalog asset.
      Specified by:
      getApplicationContainer in interface ICatalog
      Specified by:
      getApplicationContainer in interface IModel
      Specified by:
      getApplicationContainer in interface IModelVersion
    • getAssetApplicationQualifiedName

      public String getAssetApplicationQualifiedName()
      Qualified name of the Application Container that contains this asset.
      Specified by:
      getAssetApplicationQualifiedName in interface ICatalog
      Specified by:
      getAssetApplicationQualifiedName in interface IModel
      Specified by:
      getAssetApplicationQualifiedName in interface IModelVersion
    • getInputToAirflowTasks

      public SortedSet<IAirflowTask> getInputToAirflowTasks()
      Tasks to which this asset provides input.
      Specified by:
      getInputToAirflowTasks in interface ICatalog
      Specified by:
      getInputToAirflowTasks in interface IModel
      Specified by:
      getInputToAirflowTasks in interface IModelVersion
    • getInputToProcesses

      public SortedSet<ILineageProcess> getInputToProcesses()
      Processes to which this asset provides input.
      Specified by:
      getInputToProcesses in interface ICatalog
      Specified by:
      getInputToProcesses in interface IModel
      Specified by:
      getInputToProcesses in interface IModelVersion
    • getInputToSparkJobs

      public SortedSet<ISparkJob> getInputToSparkJobs()
      TBC
      Specified by:
      getInputToSparkJobs in interface ICatalog
      Specified by:
      getInputToSparkJobs in interface IModel
      Specified by:
      getInputToSparkJobs in interface IModelVersion
    • getModelBusinessDate

      public Long getModelBusinessDate()
      Business date for the asset.
      Specified by:
      getModelBusinessDate in interface IModel
      Specified by:
      getModelBusinessDate in interface IModelVersion
    • getModelDataModel

      public IModelDataModel getModelDataModel()
      Data model for which this version exists.
      Specified by:
      getModelDataModel in interface IModelVersion
    • getModelDomain

      public String getModelDomain()
      Model domain in which this asset exists.
      Specified by:
      getModelDomain in interface IModel
      Specified by:
      getModelDomain in interface IModelVersion
    • getModelEntityName

      public String getModelEntityName()
      Simple name of the entity in which this asset exists, or empty if it is itself a data model entity.
      Specified by:
      getModelEntityName in interface IModel
      Specified by:
      getModelEntityName in interface IModelVersion
    • getModelEntityQualifiedName

      public String getModelEntityQualifiedName()
      Unique name of the entity in which this asset exists, or empty if it is itself a data model entity.
      Specified by:
      getModelEntityQualifiedName in interface IModel
      Specified by:
      getModelEntityQualifiedName in interface IModelVersion
    • getModelExpiredAtBusinessDate

      public Long getModelExpiredAtBusinessDate()
      Business expiration date for the asset.
      Specified by:
      getModelExpiredAtBusinessDate in interface IModel
      Specified by:
      getModelExpiredAtBusinessDate in interface IModelVersion
    • getModelExpiredAtSystemDate

      public Long getModelExpiredAtSystemDate()
      System expiration date for the asset.
      Specified by:
      getModelExpiredAtSystemDate in interface IModel
      Specified by:
      getModelExpiredAtSystemDate in interface IModelVersion
    • getModelImplementedEntities

      public SortedSet<IModelEntity> getModelImplementedEntities()
      Entities implemented by this asset.
      Specified by:
      getModelImplementedEntities in interface ICatalog
      Specified by:
      getModelImplementedEntities in interface IModel
      Specified by:
      getModelImplementedEntities in interface IModelVersion
    • getModelName

      public String getModelName()
      Simple name of the model in which this asset exists, or empty if it is itself a data model.
      Specified by:
      getModelName in interface IModel
      Specified by:
      getModelName in interface IModelVersion
    • getModelNamespace

      public String getModelNamespace()
      Model namespace in which this asset exists.
      Specified by:
      getModelNamespace in interface IModel
      Specified by:
      getModelNamespace in interface IModelVersion
    • getModelQualifiedName

      public String getModelQualifiedName()
      Unique name of the model in which this asset exists, or empty if it is itself a data model.
      Specified by:
      getModelQualifiedName in interface IModel
      Specified by:
      getModelQualifiedName in interface IModelVersion
    • getModelSystemDate

      public Long getModelSystemDate()
      System date for the asset.
      Specified by:
      getModelSystemDate in interface IModel
      Specified by:
      getModelSystemDate in interface IModelVersion
    • getModelType

      public String getModelType()
      Type of the model asset (conceptual, logical, physical).
      Specified by:
      getModelType in interface IModel
      Specified by:
      getModelType in interface IModelVersion
    • getModelVersionAgnosticQualifiedName

      public String getModelVersionAgnosticQualifiedName()
      Unique name of the parent in which this asset exists, irrespective of the version (always implies the latest version).
      Specified by:
      getModelVersionAgnosticQualifiedName in interface IModel
      Specified by:
      getModelVersionAgnosticQualifiedName in interface IModelVersion
    • getModelVersionEntities

      public SortedSet<IModelEntity> getModelVersionEntities()
      Individual entities that make up this version of the data model.
      Specified by:
      getModelVersionEntities in interface IModelVersion
    • getModelVersionEntityCount

      public Long getModelVersionEntityCount()
      Number of entities in the version.
      Specified by:
      getModelVersionEntityCount in interface IModelVersion
    • getModelVersionName

      public String getModelVersionName()
      Simple name of the version in which this asset exists, or empty if it is itself a data model version.
      Specified by:
      getModelVersionName in interface IModel
      Specified by:
      getModelVersionName in interface IModelVersion
    • getModelVersionQualifiedName

      public String getModelVersionQualifiedName()
      Unique name of the version in which this asset exists, or empty if it is itself a data model version.
      Specified by:
      getModelVersionQualifiedName in interface IModel
      Specified by:
      getModelVersionQualifiedName in interface IModelVersion
    • getOutputFromAirflowTasks

      public SortedSet<IAirflowTask> getOutputFromAirflowTasks()
      Tasks from which this asset is output.
      Specified by:
      getOutputFromAirflowTasks in interface ICatalog
      Specified by:
      getOutputFromAirflowTasks in interface IModel
      Specified by:
      getOutputFromAirflowTasks in interface IModelVersion
    • getOutputFromProcesses

      public SortedSet<ILineageProcess> getOutputFromProcesses()
      Processes from which this asset is produced as output.
      Specified by:
      getOutputFromProcesses in interface ICatalog
      Specified by:
      getOutputFromProcesses in interface IModel
      Specified by:
      getOutputFromProcesses in interface IModelVersion
    • getOutputFromSparkJobs

      public SortedSet<ISparkJob> getOutputFromSparkJobs()
      TBC
      Specified by:
      getOutputFromSparkJobs in interface ICatalog
      Specified by:
      getOutputFromSparkJobs in interface IModel
      Specified by:
      getOutputFromSparkJobs in interface IModelVersion
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Asset
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class Asset
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Asset
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class Asset
    • getTypeName

      public String getTypeName()
      Fixed typeName for ModelVersions.
      Specified by:
      getTypeName in interface AuditDetail
      Specified by:
      getTypeName in interface IAsset
      Specified by:
      getTypeName in interface ICatalog
      Specified by:
      getTypeName in interface IModel
      Specified by:
      getTypeName in interface IModelVersion
      Specified by:
      getTypeName in interface IReferenceable
      Overrides:
      getTypeName in class Reference