Class AssetLineage

  • All Implemented Interfaces:
    Serializable

    public class AssetLineage
    extends AssetPropertyBase
    Lineage shows the origin of the connected asset. It covers:
    • Design lineage - the known data movement and data stores that can supply data to this asset.
    • Operational lineage - showing the jobs that ran to create this asset
    Currently lineage is not implemented in the ConnectedAssetProperties interface because more design work is needed. This class is therefore a placeholder for lineage information.
    See Also:
    Serialized Form
    • Constructor Detail

      • AssetLineage

        protected AssetLineage()
        Default constructor
      • AssetLineage

        public AssetLineage​(AssetDescriptor parentAsset)
        Typical constructor.
        Parameters:
        parentAsset - description of the asset that this lineage is attached to.
      • AssetLineage

        public AssetLineage​(AssetDescriptor parentAsset,
                            AssetLineage templateLineage)
        Copy/clone constructor - the parentAsset is passed separately to the template because it is also likely to be being cloned in the same operation and we want the lineage clone to point to the asset clone and not the original asset.
        Parameters:
        parentAsset - description of the asset that this lineage is attached to.
        templateLineage - lineage object to copy.
    • Method Detail

      • toString

        public String toString()
        Standard toString method.
        Overrides:
        toString in class Object
        Returns:
        print out of variables in a JSON-style