Class ConnectedAssetNotes

  • All Implemented Interfaces:
    Serializable, Iterator<AssetNote>

    public class ConnectedAssetNotes
    extends AssetNotes
    ConnectedAssetLikes provides the open metadata concrete implementation of the Open Connector Framework (OCF) AssetLikes abstract class. Its role is to query the property servers (metadata repository cohort) to extract likes related to the connected asset.
    See Also:
    Serialized Form
    • Method Detail

      • cloneElement

        protected AssetPropertyBase cloneElement​(AssetDescriptor parentAsset,
                                                 AssetPropertyBase template)
        Method implemented by a subclass that ensures the cloning process is a deep clone.
        Overrides:
        cloneElement in class AssetNotes
        Parameters:
        parentAsset - descriptor of parent asset
        template - object to clone
        Returns:
        new cloned object.
      • getCachedList

        protected List<AssetPropertyBase> getCachedList​(int cacheStartPointer,
                                                        int maximumSize)
                                                 throws PropertyServerException
        Method implemented by subclass to retrieve the next cached list of elements.
        Specified by:
        getCachedList in class AssetPropertyIteratorBase
        Parameters:
        cacheStartPointer - where to start the cache.
        maximumSize - maximum number of elements in the cache.
        Returns:
        list of elements corresponding to the supplied cache pointers.
        Throws:
        PropertyServerException - there is a problem retrieving elements from the property (metadata) server.