Class Checksum_PCM_10

    • Field Detail

      • LOGGER

        public static final Logger LOGGER
        Logger for this class.
      • CHECKSUM_PCM_10_IDENTIFIER

        public static final String CHECKSUM_PCM_10_IDENTIFIER
        Identifier for version 1.0 of the PCM checksum calculation algorithm.
        See Also:
        Constant Field Values
      • SEPARATOR

        protected static final String SEPARATOR
        Separator character for the same hierarchy level. Improves readability for humans. Technically not necessary.
        See Also:
        Constant Field Values
      • SEPARATOR_HIERARCHY_START

        protected static final String SEPARATOR_HIERARCHY_START
        Separator character for the opening a new hierarchy level. Improves readability for humans. Technically not necessary.
        See Also:
        Constant Field Values
      • SEPARATOR_HIERARCHY_END

        protected static final String SEPARATOR_HIERARCHY_END
        Separator character for closing a hierarchy level. Improves readability for humans. Technically not necessary.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Checksum_PCM_10

        public Checksum_PCM_10()
    • Method Detail

      • updateChecksumWithSignature

        protected void updateChecksumWithSignature​(Checksum checksum,
                                                   org.palladiosimulator.pcm.repository.Signature signature)
        Updates the checksum with details about the signatures.
        Parameters:
        checksum - The checksum.
        signature - The signature.
      • updateChecksumWithSignature

        protected void updateChecksumWithSignature​(Checksum checksum,
                                                   org.palladiosimulator.pcm.resourcetype.ResourceSignature signature)
        Updates the checksum with details about the signatures.
        Parameters:
        checksum - The checksum.
        signature - The signature.
      • updateChecksum

        public static void updateChecksum​(Checksum checksum,
                                          String string)
        Updates checksum with the given string.
        Parameters:
        checksum - Checksum generator and storage.
        string - String used to update the checksum.