Class AllergenLink


  • public class AllergenLink
    extends HibernateObject
    Represents the link between an Allergen and a Commodity For example, PineNuts contains the Nut Allergen.
    Author:
    SGSystems
    • Field Detail

      • allergen

        public Allergen allergen
        *Primary Key* The Allergen
      • commodity

        public Commodity commodity
        *Primary Key* The Commodity
    • Constructor Detail

      • AllergenLink

        public AllergenLink()
    • Method Detail

      • getAllergen

        public Allergen getAllergen()
      • getCommodity

        public Commodity getCommodity()
      • setAllergen

        public void setAllergen​(Allergen allergen)
      • setCommodity

        public void setCommodity​(Commodity commodity)