Interface BrandedProduct<BRAND extends java.lang.Enum<BRAND> & BrandedProduct.Brand>

    • Method Detail

      • getBrand

        BRAND getBrand()
        Returns:
        The brand of the product, or null if the brand is not known.
      • isBrandVersionNumber

        boolean isBrandVersionNumber​(BRAND brand,
                                     double versionNumber)
        Determines whether this product has the indicated brand and version number.
        Parameters:
        brand - The brand to check for.
        versionNumber - The version number to check for.
        Returns:
        true if this product has the indicated brand and version number.
      • isBrandLessThanVersionNumber

        boolean isBrandLessThanVersionNumber​(BRAND brand,
                                             double versionNumber)
        Determines whether this product has the indicated brand and a version number less than the one indicated.
        Parameters:
        brand - The brand to check for.
        versionNumber - The version number to check for.
        Returns:
        true if this product has the indicated brand and a version number less than the one indicated.