Interface I_CompoXrefAccess

  • All Known Implementing Classes:
    CompoXRefAccess

    public interface I_CompoXrefAccess
    Deals with composition links. For example to link an ACTION with an INSTRUCTION with or an OBSERVATION Created by christian on 9/12/2016.
    • Method Detail

      • getLinkList

        Map<UUID,​Timestamp> getLinkList​(UUID masterUid)
        Retrieves list of children matching given parent/master ID
        Parameters:
        masterUid - parent or master UUID
        Returns:
        A list of children represented as map, where each child has its system transaction time as value
      • getLastLink

        UUID getLastLink​(UUID masterUid)
        Retrieve only the latest (by system transaction time) of children matching given parent/master ID
        Parameters:
        masterUid - parent or master UUID
        Returns:
        UUID of newest child
      • setLink

        int setLink​(UUID masterUid,
                    UUID childUid)
        Insert a new link between given master and child
        Parameters:
        masterUid - parent or master UUID
        childUid - child UUID
        Returns:
        the number of inserted records